diff options
author | John Reck <jreck@google.com> | 2015-08-05 13:53:53 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-08-26 16:29:15 -0700 |
commit | e248bd1b2c3fcf8088429507e73b31f45ee2544b (patch) | |
tree | 11b5ca9ab43877438cc05101ca0c8c2c95bfb6bd /libs/hwui/RevealClip.h | |
parent | c0877bb0ff769f09e9e60f600bdd294f1aac8331 (diff) |
Serializing display lists
This is a WIP prototype
Change-Id: Id4bfcf2b7bf905221c3734b7b6887c9b2efd37e6
Diffstat (limited to 'libs/hwui/RevealClip.h')
-rw-r--r-- | libs/hwui/RevealClip.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/RevealClip.h b/libs/hwui/RevealClip.h index 0084a8edccfc..63821dddd369 100644 --- a/libs/hwui/RevealClip.h +++ b/libs/hwui/RevealClip.h @@ -51,7 +51,10 @@ public: outBounds->set(mX - mRadius, mY - mRadius, mX + mRadius, mY + mRadius); } + float getRadius() const { return mRadius; } + float getX() const { return mX; } + float getY() const { return mY; } const SkPath* getPath() const { if (!mShouldClip) return nullptr; |