Re: Rectangle Border Widths
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <1334069638_347359@CP5-2952> |
On Tue, 10 Apr 2012 10:40:23 -0400 (EDT), [email protected] wrote: > Is it possible to render rectangles whose vertical lines are different in width from the horizontal lines? cairo_rectangle(cr, x, y, width, height); cairo_save(cr); cairo_scale(cr, stroke_width, stroke_height); cairo_set_line_width(cr, 1); cairo_stroke(cr); cairo_restore(cr); Have fun with Cairo! -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo