aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkMatrixUtils.h
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-25 07:01:00 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-25 07:01:00 +0000
commit5c561cb8d8151d38c69128345106cbf225033a1a (patch)
tree5c58967605a279535305a3c3c4b63dd1179139dd /src/core/SkMatrixUtils.h
parentb1135a3ecd1a7c18f2421bb08dac3487bd29c4e3 (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@10340 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkMatrixUtils.h')
-rw-r--r--src/core/SkMatrixUtils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkMatrixUtils.h b/src/core/SkMatrixUtils.h
index ee952b6f58..37341f289e 100644
--- a/src/core/SkMatrixUtils.h
+++ b/src/core/SkMatrixUtils.h
@@ -40,15 +40,15 @@ static inline bool SkTreatAsSpriteFilter(const SkMatrix& matrix,
return SkTreatAsSprite(matrix, width, height, kSkSubPixelBitsForBilerp);
}
-/** Decomposes the upper-left 2x2 of the matrix into a rotation, followed by a non-uniform scale,
+/** Decomposes the upper-left 2x2 of the matrix into a rotation, followed by a non-uniform scale,
followed by another rotation. Returns true if successful.
If the scale factors are uniform, then rotation1 will be 0.
If there is a reflection, yScale will be negative.
Returns false if the matrix is degenerate.
*/
bool SkDecomposeUpper2x2(const SkMatrix& matrix,
- SkScalar* rotation0,
- SkScalar* xScale, SkScalar* yScale,
+ SkScalar* rotation0,
+ SkScalar* xScale, SkScalar* yScale,
SkScalar* rotation1);
#endif