[Mono-osx] Coordinate system
kjpou
kjpou at pt.lu
Mon Nov 15 11:14:32 EST 2010
Florian
Take a look at the sample programs that have been posted lately. There
are a couple of examples of overriding the nsview's method of isFlipped.
Here is some code you can use:
public override bool IsFlipped {
get {
return true;
}
}
Hope this helps.
Kenneth
On 11/15/10 4:46 PM, Florian Heiber wrote:
> Hi Eric,
>
> Thanks for that hint. I googled it and it told me to create a subclass
> of NSView and override the -isFlipped method. So if I were using Xcode
> and Objective-C alone that wouldn't be a problem. But how do I do that
> using MonoMac?
>
> Best
> –f
>
> On 15.11.2010, at 16:37, Eric Slosser wrote:
>
>>
>> On Nov 15, 2010, at 10:30 AM, Florian Heiber wrote:
>>
>>> is there a way to flip the coordinate system when working with
>>> MonoMac? I'd like to have (0,0) in the upper left hand corner
>>> instead of the lower left hand one. Would make things way more
>>> comfortable.
>>
>> check out -(BOOL) [NSView isFlipped]
>
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101115/962d38a7/attachment.html
More information about the Mono-osx
mailing list