• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Best way to draw NSBezierPath to CIImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Best way to draw NSBezierPath to CIImage
      • From: Darkshadow <email@hidden>
  • Prev by Date: Re: NSDecimalNumber and division precision
  • Next by Date: How to properly dealloc NSDictionary instance
  • Previous by thread: Re: Question about mixing NSImage and CIImage.
  • Next by thread: Re: Best way to draw NSBezierPath to CIImage
  • Index(es):
    • Date
    • Thread