diff options
author | 2012-12-04 02:01:25 +0000 | |
---|---|---|
committer | 2012-12-04 02:01:25 +0000 | |
commit | e659c2e820de0b8d12d81247ed4430022ded0a90 (patch) | |
tree | ba9373b0f5e094c78cee6deb3faa72cdcd3e68f4 /include | |
parent | b8b8ba01f0d52d598e88798f7f90ed3bcc648e23 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6660 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/SkMatrix44.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/utils/SkMatrix44.h b/include/utils/SkMatrix44.h index 79bc700d14..f63f0df495 100644 --- a/include/utils/SkMatrix44.h +++ b/include/utils/SkMatrix44.h @@ -37,7 +37,7 @@ #endif typedef float SkMScalar; typedef int32_t SkMIntScalar; - + static inline float SkFloatToMScalar(float x) { return x; } @@ -134,7 +134,7 @@ public: kAffine_Mask = 0x04, //!< set if the matrix skews or rotates kPerspective_Mask = 0x08 //!< set if the matrix is in perspective }; - + /** * Returns a bitfield describing the transformations the matrix may * perform. The bitfield is computed conservatively, so it may include @@ -153,7 +153,7 @@ public: inline bool isIdentity() const { return 0 == this->getType(); } - + void setIdentity(); inline void reset() { this->setIdentity();} @@ -319,7 +319,7 @@ private: // we are always packed with no extra bits, allowing us to call memcpy // without fear of copying uninitialized bits. mutable SkMIntScalar fTypeMask; - + enum { kUnknown_Mask = 0x80, @@ -333,7 +333,7 @@ private: SkMScalar scaleX() const { return fMat[0][0]; } SkMScalar scaleY() const { return fMat[1][1]; } SkMScalar scaleZ() const { return fMat[2][2]; } - + SkMScalar perspX() const { return fMat[0][3]; } SkMScalar perspY() const { return fMat[1][3]; } SkMScalar perspZ() const { return fMat[2][3]; } |