Re: Triangular Line Caps Patch

Tavmjong Bah <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Thu, 2016-03-10 at 18:57 +1030, Adrian Johnson wrote:
> On 10/03/16 12:52, Lucian Hodor wrote:
> > 
> > @@ -2105,6 +2106,9 @@ _cairo_svg_surface_emit_stroke_style
> > (cairo_output_stream_t	   *output,
> >  	case CAIRO_LINE_CAP_SQUARE:
> >  	    line_cap = "square";
> >  	    break;
> > +        case CAIRO_LINE_CAP_TRIANGULAR:
> > +	    line_cap = "triangular";
> > +	    break;
> >  	default:
> >  	    ASSERT_NOT_REACHED;
> I could not find triangular line caps in the SVG specification and it
> does not work with the SVG viewers I tried (inkscape, firefox,
> rsvg-view). Is this a new feature planned for SVG? Do you have a link
> to it?

It is not part of the SVG specification nor have we discussed adding
it. (We have added two new line joins: 'miter-clip' and 'arcs'.)

Triangle line caps are included in other standards (e.g. PCL, HPGL, and
various Microsoft products).

Tav




-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.