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

Unified Diff: core/src/fxge/win32/fx_win32_gdipext.cpp

Issue 1398383002: core/ difference with XFA (for information only). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: After bidi Created 5 years, 2 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
« core/src/fxcodec/codec/fx_codec_fax.cpp ('K') | « core/src/fxge/ge/text_int.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« core/src/fxcodec/codec/fx_codec_fax.cpp ('K') | « core/src/fxge/ge/text_int.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698