On 3 Feb 2009, at 15:05:51, glenn andreas wrote:


On Feb 3, 2009, at 8:50 AM, Benjamin Dobson wrote:

Has anyone managed this, short of creating a separate layer for the stroke? The Google machine doesn't seem to provide any answers.

Since CATextLayer uses an attributed string, why can't you just set the attributes to have the text stroked (set the NSStrokeColorAttributeName appropriately, and then use a negative value for the NSStrokeWidthAttributeName to indicate that the text should be both stroked and filled).

That is what I would expect; however, the layer does not stroke the text.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to