[cairo] How to draw a Rect with red border

Dirk Schönberger dirk.schoenberger at sz-online.de
Mon Jan 23 13:16:44 PST 2006


> Thanks.
>
> But how can I control the "thickness" of the stroke?
> I can't find an example of that in the cairo snippet
> page.
>
> Sam

void        cairo_set_line_width            (cairo_t *cr,
                                             double width);

from http://www.cairographics.org/manual/cairo-cairo-t.html

Regards
Dirk



More information about the cairo mailing list