Re: 4x4 matrices in Cairo
Behdad Esfahbod <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 13-11-14 03:27 PM, Uli Schlachter wrote: > On 13.11.2013 14:15, AD wrote: >> Hey guys, >> Is there a way to use 4x4 matrices in cairo? > > No. It's about time to implement this perhaps... > Cairo has to be able to invert the transformation that it uses and > projective transformations aren't always invertible. AFAIK / AFAIR. > >> Or alternatively a may to decompose a 4x4 matrix into several 3x3 matrices? > > Nope. I guess you will have to implement this part yourself. You could generate > the untransformed image with cairo and then apply the transformation "by hand". > >> I'm trying to distort an image as in pic attached. > [...] > > Uli > -- behdad http://behdad.org/ -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo