Re: NSResizableWindowMask and view update
Re: NSResizableWindowMask and view update
- Subject: Re: NSResizableWindowMask and view update
- From: Kyle Sluder <email@hidden>
- Date: Mon, 12 Jul 2010 16:54:54 -0700
On Mon, Jul 12, 2010 at 4:41 PM, Tony Romano <email@hidden> wrote:
> During the setStyleMask, the view is sent a drawRect message which is expected. But the values in the rect are not flipped and are not the view bounds.
So? The rect argument to -drawRect: is not the size of your view. It
is a rectangle that includes all the regions of the view that need to
be drawn.
--Kyle Sluder
_______________________________________________
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