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&); |