Arrows on NSBezierPaths
Arrows on NSBezierPaths
- Subject: Arrows on NSBezierPaths
- From: Alastair Houghton <email@hidden>
- Date: Sun, 8 Feb 2004 16:04:47 +0000
Hi all,
I thought I'd just let everyone know that I've just posted some code on
my site, here:
http://www.alastairs-place.net/archives/000037.html
that shows how to get nice-looking (MetaPost-like) arrowheads on
NSBezierPath objects. It also lets you measure the total length of an
NSBezierPath, and chop a certain length off an NSBezierPath (e.g. if
you wanted the first 100 pixels, it could give you that).
(The demo program isn't supposed to be an example of exemplary Cocoa
programming BTW... it's just something I hacked-up quickly to test my
arrow drawing.)
Kind regards,
Alastair.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.