Index: core/src/fxge/win32/fx_win32_gdipext.cpp |
diff --git a/core/src/fxge/win32/fx_win32_gdipext.cpp b/core/src/fxge/win32/fx_win32_gdipext.cpp |
index 4beef9a177b8991f0274400cd9aa1cff3a85644f..867e8b22734b84dd3bb46d2d9e92b9078559ede0 100644 |
--- a/core/src/fxge/win32/fx_win32_gdipext.cpp |
+++ b/core/src/fxge/win32/fx_win32_gdipext.cpp |
@@ -25,6 +25,15 @@ using namespace Gdiplus::DllExports; |
#define GdiFillType2Gdip(fill_type) \ |
(fill_type == ALTERNATE ? FillModeAlternate : FillModeWinding) |
+#ifdef PDF_ENABLE_XFA |
+static CombineMode GdiCombineMode2Gdip(int mode) { |
+ switch (mode) { |
+ case RGN_AND: |
+ return CombineModeIntersect; |
+ } |
+ return CombineModeIntersect; |
+} |
+#endif |
enum { |
FuncId_GdipCreatePath2, |
FuncId_GdipSetPenDashStyle, |