• 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: drawing my image in snow leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawing my image in snow leopard


  • Subject: Re: drawing my image in snow leopard
  • From: Markus Spoettl <email@hidden>
  • Date: Wed, 2 Sep 2009 14:17:56 +0200

On Sep 2, 2009, at 12:33 PM, Rick C. wrote:
i've been using NSImage drawInRect:fromRect:operation:fraction: to draw and center my .icns image in a resizable custom view for some time without issues. now in snow leopard the same code works, however when the custom view is at its minimum size the image is slightly blurry. when i resize the custom view to full size the image is fine. seems to be maybe scaling but i'm not rescaling the image the size is constant. of course the view is being resized. i just checked again in leopard and this is not an issue. i'm thinking i need to add something in my code to keep up with changes in snow leopard but i haven't yet figured out what that might be. if anyone needs some code i can post it. thank you,


The AppKit release notes state that with 10.6 the image destination coordinates are no longer rounded to integral values. Just round x and y of your destination rect and the image should appear sharp like before.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: drawing my image in snow leopard
      • From: "Rick C." <email@hidden>
References: 
 >drawing my image in snow leopard (From: "Rick C." <email@hidden>)

  • Prev by Date: Finder contextual menu plugin 10.6
  • Next by Date: Re: Finder contextual menu plugin 10.6
  • Previous by thread: drawing my image in snow leopard
  • Next by thread: Re: drawing my image in snow leopard
  • Index(es):
    • Date
    • Thread