• 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
Stroke text along with a Bezierpath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stroke text along with a Bezierpath


  • Subject: Stroke text along with a Bezierpath
  • From: "saj c" <email@hidden>
  • Date: Sat, 19 May 2007 17:29:40 +0530

HAi,

i need to stroke text along with a NSBezierpath. (like the application lineform)

_element = [_pathToDraw elementAtIndex:i associatedPoints:pts];
_pnt.x = pts->x;
_pnt.y = pts->y;
[_path moveToPoint:_pnt];
[_path appendBezierPathWithGlyph:glyph inFont:_font];

I tried this code (where _pathToDraw is a path already drawn by me)
ie got all the elements form _pathToDraw and build a new path with glyph.

But i think we can't trust Bezierpath elements Bcoz its not a uniform
distance between two elemets.


Please give a way to do this. Saj _______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: Place text at top of a bezierpath
  • Next by Date: Re: Place text at top of a bezierpath
  • Previous by thread: Re: Place text at top of a bezierpath
  • Next by thread: NSDate binding to datepicker
  • Index(es):
    • Date
    • Thread