diff options
-rw-r--r-- | src/core/SkLiteDL.cpp | 4 | ||||
-rw-r--r-- | src/core/SkLiteDL.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/SkLiteDL.cpp b/src/core/SkLiteDL.cpp index 3175447380..8e64ae0a7d 100644 --- a/src/core/SkLiteDL.cpp +++ b/src/core/SkLiteDL.cpp @@ -829,3 +829,7 @@ void SkLiteDL::drawAsLayer(SkCanvas* canvas, const SkMatrix* matrix, const SkPai return fallback_plan(); } + +void SkLiteDL::setBounds(const SkRect& bounds) { + fBounds = bounds; +} diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h index b18cc540dc..9ed1365b70 100644 --- a/src/core/SkLiteDL.h +++ b/src/core/SkLiteDL.h @@ -91,6 +91,8 @@ public: void drawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], int, SkXfermode::Mode, const SkRect*, const SkPaint*); + void setBounds(const SkRect& bounds); + private: SkLiteDL(SkRect); ~SkLiteDL(); |