Re: NSImage and flipping
Re: NSImage and flipping
- Subject: Re: NSImage and flipping
- From: Allan Odgaard <email@hidden>
- Date: Mon, 16 Feb 2004 09:55:14 +0100
On 14. Feb 2004, at 10:08, Bjvrn Carlstrvm wrote:
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!
> [...]
Could anybody tell me what I am missing here. And what is the solution?
You must setFlipped:NO before giving the image to drag:image:...
--
Private Mails To Allan At Top-House Dot DK
http://www.diku.dk/hjemmesider/studerende/duff/
_______________________________________________
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.