aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-12-22 04:36:57 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-22 04:36:57 -0800
commit83ba585ecbf0270261196cf90ceaeeb22d345452 (patch)
tree250a6a9340d923add5aed340aa5868ab9cba70e3 /include/views
parent9ebc3f0ee6db215dde461dc4777d85988cf272dd (diff)
move SkParsePaint.h into views
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkParsePaint.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/views/SkParsePaint.h b/include/views/SkParsePaint.h
new file mode 100644
index 0000000000..066292f9c7
--- /dev/null
+++ b/include/views/SkParsePaint.h
@@ -0,0 +1,26 @@
+
+/*
+ * 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 SkParsePaint_DEFINED
+#define SkParsePaint_DEFINED
+
+#include "SkPaint.h"
+#include "SkDOM.h"
+
+/** "color" color
+ "opacity" scalar [0..1]
+ "stroke-width" scalar (0...inf)
+ "text-size" scalar (0..inf)
+ "is-stroke" bool
+ "is-antialias" bool
+ "is-lineartext" bool
+*/
+void SkPaint_Inflate(SkPaint*, const SkDOM&, const SkDOM::Node*);
+
+#endif