• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
      • From: Shane <email@hidden>
References: 
 >drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView: (From: Shane <email@hidden>)
 >Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView: (From: Seth Willits <email@hidden>)
 >Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView: (From: Shane <email@hidden>)

  • Prev by Date: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Next by Date: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Previous by thread: Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
  • Next by thread: Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
  • Index(es):
    • Date
    • Thread