Stroke text along with a Bezierpath
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