On Dec 12, 2013, at 10:06 AM, Andy Lee <ag...@mac.com> wrote: > Does it have to be the same exact pattern all the way around? If it's okay > to differ a teeny bit (I bet imperceptibly), you could solve the problem > separately for the horizontal edges and the vertical edges, and draw four > lines instead of one rect.
Not sure if this might come out looking wrong depending on lineCap/lineJoin styles. If so, all I can think of is to figure out *two* sets of "fudge" amounts, for the horizontal and vertical edges, and maybe apply their average to the dash pattern. I don't know if the math would work out. This is already just about as much as my brain can handle at the moment. :) --Andy _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com