Re: NSImage representations
Re: NSImage representations
- Subject: Re: NSImage representations
- From: Dorian Johnson <email@hidden>
- Date: Mon, 9 Jul 2007 00:20:06 -0500
I think you'll have to do the drawing method I mentioned (lock focus
onto the NSBitmapImageRep via NSGraphicsContext) because I don't
think NSImage will immediately update its internal bitmap store if
you set the size (someone please correct me if I'm wrong - I haven't
tested that).
Dorian
On Jul 8, 2007, at 11:45 PM, Jeremy Rotsztain wrote:
I've got it working now, but have noticed some inconsistencies when
my source image is scaled. For example, only half of the image will
be 'quantized'.
Is this because the resolution of the NSBitmapImageRep that I've
created is based resolution of the source image's representation
and not it's scaled one?
_______________________________________________
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