[cairo] how do you draw an outline of a circle/ellipse

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Thu Nov 12 14:41:11 PST 2015


On Wed, 11 Nov 2015 01:32:23 -0700, Mark Olesen wrote:

> If I get rid of scale, and put in a value for radius, such as 10, it
> will draw the outline. However, I will need cairo_scale to create an
> ellipse.

Apply the scale while constructing the path, then take it off before
stroking.



More information about the cairo mailing list