[cairo] Fill not overlapping stroke?

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Tue Jun 1 17:50:26 PDT 2010


On Tue, 1 Jun 2010, Stuart Axon wrote:

> I suppose what I want is a way to just fill inside the stroke and not overlap it;
> or a way to pass fill and stroke at the same time.

CAIRO_OPERATOR_SOURCE and a temporary surface are your friends. :) You 
can sometimes mess about with cairo_clip() too.

http://lists.cairographics.org/archives/cairo/2010-May/019935.html

Joonas


More information about the cairo mailing list