Re: affine transformation of bitmap images
Re: affine transformation of bitmap images
- Subject: Re: affine transformation of bitmap images
- From: "Sean McBride" <email@hidden>
- Date: Wed, 16 Feb 2005 16:38:58 -0500
- Organization: Rogue Research
On 2005-02-16 15:28, Ricky Sharp said:
>Just create an NSImage, lock focus on it, and draw. The transforms
>will be applied to the current context which will be the NSImage. At
>the end, unlock focus and then extract its representation.
Thanks Ricky,
That sounds pretty straightforward, I'll try it...
A related question: how does one create an NSImage from an
NSBitmapImageRep? Would I use [NSImage initWithSize:] then
addRepresentation:? The initWithSize docs say it wants the size as
'points', what's that?
Thanks!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden