[cairo] shear
Behdad Esfahbod
behdad at cs.toronto.edu
Tue Dec 6 07:46:04 PST 2005
On Tue, 6 Dec 2005, Kevin Brooks wrote:
> Hello,
>
> I can't find "cairo_shear(x, y)". Can anyone show me
> how to get the shear function?
I don't know what x and y mean in your example, but shear is a
simple affine transformation of the form:
cairo_matrix_t shear_matrix = {1, 0, slope, 1, 0, 0};
behdad
> Regards,
>
> Kev
--behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
More information about the cairo
mailing list