[cairo] Stroke and Fill

Jose O Gonzalez jose_ogp at juno.com
Tue Aug 31 20:02:21 PDT 2004


	Perhaps someone on this list can help me with a question
regarding Cairo's path stroke/fill semantics.

	For visual reasons, it's often desirable to stroke a path with
some color and fill it with another.
	If one uses colors with some transparency, or some
compositing operation such as "add" say, one may want to do this
so that there's no overdrawing of the stroking and filling -- ie. one
may want to do this without overlapping the stroke and fill regions.

	Does Cairo's path rendering semantics have support
for this?  eg. if the context has stroke line-width set to a value > 0,
will filling of the interior occur complementary to the corresponding
stroke region?




More information about the cairo mailing list