Skip to content

Added hairline support to cairo

Rick Yorgason requested to merge Skrapion/cairo:HairlineStroke into master

Added cairo_set_hairline function to represent zero-width lines which draw at the minimum device resolution.

Any device which accepts 0 as a hairline width (eg ps and pdf) and any device which relies on _cairo_compositor_stroke should work fine. Tested surfaces: ps, pdf, image, recording, script, xcb, xlib, win32, and win32-printing.

Edited by Rick Yorgason

Merge request reports