Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage size in a NSImageView



Hi,
I would like to get the shrinked rect (origin and size) of an NSImage shown
within an NSImageView, just as it is shown in the view.
The NSImageView frame in facts is smaller than the NSImage real size, so the
image is being shown shrinked.

Do you know how to get this rect, and this shrinked image data, as I see on
the screen?



Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.