[cairo] resize image surface

Kalle Vahlman kalle.vahlman at gmail.com
Sat Sep 29 10:37:47 PDT 2012

2012/9/29 chris nuernberger <cnuernber at gmail.com>:
> I was wondering if there was a way to force cairo to treat a surface as if
> it had a smaller width than it was originally allocated with instead when
> cairo is rendering?  This would solve the problem.

Sounds like you are looking for subsurfaces:


(can't help you with using them though, haven't done anything with them myself)

Kalle Vahlman, zuh at iki.fi
Powered by http://movial.com
Interesting stuff at http://sandbox.movial.com

More information about the cairo mailing list