On Oct 23, 2008, at 9:11 PM, Ken Ferry wrote:
On Thu, Oct 23, 2008 at 6:20 PM, Randall Meadows <[EMAIL PROTECTED]
pc.com> wrote:
I *thought* the trick to doing this was to use clearColor, so I do
this right after I create the NSImage and lock focus on it:
[Boneheaded mistake pointed out in a previous message...]
Last, you might be interested in -[NSView
cacheDisplayInRect:toBitmapImageRep:] as an alternate way of
accomplishing the end goal. Take a gander at the 10.4 AppKit release
notes, that have an explanatory section on this method. Search for
"NSView Drawing Redirection API" at <http://developer.apple.com/releasenotes/Cocoa/AppKitOlderNotes.html
>.
That looks perfect, thank you!
_______________________________________________
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 [EMAIL PROTECTED]