How to scale NSBitmapImage?
How to scale NSBitmapImage?
- Subject: How to scale NSBitmapImage?
- From: Jay Koutavas <email@hidden>
- Date: Fri, 12 Dec 2003 14:19:10 -0500
How does one scale an NSBitmapImageRep? From what I'm seeing, doing
-setSize: on its NSImage won't cause the underlining image rep to
scale, just the rendering of the image. When I setSize on the image
and I later access the MSBitmapImageRep it's containing, the
NSBitmapImageRep is still at its original unscaled size.
Should I make a new NSBitmapImageRep at the scaled size and copy to
it? Or better yet, can I directly transform my existing NSBitImageRep
with the appropriate magic? In either case, could someone post me a
code snippit, or point me to the right location in documentation?
Thanks,
/Jay
--
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Jay Koutavas
mailto:email@hidden
Heynow Software
http://www.heynow.com
Windham, New Hampshire, USA
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
_______________________________________________
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.