Drawing outside of drawRect for NSView..
Drawing outside of drawRect for NSView..
- Subject: Drawing outside of drawRect for NSView..
- From: "Carter R. Harrison" <email@hidden>
- Date: Sun, 15 Oct 2006 09:35:32 -0400
Is it possible to draw to a view outside of drawRect? For instance,
what if I wanted to draw an NSRect when the mouseDown event is
fired? Is this kind of thing bad practice? I've been trying to draw
an NSRect to my view during the mouseDown event, but for reasons
unknown to me the NSRect is being applied to the window and its
coordinate system rather than my view's (and yes I used
convertPoint:toView:). Thanks in advance.
----------------------------------
Carter R. Harrison
email@hidden
----------------------------------
_______________________________________________
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