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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/examples/game/lib/game_demo_world.dart » ('j') | sky/sdk/lib/rendering/box.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/TransferMode.dart
diff --git a/sky/engine/core/painting/TransferMode.dart b/sky/engine/core/painting/TransferMode.dart
index e0b3ba062551d776e578ee9b1b65286ab2a9c3b0..824105bb711592c86fa23ab6ac29c6928939885d 100644
--- a/sky/engine/core/painting/TransferMode.dart
+++ b/sky/engine/core/painting/TransferMode.dart
@@ -7,37 +7,37 @@ part of dart.sky;
/// List of predefined color transfer modes. This list comes from Skia's
/// SkXfermode.h and the values (order) should be kept in sync.
enum TransferMode {
- clearMode,
- srcMode,
- dstMode,
- srcOverMode,
- dstOverMode,
- srcInMode,
- dstInMode,
- srcOutMode,
- dstOutMode,
- srcATopMode,
- dstATopMode,
- xorMode,
- plusMode,
- modulateMode,
+ clear,
+ src,
+ dst,
+ srcOver,
+ dstOver,
+ srcIn,
+ dstIn,
+ srcOut,
+ dstOut,
+ srcATop,
+ dstATop,
+ xor,
+ plus,
+ modulate,
// Following blend modes are defined in the CSS Compositing standard.
- screenMode, /// The last coeff mode.
+ screen, /// The last coeff mode.
- overlayMode,
- darkenMode,
- lightenMode,
- colorDodgeMode,
- colorBurnMode,
- hardLightMode,
- softLightMode,
- differenceMode,
- exclusionMode,
- multiplyMode, /// The last separable mode.
+ overlay,
+ darken,
+ lighten,
+ colorDodge,
+ colorBurn,
+ hardLight,
+ softLight,
+ difference,
+ exclusion,
+ multiply, /// The last separable mode.
- hueMode,
- saturationMode,
- colorMode,
- luminosityMode,
+ hue,
+ saturation,
+ color,
+ luminosity,
}
« 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