Re: text to bezier path
Re: text to bezier path
- Subject: Re: text to bezier path
- From: Charles Steinman <email@hidden>
- Date: Mon, 4 Jun 2007 13:04:07 -0700 (PDT)
It would be simpler to use the NSStrokeWidthAttributeName and NSStrokeColorAttributeName attributes of NSAttributedString.
Cheers,
Chuck
----- Original Message ----
From: Chase <email@hidden>
To: email@hidden
Sent: Monday, June 4, 2007 12:45:53 PM
Subject: text to bezier path
How do I convert an NSString into a bezier path?
I'm
trying to draw text with outline of a user-specified thickness (in
pixels). I had to do something similar in a REALbasic app once, and
the effect was achieved by drawing once with a stroke thickness twice
that of the user-specified "text outline thickness" and then drawing
the original text again, directly over the top (with no outline this
time).
If there is some other more straight-forward way of doing
this, i'm all ears... otherwise, just knowing how to get the NSString
converted to a bezier path would be great.
Thanks.
- Chase
_______________________________________________
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
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