Chromium Code Reviews| 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; |