Re: NSImage and flipping
Re: NSImage and flipping
- Subject: Re: NSImage and flipping
- From: Björn Carlström <email@hidden>
- Date: Mon, 16 Feb 2004 23:34:08 +0100
YES!
Thank you! The beuaty of a simple solution. One little line of code
made my day.
Thank you Allan.
(And you too Louis)
2004-02-16 kl. 09.55 skrev Allan Odgaard:
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.
_______________________________________________
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.