[cairo] 4x4 matrices in Cairo

Bill Spitzak spitzak at gmail.com
Thu Nov 14 16:24:28 PST 2013


James Cloos wrote:

> Perspective transforms for 2D require arbitrary 3x3 matrices and [x,y,z]
> vectors

Actually the 3x3 matrix can only handle [x,y,1] vectors. The last number 
is the W, not the Z. The Z is effectively zero.

I still think Cairo only needs to support 3x3 matrix though.


More information about the cairo mailing list