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

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: 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
Index: Source/platform/graphics/GraphicsTypes.h
diff --git a/Source/platform/graphics/GraphicsTypes.h b/Source/platform/graphics/GraphicsTypes.h
index 0cbf89226f4452e5620c94e05cac09882b43cbf0..d1c4df23b8771fde3a0704cca0ab7e003f0ebdf2 100644
--- a/Source/platform/graphics/GraphicsTypes.h
+++ b/Source/platform/graphics/GraphicsTypes.h
@@ -73,6 +73,17 @@ enum CompositeOperator {
enum ShadowMode {
DrawShadowAndForeground,
DrawShadowOnly,
+ DrawForegroundOnly
+};
+
+enum CanvasPaintType {
+ FillPaintType,
+ StrokePaintType,
+};
+
+enum CanvasShadowStrategy {
+ DrawLooperShadowStrategy,
+ ImageFilterShadowStrategy,
};
enum AntiAliasingMode {
« Source/core/html/canvas/CanvasStyle.cpp ('K') | « Source/core/html/canvas/CanvasStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698