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

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

Issue 1188003006: Implement ColorFilter in widgets/basic.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
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 part of dart.sky; 5 part of dart.sky;
6 6
7 /// List of predefined color transfer modes. This list comes from Skia's 7 /// List of predefined color transfer modes. This list comes from Skia's
8 /// SkXfermode.h and the values (order) should be kept in sync. 8 /// SkXfermode.h and the values (order) should be kept in sync.
9 enum TransferMode { 9 enum TransferMode {
10 clearMode, 10 clear,
11 srcMode, 11 src,
12 dstMode, 12 dst,
13 srcOverMode, 13 srcOver,
14 dstOverMode, 14 dstOver,
15 srcInMode, 15 srcIn,
16 dstInMode, 16 dstIn,
17 srcOutMode, 17 srcOut,
18 dstOutMode, 18 dstOut,
19 srcATopMode, 19 srcATop,
20 dstATopMode, 20 dstATop,
21 xorMode, 21 xor,
22 plusMode, 22 plus,
23 modulateMode, 23 modulate,
24 24
25 // Following blend modes are defined in the CSS Compositing standard. 25 // Following blend modes are defined in the CSS Compositing standard.
26 screenMode, /// The last coeff mode. 26 screen, /// The last coeff mode.
27 27
28 overlayMode, 28 overlay,
29 darkenMode, 29 darken,
30 lightenMode, 30 lighten,
31 colorDodgeMode, 31 colorDodge,
32 colorBurnMode, 32 colorBurn,
33 hardLightMode, 33 hardLight,
34 softLightMode, 34 softLight,
35 differenceMode, 35 difference,
36 exclusionMode, 36 exclusion,
37 multiplyMode, /// The last separable mode. 37 multiply, /// The last separable mode.
38 38
39 hueMode, 39 hue,
40 saturationMode, 40 saturation,
41 colorMode, 41 color,
42 luminosityMode, 42 luminosity,
43 } 43 }
OLDNEW
« no previous file with comments | « no previous file | sky/examples/game/lib/game_demo_world.dart » ('j') | sky/sdk/lib/rendering/box.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698