summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2023-02-20 08:27:55 +0000
committerAdrian Johnson <ajohnson@redneon.com>2023-02-20 08:27:55 +0000
commit7a8aa5eb97215810f408f0d29334c1a9abf1945a (patch)
tree4e868d185ed9d498e39ff6dbd795fda5bdd32c9c
parent83db2efe0a6109ac4fcc9fd561f8b65c52b65fb6 (diff)
parent26fe448be3e833b19fd31b2067dde98d0949e1d6 (diff)
downloadcairo-7a8aa5eb97215810f408f0d29334c1a9abf1945a.tar.gz
Merge branch 'fix-doc-for-cairo_matrix_transform_distance' into 'master'
Fix cairo_matrix_transform_distance documentation See merge request cairo/cairo!462
-rw-r--r--src/cairo-matrix.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/cairo-matrix.c b/src/cairo-matrix.c
index cb49adcbe..e8fd097ae 100644
--- a/src/cairo-matrix.c
+++ b/src/cairo-matrix.c
@@ -373,15 +373,10 @@ _cairo_matrix_multiply (cairo_matrix_t *r,
* the returned vector is as follows:
*
* <programlisting>
- * dx2 = dx1 * a + dy1 * c;
- * dy2 = dx1 * b + dy1 * d;
+ * dx_new = xx * dx + xy * dy;
+ * dy_new = yx * dx + yy * dy;
* </programlisting>
*
- * Affine transformations are position invariant, so the same vector
- * always transforms to the same vector. If (@x1,@y1) transforms
- * to (@x2,@y2) then (@x1+@dx1,@y1+@dy1) will transform to
- * (@x1+@dx2,@y1+@dy2) for all values of @x1 and @x2.
- *
* Since: 1.0
**/
void