diff options
-rw-r--r-- | docs/SkMatrix_Reference.bmh | 6 | ||||
-rw-r--r-- | site/user/api/SkMatrix_Reference.md | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/SkMatrix_Reference.bmh b/docs/SkMatrix_Reference.bmh index f91e0096b4..e0d3987d17 100644 --- a/docs/SkMatrix_Reference.bmh +++ b/docs/SkMatrix_Reference.bmh @@ -196,9 +196,9 @@ Sets Matrix to translate by (dx, dy). Returned matrix is: #Code #Literal -| 1 0 0 | -| 0 1 0 | -| dx dy 1 | +| 1 0 dx | +| 0 1 dy | +| 0 0 1 | ## #Param dx horizontal translation ## diff --git a/site/user/api/SkMatrix_Reference.md b/site/user/api/SkMatrix_Reference.md index 46cca59545..2fd97b0976 100644 --- a/site/user/api/SkMatrix_Reference.md +++ b/site/user/api/SkMatrix_Reference.md @@ -200,9 +200,9 @@ static SkMatrix SK_WARN_UNUSED_RESULT MakeTrans(SkScalar dx, SkScalar dy) Sets <a href="#Matrix">Matrix</a> to translate by (<a href="#SkMatrix_MakeTrans_dx">dx</a>, <a href="#SkMatrix_MakeTrans_dy">dy</a>). Returned matrix is: <pre style="padding: 1em 1em 1em 1em;width: 50em; background-color: #f0f0f0"> -| 1 0 0 | -| 0 1 0 | -| dx dy 1 |</pre> +| 1 0 dx | +| 0 1 dy | +| 0 0 1 |</pre> ### Parameters |