Re: resize image surface
Kalle Vahlman <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAOPOHQPx6op5y6QRk8EkvZr8tqx+J7d27eWv0TnoPZXEuM9XqA@mail.gmail.com> |
2012/9/29 chris nuernberger <[email protected]>: > 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: http://cairographics.org/manual/cairo-cairo-surface-t.html#cairo-surface-create-for-rectangle (can't help you with using them though, haven't done anything with them myself) -- Kalle Vahlman, [email protected] Powered by http://movial.com Interesting stuff at http://sandbox.movial.com -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo