Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
- Subject: Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 18 Nov 2011 10:45:21 -0800
On Fri, Nov 18, 2011 at 8:50 AM, vincent habchi <email@hidden> wrote:
> Kyle,
>
>> Re-read the "NSImage: deprecating -[NSImage setFlipped:], adding a
>> drawing method that respects context flippedness" section of the 10.6
>> AppKit release notes to make sure you're correctly using the "flipped"
>> property and the respectFlipped: argument to -drawInRect:::::: :
>
> I’ve tried respectFlipped:YES or NO, it does not change anything. Besides, NSImageBitmapRep has no ‘flipped’ property, because it does not inherit from NSImage, but from NSImageRep!
Yes, that would indeed be true. I just assumed you were adding the
image rep to an NSImage and using -[NSImage drawInRect::::::].
--Kyle Sluder
_______________________________________________
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