• 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
Arrows on NSBezierPaths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Arrows on NSBezierPaths
      • From: Hiro Fujimoto <email@hidden>
  • Prev by Date: Bindings using other collections?
  • Next by Date: Getting HTTP response headers and status code
  • Previous by thread: Re: Bindings using other collections?
  • Next by thread: Re: Arrows on NSBezierPaths
  • Index(es):
    • Date
    • Thread