aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/graphics/svg/SkSVGText.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/graphics/svg/SkSVGText.h')
-rw-r--r--libs/graphics/svg/SkSVGText.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libs/graphics/svg/SkSVGText.h b/libs/graphics/svg/SkSVGText.h
new file mode 100644
index 0000000000..76703d5187
--- /dev/null
+++ b/libs/graphics/svg/SkSVGText.h
@@ -0,0 +1,23 @@
+#ifndef SkSVGText_DEFINED
+#define SkSVGText_DEFINED
+
+#include "SkSVGElements.h"
+
+class SkSVGText : public SkSVGElement {
+ DECLARE_SVG_INFO(Text);
+protected:
+ SkString f_x;
+ SkString f_y;
+ SkString f_text; // not an attribute
+private:
+ typedef SkSVGElement INHERITED;
+ friend class SkSVGParser;
+};
+
+class SkSVGTspan : public SkSVGText {
+ DECLARE_SVG_INFO(Tspan);
+private:
+ typedef SkSVGText INHERITED;
+};
+
+#endif // SkSVGText_DEFINED