Re: Line caps for moveto-movetp path segments(?)

Why, you ask? Under some circumstances, it will be faster to draw a set of
small circles (like a scatter plot) using move-move-move-... with round
linecaps, compared to drawing lots of small circles explicitly.
Unfortunately this is not the case in Chromium/Blink, but it might be in
the future.

Stephen.


On Fri, Jun 14, 2013 at 10:59 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Fri, Jun 14, 2013 at 4:45 PM, Paul LeBeau <paul.lebeau@gmail.com>
> wrote:
> > Hi
> >
> > Section C.5 states:
> >
> > If markers are specified, then a marker is drawn on every applicable
> vertex,
> > even if the given vertex is the end point of a zero-length path segment
> and
> > even if "moveto" commands follow each other.
> >
> >
> > But it is not really clear from the rest of the section whether linecaps
> > should be rendered when "moveto" commands follow each other.
> >
> > Is the moveto-moveto case included in the definition of a "zero-length
> > subpath"?
>
> Yes.
>
> ~TJ
>
>

Received on Friday, 14 June 2013 15:20:45 UTC