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

Unified Diff: sky/engine/core/painting/Paint.idl

Issue 1157573012: Implement radio button for Sky’s fn2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
Index: sky/engine/core/painting/Paint.idl
diff --git a/sky/engine/core/painting/Paint.idl b/sky/engine/core/painting/Paint.idl
index 27f4b20b3532b890b073768aa1e7076d27e0559e..f86cc75451581f64776efdb4042583f2864b2f7b 100644
--- a/sky/engine/core/painting/Paint.idl
+++ b/sky/engine/core/painting/Paint.idl
@@ -5,6 +5,14 @@
[
Constructor(),
] interface Paint {
+ // Style
+ const unsigned short FILL_STYLE = 0;
eseidel 2015/06/04 23:50:54 If you're exposing these, can we use them in the c
jackson 2015/06/05 00:23:10 I'm going to rewrite this to work like TransferMod
+ const unsigned short STROKE_STYLE = 1;
+ const unsigned short STROKE_AND_FILL_STYLE = 2;
+
+ // TODO(jackson): we could wrap this enum like we did for |color|
+ attribute unsigned short style;
+ attribute float strokeWidth;
eseidel 2015/06/04 23:51:59 Do we do double now?
jackson 2015/06/05 00:23:09 The Skia API is float
attribute boolean isAntiAlias;
attribute Color color;

Powered by Google App Engine
This is Rietveld 408576698