cocoa drawing to core graphics context
cocoa drawing to core graphics context
- Subject: cocoa drawing to core graphics context
- From: Chris Meyer <email@hidden>
- Date: Sun, 15 Feb 2004 15:18:39 -0800
Does anyone know a fast way to draw using Cocoa into an arbitrary core
graphics context or a GWorld?
A slow way is to create a new NSImage, lock focus, draw, unlock focus,
get a TIFF representation, then use core graphics or QuickTime to
import the TIFF.
My final goal is to end up with an image suitable for use in QuickTime
(i.e. an ImageDescriptionHandle and a pointer to some data).
P.S. This message is cross-posted to quartz and cocoa lists.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.