Re: Offscreen drawing again ...
Re: Offscreen drawing again ...
- Subject: Re: Offscreen drawing again ...
- From: John Hörnkvist <email@hidden>
- Date: Fri, 8 Feb 2002 07:36:36 +0100
On Friday, February 8, 2002, at 07:21 AM, email@hidden wrote:
Well, you can do the same thing again: lock focus on your image, and
then make a bitmapImageRep from the focussed area.
That said, I'm a bit mystified by NSBitmapImageRep versus
NSCachedImageRep, and why they are separate classes, and how one is
intended to use NSImage to do this sort of thing (a combination of
drawing using Quartz and direct manipulation of bits). I generally
have to flail about by trial and error until I find a way that works.
The doc in this area could stand improvement too.
So is there an NSImage guru out there who could enlighten Manfred and
I as to the One True Way of NSImage?
Have you tried lockFocusOnRepresentation:?
Regards,
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com
_______________________________________________
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.