aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/svg/parser/SkSVGMask.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg/parser/SkSVGMask.h')
-rw-r--r--src/svg/parser/SkSVGMask.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/svg/parser/SkSVGMask.h b/src/svg/parser/SkSVGMask.h
new file mode 100644
index 0000000000..2e1fd5011b
--- /dev/null
+++ b/src/svg/parser/SkSVGMask.h
@@ -0,0 +1,29 @@
+
+/*
+ * Copyright 2006 The Android Open Source Project
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+
+#ifndef SkSVGMask_DEFINED
+#define SkSVGMask_DEFINED
+
+#include "SkSVGGroup.h"
+
+class SkSVGMask : public SkSVGGroup {
+ DECLARE_SVG_INFO(Mask);
+ virtual bool isDef();
+ virtual bool isNotDef();
+protected:
+ SkString f_height;
+ SkString f_maskUnits;
+ SkString f_width;
+ SkString f_x;
+ SkString f_y;
+private:
+ typedef SkSVGGroup INHERITED;
+};
+
+#endif // SkSVGMask_DEFINED