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

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

Issue 446543002: Removing WindRule.h completely (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated according to comments Created 6 years, 4 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/GraphicsContext.cpp ('k') | Source/platform/graphics/Path.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 a10c1be78272ce654a6bdbf1ae83442352858c9c..c1891fd952180dbbf37fa10759f663274d4d908e 100644
--- a/Source/platform/graphics/GraphicsTypes.h
+++ b/Source/platform/graphics/GraphicsTypes.h
@@ -29,6 +29,7 @@
#include "platform/PlatformExport.h"
#include "public/platform/WebBlendMode.h"
#include "third_party/skia/include/core/SkPaint.h"
+#include "third_party/skia/include/core/SkPath.h"
#include "wtf/Forward.h"
namespace blink {
@@ -108,6 +109,11 @@ enum ColorFilter {
ColorFilterLinearRGBToSRGB
};
+enum WindRule {
+ RULE_NONZERO = SkPath::kWinding_FillType,
+ RULE_EVENODD = SkPath::kEvenOdd_FillType
+};
+
PLATFORM_EXPORT String compositeOperatorName(CompositeOperator, blink::WebBlendMode);
PLATFORM_EXPORT bool parseCompositeAndBlendOperator(const String&, CompositeOperator&, blink::WebBlendMode&);
« no previous file with comments | « Source/platform/graphics/GraphicsContext.cpp ('k') | Source/platform/graphics/Path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698