problem with [NSImage drawAtPoint:fromRect:operation:fraction:]
problem with [NSImage drawAtPoint:fromRect:operation:fraction:]
- Subject: problem with [NSImage drawAtPoint:fromRect:operation:fraction:]
- From: Kenny Leung <email@hidden>
- Date: Wed, 22 Oct 2008 19:54:37 -0700
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?
Thanks!
-Kenny
_______________________________________________
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