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

Unified Diff: Source/platform/graphics/GraphicsTypes.h

Issue 1008173003: Move SkPaint mangement for 2D canvas into CanvasRenderingContext2DState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: applied review comments Created 5 years, 9 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 | « Source/platform/graphics/DrawLooperBuilder.cpp ('k') | Source/platform/graphics/ImageBufferSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsTypes.h
diff --git a/Source/platform/graphics/GraphicsTypes.h b/Source/platform/graphics/GraphicsTypes.h
index d2a07eb4be0130b17ce6feba85144172e3ca4672..aceb2204ac878193b269c5ae90148feb217b91b9 100644
--- a/Source/platform/graphics/GraphicsTypes.h
+++ b/Source/platform/graphics/GraphicsTypes.h
@@ -70,9 +70,17 @@ enum CompositeOperator {
CompositePlusLighter
};
+enum OpacityMode {
+ NonOpaque,
+ Opaque,
+};
+
+// TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2DState.h once
+// GraphicsContext no longer uses it.
enum ShadowMode {
DrawShadowAndForeground,
DrawShadowOnly,
+ DrawForegroundOnly
};
enum AntiAliasingMode {
« no previous file with comments | « Source/platform/graphics/DrawLooperBuilder.cpp ('k') | Source/platform/graphics/ImageBufferSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698