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

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: fixup2 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 d2a07eb4be0130b17ce6feba85144172e3ca4672..bf58c1ea94138b86a5bd6051559c82e9c4bbd954 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 {
Stephen White 2015/03/19 20:35:17 Could this (and the CanvasShadowStrategy below) be
Justin Novosad 2015/03/19 21:03:36 They could... These enums are used in the declara
Stephen White 2015/03/19 22:37:26 I don't mind the dependency. I think keeping canva
+ FillPaintType,
+ StrokePaintType,
+};
+
+enum CanvasShadowStrategy {
+ DrawLooperShadowStrategy,
+ ImageFilterShadowStrategy,
};
enum AntiAliasingMode {

Powered by Google App Engine
This is Rietveld 408576698