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

Side by Side Diff: sky/engine/core/painting/DrawLooperLayerInfo.dart

Issue 1175403002: Expose and use constants for DrawLooperLayerInfo.setPaintBits to dart. (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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/painting/DrawLooperLayerInfo.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 part of dart.sky;
6
7 /// Paint masks for DrawLooperLayerInfo.setPaintBits. These specify which
8 /// aspects of the layer's paint should replace the corresponding aspects on
9 /// the draw's paint.
10 ///
11 /// PaintBits.all means use the layer's paint completely.
12 /// 0 means ignore the layer's paint... except for colorMode, which is
13 /// always applied.
14 class PaintBits {
15 static const int style = 0x1;
16 static const int testSkewx = 0x2;
17 static const int pathEffect = 0x4;
18 static const int maskFilter = 0x8;
19 static const int shader = 0x10;
20 static const int colorFilter = 0x20;
21 static const int xfermode = 0x40;
22 static const int all = 0xFFFFFFFF;
23 }
OLDNEW
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/painting/DrawLooperLayerInfo.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698