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

Side by Side Diff: sky/engine/core/painting/Gradient.idl

Issue 1170963003: Sky: Add a DartConverterEnum and use that for all our enum needs. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: 360 no scope 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/painting/Gradient.dart ('k') | sky/engine/core/painting/PaintingStyle.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 ImplementedAs=CanvasGradient, 6 ImplementedAs=CanvasGradient,
7 PrivateDart, 7 PrivateDart,
8 Constructor() 8 Constructor()
9 ] interface Gradient : Shader { 9 ] interface Gradient : Shader {
10 void initLinear(Point[] endPoints, Color[] colors, float[] colorStops, 10 void initLinear(Point[] endPoints, Color[] colors, float[] colorStops,
11 /*TileMode*/unsigned long tileMode); 11 TileMode tileMode);
12 void initRadial(Point center, double radius, Color[] colors, 12 void initRadial(Point center, double radius, Color[] colors,
13 float[] colorStops, /*TileMode*/unsigned long tileMode); 13 float[] colorStops, TileMode tileMode);
14 }; 14 };
OLDNEW
« no previous file with comments | « sky/engine/core/painting/Gradient.dart ('k') | sky/engine/core/painting/PaintingStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698