[cairo-commit] [cairo-www] src/matrix_transform src/matrix_transform.mdwn
Bryce Harrington
bryce at freedesktop.org
Thu Oct 15 16:07:27 PDT 2015
src/matrix_transform.mdwn | 2 +-
src/matrix_transform/matrix_multiplication.gif |binary
2 files changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0d57a3aeb51308cf3de138d2205dbc1dfcdfe386
Author: Lawrence D'Oliveiro <ldo at geek-central.gen.nz>
Date: Fri Oct 2 18:26:50 2015 +1300
PATCH cairo-www: Bring External Image Into Wiki
Here is a resubmission that gets rid of that external image altogether,
and substitutes my GIF animation. I can tweak the format of the GIF
image as necessary (is it too wide?).
I generated it from a Python script using Qahirah.
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
diff --git a/src/matrix_transform.mdwn b/src/matrix_transform.mdwn
index 60f6396..93acde1 100644
--- a/src/matrix_transform.mdwn
+++ b/src/matrix_transform.mdwn
@@ -25,7 +25,7 @@ To apply more than one transformation you can multiply matrix. 'Unfortunately' m
It's easy to figure out that for matrix multiplication *A\*B is not always the same as B\*A*.
The rule of matrix multiplication is illustrated with a picture here:
-<img src="http://www.gnome.ru/devel_notes/matrix_multiplication.png" width="911" height="117" border="0" alt="Matrix multiplication rule">
+[[!img "matrix_multiplication.gif" width="911" height="117" link="no"]]
In a cairo.matrix(1,2,3,4,5,6), 1 is a11, 2 is a21, 3 is a12, 4 is a22, 5 is a13 and 6 is a23.
a31 and a32 are 0, a33 is 1.
diff --git a/src/matrix_transform/matrix_multiplication.gif b/src/matrix_transform/matrix_multiplication.gif
new file mode 100644
index 0000000..066c7ae
Binary files /dev/null and b/src/matrix_transform/matrix_multiplication.gif differ
More information about the cairo-commit
mailing list