• 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
Re: NSImage and flipping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSImage and flipping
      • From: "Louis C. Sacha" <email@hidden>
    • Re: NSImage and flipping
      • From: Björn Carlström <email@hidden>
References: 
 >NSImage and flipping (From: Björn Carlström <email@hidden>)

  • Prev by Date: NSTableView/NSPopUpButtonCell Mysteries
  • Next by Date: Re: How do I soft-wrap text at a specific line length?
  • Previous by thread: Re: NSImage and flipping
  • Next by thread: Re: NSImage and flipping
  • Index(es):
    • Date
    • Thread