On Dec 12, 2013, at 10:52 AM, Graham Cox 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 instea
On 12 Dec 2013, at 4:06 pm, Andy Lee wrote:
> I assume you mean dash as in NSBezierPath's setLineDash:count:phase:.
Yep, sorry if that wasn’t clear.
> Also, does the dash have just two elements (one segment and one gap), or is
> it more complex.
Well, it can be more complex, but it might no
On Dec 12, 2013, at 10:06 AM, Andy Lee wrote:
> In other words, the line length will be an exact multiple of segment length.
Correction: exact multiple of (segmentLength + gapLength).
--Andy
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pl
On Dec 12, 2013, at 10:06 AM, Andy Lee 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 o
I assume you mean dash as in NSBezierPath's setLineDash:count:phase:. Also,
does the dash have just two elements (one segment and one gap), or is it more
complex.
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
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