[cairo] FILL or FILL_PRESERVE

David Trallero Mena ditiem at gmail.com
Wed Mar 8 00:53:27 PST 2006


hi!

I have done (my-)round-rect function using cairo_line_to and cairo_arc.

If after calling to my round-rect function I use cairo_fill_preserve
then cairo _does not_ fill the path but with cairo_fill does!

Swaping my round-rect function by cairo_rect function, fill_preserve and
fill works as expected.

Am I missing something? am I doing something wrong?

Thanks in advance,
David

PS: Using close_path in my round-rect function does not do any change.



More information about the cairo mailing list