Re: Newbie question: Scaling images
Re: Newbie question: Scaling images
- Subject: Re: Newbie question: Scaling images
- From: email@hidden
- Date: Tue, 12 Jun 2001 15:05:47 -0700
>
Is it possible to scale an image using Cocoa? I want to change the
>
actual pixel width and height, not just the display size.
You might want to try either;
NSImage.drawAtPoint:fromRect:operation:fraction:
or
NSImage.drawInRect:fromRect:operation:fraction: