On Wed, Oct 22, 2008 at 7:54 PM, Kenny Leung <[EMAIL PROTECTED]> wrote:
> Hi All. > > I just want to check with the populous to make sure I have not gone stupid > or insane. The documentation for [NSImage > drawAtPoint:fromRect:operation:fraction:] states: > > "The image content is drawn at its current resolution and is not scaled > unless the CTM of the current coordinate system itself contains a scaling > factor. The image is otherwise positioned and oriented using the current > coordinate system." > > From what I've seen, if you specify a fromRect: that is not the full extent > of the image, the region specified by fromRect gets **scaled to the size of > the entire image** and then drawn. > > Has anyone out there had experience with this? Yep, you're right. Please don't rely on the bug, instead use -drawInRect:fromRect:operation:fraction: if you have a partial source rect. Sorry! It isn't a new problem, but we are trying to correct it. Be sure to read the 10.6 AppKit release notes when they come out. -Ken Cocoa Frameworks > > > Thanks! > > -Kenny > > _______________________________________________ > > 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/kenferry%40gmail.com > > This email sent to [EMAIL PROTECTED] > _______________________________________________ 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]