[cairo] Saving a cairo surface to a file
Federico Mena Quintero
federico at ximian.com
Wed Jan 25 15:07:55 PST 2006
On Wed, 2006-01-25 at 16:32 -0600, Meryl Silverburgh wrote:
> > Are you sure you are drawing within the surface's bounds?
> How can I find out the surface's bounds?
> And how can I find out if I am drawing within the surface's bounds?
If you create a 500x500 surface and you draw a line at (10000, 10000),
it's not going to show up ;)
Make sure your transformation matrix makes sense. Or if you didn't
change it from the default, make sure your coordinates are sane.
More information about the cairo