[cairo] cropping an SVG image
daniel.amelang at gmail.com
Sun May 6 22:22:29 PDT 2007
On 5/2/07, jan aerts (RI) <jan.aerts at bbsrc.ac.uk> wrote:
> Is it in any way possible to crop an SVG surface? I've found code in one
> of Carl's answers to do the very thing for PNGs
> but I just can't get it to work for an SVG or PDF... The trick seemed to
> be to create a smaller surface and copy the wanted part from the big
> surface onto that one.
Hi Jan, yes, that technique should work for SVG and PDF (AFAIK). Can
you share some code with us and explain how your expected results and
observed results differ?
More information about the cairo