Re: simple cocoa drawline
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.