Yep, overlooked that the drawRect will give me the dirty rect.  Because the 
sizing handle is diagonal to the origin (0,0),  it looked like it wasn't 
flipped.  Fix the problem by one missing multiply in a calculation.  Thanks and 
it's time to call it day!

-Tony

On Jul 12, 2010, at 4:54 PM, Kyle Sluder wrote:

> On Mon, Jul 12, 2010 at 4:41 PM, Tony Romano <tony...@hotmail.com> 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
> 

-Tony

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to