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

Unified Diff: include/core/SkXfermode.h

Issue 14046021: Add coeffecients for kScreen xfermode. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 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 | src/core/SkXfermode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkXfermode.h
===================================================================
--- include/core/SkXfermode.h (revision 8677)
+++ include/core/SkXfermode.h (working copy)
@@ -104,13 +104,12 @@
kPlus_Mode, //!< [Sa + Da, Sc + Dc]
kModulate_Mode, // multiplies all components (= alpha and color)
- // all above modes can be expressed as pair of src/dst Coeffs
- kCoeffModesCnt,
-
// Following blend modes are defined in the CSS Compositing standard:
// https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blending
- kScreen_Mode = kCoeffModesCnt,
- kOverlay_Mode,
+ kScreen_Mode,
+ // all above modes can be expressed as pair of src/dst Coeffs
+ kCoeffModesCnt,
+ kOverlay_Mode = kCoeffModesCnt,
kDarken_Mode,
kLighten_Mode,
kColorDodge_Mode,
« no previous file with comments | « no previous file | src/core/SkXfermode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698