Best way to draw NSBezierPath to CIImage
Best way to draw NSBezierPath to CIImage
- Subject: Best way to draw NSBezierPath to CIImage
- From: Nik Youdale <email@hidden>
- Date: Sun, 22 Jul 2007 00:26:00 +1000
Hey there,
What is the best way to draw an NSBezierPath (or anything else from
cocoa drawing - will settle for core graphics if necessary) to a
CIImage?
I have tried making a CGLayer and with a NSBitmapImageRep based
context, and then drawing to that.. creating a CIImage from that and
compositing that on top of my target CIImage via one of the
compositing CIFilters...
This all seems a bit longwinded, and is very very slow. The
bezierpath changes shape a lot too.
Any help would be very much appreciated
Cheers
Nik
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden