From 041ecfbde4557b29c789a83dc075e71653dd36d8 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:58:56 -0700 Subject: [PATCH 22/22] 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; +} -- 1.5.3.6