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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to