Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: tools/json/SkJSONCanvas.h

Issue 1674643002: Added JSON support for TextBlob (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/json/SkJSONCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json/SkJSONCanvas.h
diff --git a/tools/json/SkJSONCanvas.h b/tools/json/SkJSONCanvas.h
index b43606447bdb815e606316e8979bb2dd27e87ab2..b0f736f48aeb962b528053b9f76538a7519b01c4 100644
--- a/tools/json/SkJSONCanvas.h
+++ b/tools/json/SkJSONCanvas.h
@@ -89,6 +89,7 @@
#define SKJSONCANVAS_ATTRIBUTE_MASKFILTER "maskFilter"
#define SKJSONCANVAS_ATTRIBUTE_XFERMODE "xfermode"
#define SKJSONCANVAS_ATTRIBUTE_BACKDROP "backdrop"
+#define SKJSONCANVAS_ATTRIBUTE_COLORFILTER "colorfilter"
#define SKJSONCANVAS_ATTRIBUTE_IMAGEFILTER "imagefilter"
#define SKJSONCANVAS_ATTRIBUTE_IMAGE "image"
#define SKJSONCANVAS_ATTRIBUTE_BITMAP "bitmap"
@@ -98,6 +99,11 @@
#define SKJSONCANVAS_ATTRIBUTE_DESCRIPTION "description"
#define SKJSONCANVAS_ATTRIBUTE_X "x"
#define SKJSONCANVAS_ATTRIBUTE_Y "y"
+#define SKJSONCANVAS_ATTRIBUTE_RUNS "runs"
+#define SKJSONCANVAS_ATTRIBUTE_POSITIONS "positions"
+#define SKJSONCANVAS_ATTRIBUTE_GLYPHS "glyphs"
+#define SKJSONCANVAS_ATTRIBUTE_FONT "font"
+#define SKJSONCANVAS_ATTRIBUTE_TYPEFACE "typeface"
#define SKJSONCANVAS_VERB_MOVE "move"
#define SKJSONCANVAS_VERB_LINE "line"
« no previous file with comments | « no previous file | tools/json/SkJSONCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698