• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: affine transformation of bitmap images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: affine transformation of bitmap images
      • From: Ricky Sharp <email@hidden>
References: 
 >Re: affine transformation of bitmap images (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: affine transformation of bitmap images
  • Next by Date: RE: Sorting
  • Previous by thread: Re: affine transformation of bitmap images
  • Next by thread: Re: affine transformation of bitmap images
  • Index(es):
    • Date
    • Thread