Lei Zhang : gdiplus: Add a stub for GdipSetMetafileDownLevelRasterizationLimit.
Alexandre Julliard
julliard at winehq.org
Fri Apr 11 06:28:17 CDT 2008
Module: wine
Branch: master
Commit: 54a06642f40129949475a689115383908e9b7dfa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=54a06642f40129949475a689115383908e9b7dfa
Author: Lei Zhang <thestig at google.com>
Date: Thu Apr 10 12:40:21 2008 -0700
gdiplus: Add a stub for GdipSetMetafileDownLevelRasterizationLimit.
---
dlls/gdiplus/gdiplus.spec | 2 +-
dlls/gdiplus/graphics.c | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index c48c18c..337ffb2 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -544,7 +544,7 @@
@ stdcall GdipSetLineTransform(ptr ptr)
@ stdcall GdipSetLineWrapMode(ptr long)
@ stdcall GdipSetMatrixElements(ptr long long long long long long)
-@ stub GdipSetMetafileDownLevelRasterizationLimit
+@ stdcall GdipSetMetafileDownLevelRasterizationLimit(ptr long)
@ stdcall GdipSetPageScale(ptr long)
@ stdcall GdipSetPageUnit(ptr long)
@ stdcall GdipSetPathFillMode(ptr long)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 3fcdfc6..7356234 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -2111,3 +2111,14 @@ GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics *graphics, GpRegion *region,
return NotImplemented;
}
+
+GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpGraphics *graphics,
+ UINT limitDpi)
+{
+ static int calls;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
More information about the wine-cvs
mailing list