Dumb tired newbie question
Dumb tired newbie question
- Subject: Dumb tired newbie question
- From: Nicholas Shanks <email@hidden>
- Date: Thu, 7 Feb 2002 03:41:29 +0000
Perhaps it's just because I've been up for too long, but I can't get the
method to NSImage to get an image to scale down to a rect I want.
[image drawInRect:imageFrame fromRect:NSMakeRect( 0, 0, imageWidth,
imageHeight ) operation:NSCompositeSourceOver fraction:1.0];
imageWidth = imageWidth = (something bigger than 16) and imageFrame =
16x16 at 0,0
is this the wrong mthod, or the right method with the wrong arguments.
I'm sure my question will be answered somewhere in the docs but I'm too
tired to go hunting.
Nicholas Shanks
--
http://nickshanks.com/
_______________________________________________
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.