[cairo] plotting a donut in cairo
spitzak at thefoundry.co.uk
Wed Nov 19 02:47:59 PST 2008
Draw the inside circle in the opposite direction.
Charles سمير Doutriaux wrote:
> I'm having a problem on cairo plotting a "Donut".
> The way i'm rendering it on my X surface is that basicaly rawing the
> outside circle and then going inside and drawing the inside circle,
> Then I fill this.
> On my X it works great (but i think this section is still using xgks
> not cairo)
> ON cairo output, the whole thing is filled (png and postscript at least)
> I was wondering what the best way would be to fx this? Leave a tiny
> little space between the first and ast ponit of the outter circle?
> Any suggestion welcome.
> I can send some sample code to if you want.
> cairo mailing list
> cairo at cairographics.org
Bill Spitzak, Senior Software Engineer
The Foundry, 1 Wardour Street, London, W1D 6PA, UK
Tel: +44 (0)20 7434 0449 * Fax: +44 (0)20 7434 1550 * Web:
The Foundry Visionmongers Ltd * Registered in England and Wales No: 4642027
More information about the cairo