[cairo] Contribution to line join and end caps

Travis Griggs tgriggs at cincom.com
Sun Aug 3 10:55:46 PDT 2008


On Aug 1, 2008, at 1:55 PM, Martin Horák wrote:

> Hello,
>
> I am working on a project which uses the cairo library for primary  
> graphics rendering.
> Because I quickly needed a special (not currently available in the  
> version 1.6.4) join and end
> caps for lines, I implemented them myself. I added new two options  
> to type cairo_line_cap_t
> (CAIRO_LINE_JOIN_TRIANGLE, CAIRO_LINE_JOIN_NONE) and one option to  
> cairo_line_join_t
> (CAIRO_LINE_CAP_TRIANGLE)
> The patch for cairo.h and cairo-path-stroke.c files is attached - I  
> hope it will be useful.

I'm curious what they actually look like in the end? (did i just make  
a pun?) I think I get what CAP_TRIANGLE will look like, but what do  
JOIN_TRIANGLE and JOIN_NONE appear as? Is there a screenshot anywhere?

--
Travis Griggs
Objologist
What's next, Intel Processors branded with "Apple Outside" stickers?




More information about the cairo mailing list