Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
- Subject: Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
- From: Seth Willits <email@hidden>
- Date: Mon, 17 May 2010 18:35:41 -0700
On May 17, 2010, at 5:48 PM, Shane wrote:
> [path moveToPoint:NSMakePoint(cellFrame.origin.x, cellFrame.size.height)];
> [path lineToPoint:NSMakePoint(cellFrame.size.width, cellFrame.size.height)];
If cellFrame = {500, 300, 120, 20}
You're drawing from {500, 20} to {120, 20}
--
Seth Willits
_______________________________________________
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