[cairo] How to get 1px line width SVGSurface>ImageSurface ?
stuaxo2 at yahoo.com
Tue May 11 13:28:29 PDT 2010
> From: Stuart Axon <stuaxo2 at yahoo.com>
> To: cairo at cairographics.org
> Sent: Tue, May 11, 2010 9:19:13 PM
> Subject: How to get 1px line width SVGSurface>ImageSurface ?
> Is there any way to setup an SVGSurface so that when I have a line width of 1,
> this will be 1 pixel when I draw it do an ImageSurface?
At the moment,
> the value 1 seems to make a really massive border.
Dividing by arbitrary
> numbers helps, but I'm not sure the numbers are right :)
Doh, pretty sure this was a bug in my code... borders aren't massive any more.
Sorry for the noise :)
More information about the cairo