W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] Canvas line styles comments

From: Philip Taylor <excors+whatwg@gmail.com>
Date: Sat, 2 Feb 2008 21:25:20 +0000
Message-ID: <ea09c0d10802021325g7da1f142tb5a90fdb01948bfd@mail.gmail.com>
On 02/02/2008, Kristof Zelechovski <giecrilj at stegny.2a.pl> wrote:
> The rounding arc should be chosen
> so that it is not contained in the convex hull of the stroke path segments
> terminated at the points where the arc begins.

I believe I can see the idea there, but I can't quite tell what that
phrase means about terminating. The "contained within" also seems
inaccurate, because e.g.
lineWidth=100;moveTo(0,0);lineTo(1,0);lineTo(1,1) would result in a
convex hull that doesn't contain either arc, though I think it'd be
alright if said "does not intersect" instead.

A possible alternative that seems simpler and (I think) correct
(except in the special parallel case): The rounding arc should be
chosen so that if it was closed, it would not contain the join point.

-- 
Philip Taylor
excors at gmail.com
Received on Saturday, 2 February 2008 13:25:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:39 UTC