diff options
author | Ben Wagner <bungeman@google.com> | 2017-10-09 15:45:33 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-09 21:20:34 +0000 |
commit | 63fd760a37905c45d26fc3d49cac261fad1b4808 (patch) | |
tree | 279aa7293ea1773ac60230790868fe0e1fc725b0 /include/core/SkMatrix.h | |
parent | a49909aa24a370d6dff98d300d0c42ff8cd2c623 (diff) |
Remove trailing whitespace.
Also adds a presubmit to prevent adding trailing whitespace to source
code in the future.
Change-Id: I41a4df81487f6f00aa19b188f0cac6a3377efde6
Reviewed-on: https://skia-review.googlesource.com/57380
Reviewed-by: Ravi Mistry <rmistry@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'include/core/SkMatrix.h')
-rw-r--r-- | include/core/SkMatrix.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h index 2e09f4d37c..6e9f421264 100644 --- a/include/core/SkMatrix.h +++ b/include/core/SkMatrix.h @@ -569,7 +569,7 @@ public: * scale and translate elements. If it contains other elements, the results are undefined. */ void mapRectScaleTranslate(SkRect* dst, const SkRect& src) const; - + /** Return the mean radius of a circle after it has been mapped by this matrix. NOTE: in perspective this value assumes the circle has its center at the origin. @@ -721,15 +721,15 @@ public: fMat[kMScaleX] = sx; fMat[kMSkewX] = 0; fMat[kMTransX] = tx; - + fMat[kMSkewY] = 0; fMat[kMScaleY] = sy; fMat[kMTransY] = ty; - + fMat[kMPersp0] = 0; fMat[kMPersp1] = 0; fMat[kMPersp2] = 1; - + unsigned mask = 0; if (sx != 1 || sy != 1) { mask |= kScale_Mask; @@ -739,7 +739,7 @@ public: } this->setTypeMask(mask | kRectStaysRect_Mask); } - + /** * Are all elements of the matrix finite? */ |