mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 21:08:10 +02:00
Fix cairo_matrix_transform_distance documentation
* Use dx and dy instead of dx1 and dy1 to match with the arguments * Use dx_new and dy_new instead of dx2 and dy2 to match with other parts of the documentation * Use xx, yx, xy, yy instead of a, b, c, d to match with other parts of the documentation * Remove the last two sentences that doesn't make sense
This commit is contained in:
parent
d7b9695ee4
commit
26fe448be3
1 changed files with 2 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue