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_join_t (CAIRO_LINE_JOIN_TRIANGLE, CAIRO_LINE_JOIN_NONE) and one option to type cairo_line_cap_t(CAIRO_LINE_CAP_TRIANGLE) The patches for cairo.h and cairo-path-stroke.c files are attached. I hope they will be useful. Regards, Martin Horak
Created attachment 18070 [details] Line join and end caps
Screenshots? I can't guess what the new caps and join look like.
A triangle cap is shown in page 213 (fig. 22-11 (3)) and triangle join is in page 214 (fig. 22-12 (3)) of the PCL reference available at http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13211/bpl13211.pdf
Move to todo, thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.