• 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: simple cocoa drawline
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple cocoa drawline


  • Subject: Re: simple cocoa drawline
  • From: Henry McGilton <email@hidden>
  • Date: Mon, 5 Jan 2004 08:45:20 -0800

On Monday, January 5, 2004, at 08:12 AM, Nicholas Francis wrote:

Hi guys.

I got sidetracked on the 'lets make the app look like Final Cut' path (damn)

Now I'm here :-) I'm coding my own NSCells to do the drawingin pro-style, and a small question arises:

what is the simplest/fastest way to draw a 1-pixel vertical or horizontal line? Is it simply to draw a 1px wide rect with +[NSBezierPath fillRect]?


Or, you can even use:

void NSRectFill(const NSRect aRect)

as documented in the application kit Functions area.

Best Wishes,
........ Henry



===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden | http://www.trilithon.com
|
===============================+============================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >simple cocoa drawline (From: Nicholas Francis <email@hidden>)

  • Prev by Date: simple cocoa drawline
  • Next by Date: RE: Updating an NSView
  • Previous by thread: simple cocoa drawline
  • Next by thread: RE: Updating an NSView
  • Index(es):
    • Date
    • Thread