• 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: How to stop NSImage from resizing while calling 'drawInRect' ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to stop NSImage from resizing while calling 'drawInRect' ?


  • Subject: Re: How to stop NSImage from resizing while calling 'drawInRect' ?
  • From: Dave Keck <email@hidden>
  • Date: Sun, 6 Sep 2009 05:15:25 -1000

I'm not clear on which method is giving you issues, -drawInRect: or
-drawAtPoint:? If it's -drawAtPoint: then it sounds like you may be
hitting a bug in the frameworks on Leopard:
http://developer.apple.com/mac/library/releasenotes/Cocoa/AppKit.html,
search for "NSImage: Breaking change to drawAtPoint:"

If the issue you're having is with -drawInRect:, then you need to make
sure your source and destination rectangles are the same size, to
prevent scaling.
_______________________________________________

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

  • Follow-Ups:
    • Re: How to stop NSImage from resizing while calling 'drawInRect' ?
      • From: DairyKnight <email@hidden>
References: 
 >How to stop NSImage from resizing while calling 'drawInRect' ? (From: DairyKnight <email@hidden>)

  • Prev by Date: Re: NSMenuItem font size of the keyboard shortcut text
  • Next by Date: Re: Should we release a CGImage created from NSBitmapImageRep ?
  • Previous by thread: How to stop NSImage from resizing while calling 'drawInRect' ?
  • Next by thread: Re: How to stop NSImage from resizing while calling 'drawInRect' ?
  • Index(es):
    • Date
    • Thread