Re: Changing resolution
Lawrence D'Oliveiro <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Mon, 25 Apr 2016 13:49:23 +0000 (UTC), Michele Cleary wrote: > Does anyone know how to use cairo to force an x and y page > resolution? Assuming by “resolution” you mean “pixel density” rather than “image dimensions”, this only matters for image surfaces, since other surface types like SVG, PDF and PostScript are resolution-independent. Cairo doesn’t have any way that I can think of to specify the pixel density for an image surface. That would be up to the separate library you use to write those pixels to an appropriate image-file format. -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo