Re: NSGraphicsContext flipped
Re: NSGraphicsContext flipped
- Subject: Re: NSGraphicsContext flipped
- From: "Daniel T. Staal" <email@hidden>
- Date: Thu, 23 Aug 2007 11:29:28 -0400 (EDT)
- Importance: Normal
On Thu, August 23, 2007 11:21 am, Alexander Cohen said:
> Is it possible to know if a graphics context is flipped or not
> without knowledge of where the context comes from?
>
> thanks
The isFlipped method should work...
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSGraphicsContext_Class/Reference/Reference.html#//apple_ref/occ/instm/NSGraphicsContext/isFlipped
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden