[cairo] Triangular Line Caps Patch

Adrian Johnson ajohnson at redneon.com
Thu Mar 10 08:27:40 UTC 2016


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?



More information about the cairo mailing list