Re: override drawRect
Re: override drawRect
- Subject: Re: override drawRect
- From: Wade Tregaskis <email@hidden>
- Date: Fri, 19 Nov 2004 20:00:13 +1100
Is it possible to override an NSView's ( or any of its subclasses)
"drawRect:" method so that i can flip the coordinate system before its
called? I want the graphicsContext to have a coordinate system much
like that of a QuickDraw CGrafPtr.
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSView.html#//apple_ref/doc/uid/
20000014/BBCDECEF>
That's assuming you're working in your own NSView subclass. If not,
well, things get trickier... :)
Wade Tregaskis (AIM, Yahoo & Skype: wadetregaskis, ICQ: 40056898, MSN &
email: email@hidden, Jabber:
email@hidden)
-- Sed quis custodiet ipsos custodes?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden