Neatly fitting a dash to a rect
Neatly fitting a dash to a rect
- Subject: Neatly fitting a dash to a rect
- From: Graham Cox <email@hidden>
- Date: Thu, 12 Dec 2013 13:54:58 +0100
Does anyone have code or at least an outline of how to adjust a dash so that it fits exactly to the corners of a rectangle?
The dash itself is supplied, but may be minimally adjusted in both phase and length of any of its elements to fit, such that the rect corners lie exactly in the centre of a solid part of the dash. It only needs to work for rects.
—Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden