Re: NSImage inside(?) NSBezierPath
Re: NSImage inside(?) NSBezierPath
- Subject: Re: NSImage inside(?) NSBezierPath
- From: Uli Kusterer <email@hidden>
- Date: Fri, 14 Sep 2007 21:24:17 +0200
On 13.09.2007, at 23:59, Alan Smith wrote:
Passing NSZeroRect as the "fromRect" argument tells NSImage
that you want to draw the whole image, this prevents you from call -
[NSImage size] and making your own rect that is the same size as the
image.
Ooooo... neat! I never saw this in the docs. That'll save me a lot
of annoying typing in the future :-)
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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