Index: include/core/SkMatrix.h |
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h |
index 6560cb5c2b1df32fc7dfe0b1c136f2e393b74d79..97a53505ef3734ae36de8d5e0799b07d4c4e075a 100644 |
--- a/include/core/SkMatrix.h |
+++ b/include/core/SkMatrix.h |
@@ -22,6 +22,7 @@ class SkString; |
using either reset() - to construct an identity matrix, or one of the set |
functions (e.g. setTranslate, setRotate, etc.). |
*/ |
+SK_BEGIN_REQUIRE_DENSE |
class SK_API SkMatrix { |
public: |
static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar sx, SkScalar sy) { |
@@ -29,13 +30,13 @@ public: |
m.setScale(sx, sy); |
return m; |
} |
- |
+ |
static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar scale) { |
SkMatrix m; |
m.setScale(scale, scale); |
return m; |
} |
- |
+ |
static SkMatrix SK_WARN_UNUSED_RESULT MakeTrans(SkScalar dx, SkScalar dy) { |
SkMatrix m; |
m.setTranslate(dx, dy); |
@@ -826,5 +827,6 @@ private: |
friend class SkPerspIter; |
}; |
+SK_END_REQUIRE_DENSE |
#endif |