aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/graphics/animator/SkDrawClip.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/graphics/animator/SkDrawClip.h')
-rw-r--r--libs/graphics/animator/SkDrawClip.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libs/graphics/animator/SkDrawClip.h b/libs/graphics/animator/SkDrawClip.h
new file mode 100644
index 0000000000..6c896660a4
--- /dev/null
+++ b/libs/graphics/animator/SkDrawClip.h
@@ -0,0 +1,20 @@
+#ifndef SkDrawClip_DEFINED
+#define SkDrawClip_DEFINED
+
+#include "SkDrawable.h"
+#include "SkMemberInfo.h"
+#include "SkRegion.h"
+
+class SkDrawPath;
+class SkDrawRect;
+
+class SkDrawClip : public SkDrawable {
+ DECLARE_DRAW_MEMBER_INFO(Clip);
+ SkDrawClip();
+ virtual bool draw(SkAnimateMaker& );
+private:
+ SkDrawRect* rect;
+ SkDrawPath* path;
+};
+
+#endif // SkDrawClip_DEFINED