• 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: NSView adjustScale: View is scaled but the image remains the same.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView adjustScale: View is scaled but the image remains the same.


  • Subject: Re: NSView adjustScale: View is scaled but the image remains the same.
  • From: "John C. Randolph" <email@hidden>
  • Date: Thu, 30 Mar 2006 15:48:57 -0800


On Mar 30, 2006, at 11:52 AM, Frederick C. Lee wrote:

Question: How do I scale the actual image within NSView?

Use one of the -draw... methods. They perform the rotation and scaling per the current coordinate system. -compositeToPoint: is a fast path that doesn't bother with coordinate transformations.


-jcr


John C. Randolph <email@hidden> (408) 914-0013 Roaming Cocoa Engineer, Available for your projects at great Expense and Inconvenience.



_______________________________________________
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


References: 
 >NSView adjustScale: View is scaled but the image remains the same. (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: Working with Unicode
  • Next by Date: NSUndoManager across multiple nibs
  • Previous by thread: NSView adjustScale: View is scaled but the image remains the same.
  • Next by thread: Cocoa Endians for Mac-Intel
  • Index(es):
    • Date
    • Thread