Re: Drawing from lower left, why?
Re: Drawing from lower left, why?
- Subject: Re: Drawing from lower left, why?
- From: Michael Watson <email@hidden>
- Date: Mon, 18 Jun 2007 10:39:55 -0400
I don't see why it wouldn't. The graphics state is saved and a new
one gets pushed onto the stack by the time a view's -drawRect: method
gets called. After -drawRect: returns, the graphics state is restored.
--
m-s
On 17 Jun, 2007, at 15:05, Ken Tozier wrote:
The save and restore graphics state is unneeded in the above.
The drawCells method uses transforms to scale page icons and I just
wanted to make sure that, upon exit, drawRect restored everything.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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