Hello, i'm a student who still learning how to program with Cocoa API, i have a little problem for what is the best way to displaying an image into NSView between CGImage, CIImage or NSImage, and what's the different?

I have use the CGImage with this code, but there's an error when i execute it,

        CGContextDrawImage(context, imageRect, drawnImage);

which one is the best one to draw an image directly into NSView?

- sorry for my bad english, and thanks -
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to