Re: How to stop NSImage from resizing while calling 'drawInRect' ?
Re: How to stop NSImage from resizing while calling 'drawInRect' ?
- Subject: Re: How to stop NSImage from resizing while calling 'drawInRect' ?
- From: Dave Keck <email@hidden>
- Date: Sun, 6 Sep 2009 05:15:25 -1000
I'm not clear on which method is giving you issues, -drawInRect: or
-drawAtPoint:? If it's -drawAtPoint: then it sounds like you may be
hitting a bug in the frameworks on Leopard:
http://developer.apple.com/mac/library/releasenotes/Cocoa/AppKit.html,
search for "NSImage: Breaking change to drawAtPoint:"
If the issue you're having is with -drawInRect:, then you need to make
sure your source and destination rectangles are the same size, to
prevent scaling.
_______________________________________________
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