NSImage and flipping
NSImage and flipping
- Subject: NSImage and flipping
- From: Björn Carlström <email@hidden>
- Date: Sat, 14 Feb 2004 10:08:30 +0100
I am trying to implement dragging from a custom view. The view is
flipped to make text-rendering work correctly. To drag a piece of
graphic from the view I create a NSImage. To get it to render the text
correctly I use SetFlipped:YES. Or so I thought... The image comes out
upside down!
Changing isFlipped in a NSView changes the order of the lines of the
text rendered.
Changing isFlipped in a NSImage turns the image upside down.
Why the difference in behaviour?
Could anybody tell me what I am missing here. And what is the solution?
regards
Bjvrn Carlstrvm
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.