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

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


  • Subject: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
  • From: Vincent Habchi <email@hidden>
  • Date: Fri, 18 Nov 2011 14:54:02 +0100

Hi there,

I’m trying to draw a flipped NSImageBitmapRep object (data comes out of an OpenGL depth buffer) in a NSView. I thought I could set up an appropriate affine transform (x’ = x, y’ = height - y), embed it in a dictionary and put that in the hints parameter of a  -drawInRect:fromRect:…hints: to ask Cocoa to apply the transform before displaying the image. However, the call seems to ignore completely my transform (whatever I set it to). Is there anything escaping from my understanding, or is this expected behavior?

Thanks a lot,
Vincent_______________________________________________

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>
  • Prev by Date: Re: Text to speech
  • Next by Date: Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
  • Previous by thread: Re: Text to speech
  • Next by thread: Re: Does NSImageBitmapRep -drawInRect:fromRect:…hints: takes hints into account?
  • Index(es):
    • Date
    • Thread