• 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: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?


  • Subject: Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 18 Nov 2011 10:45:21 -0800

On Fri, Nov 18, 2011 at 8:50 AM, vincent habchi <email@hidden> wrote:
> Kyle,
>
>> Re-read the "NSImage: deprecating -[NSImage setFlipped:], adding a
>> drawing method that respects context flippedness" section of the 10.6
>> AppKit release notes to make sure you're correctly using the "flipped"
>> property and the respectFlipped: argument to -drawInRect:::::: :
>
> I’ve tried respectFlipped:YES or NO, it does not change anything. Besides, NSImageBitmapRep has no ‘flipped’ property, because it does not inherit from NSImage, but from NSImageRep!

Yes, that would indeed be true. I just assumed you were adding the
image rep to an NSImage and using -[NSImage drawInRect::::::].

--Kyle Sluder
_______________________________________________

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: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
      • From: vincent habchi <email@hidden>
References: 
 >Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account? (From: Vincent Habchi <email@hidden>)
 >Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account? (From: Vincent Habchi <email@hidden>)
 >Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account? (From: Kyle Sluder <email@hidden>)
 >Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account? (From: vincent habchi <email@hidden>)

  • Prev by Date: Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
  • Next by Date: Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
  • Previous by thread: Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
  • Next by thread: Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
  • Index(es):
    • Date
    • Thread