aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-30 21:36:11 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-30 21:36:11 +0000
commit8d3cd7a170c810e3816bf00220cbef51e7b16795 (patch)
tree6a76204c1d68934976e1542fc05e82d5a130a6b0 /include/core
parent118c1a70c7e8f9733d406cf69de9a5970b3ceb01 (diff)
Review URL: https://codereview.appspot.com/7232062 git-svn-id: http://skia.googlecode.com/svn/trunk@7476 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkCanvas.h2
-rw-r--r--include/core/SkXfermode.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index e2043eaa6a..1e7e8280b2 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -827,7 +827,7 @@ public:
@param xmode Used if both texs and colors are present. In this
case the colors are combined with the texture using mode,
before being drawn using the paint. If mode is null, then
- kMultiply_Mode is used.
+ kModulate_Mode is used.
@param indices If not null, array of indices to reference into the
vertex (texs, colors) array.
@param indexCount number of entries in the indices array (if not null)
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index 7cb88b9fdd..d396529cbf 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -103,7 +103,7 @@ public:
// all remaining modes are defined in the SVG Compositing standard
// http://www.w3.org/TR/2009/WD-SVGCompositing-20090430/
kPlus_Mode,
- kMultiply_Mode,
+ kModulate_Mode, // multiplies all components (= alpha and color)
// all above modes can be expressed as pair of src/dst Coeffs
kCoeffModesCnt,