From 10990f5898f4f04fda5c9fcd9cfee2fa4903f87a Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Wed, 24 Feb 2010 17:36:54 -0600 Subject: [PATCH] gdiplus: Stub GdipGetRegionScansCount. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/region.c | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 2859f5b0aaa..e6cea5ad443 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -381,7 +381,7 @@ @ stdcall GdipGetRegionDataSize(ptr ptr) @ stdcall GdipGetRegionHRgn(ptr ptr ptr) @ stub GdipGetRegionScans -@ stub GdipGetRegionScansCount +@ stdcall GdipGetRegionScansCount(ptr ptr ptr) @ stub GdipGetRegionScansI @ stub GdipGetRenderingOrigin @ stdcall GdipGetSmoothingMode(ptr ptr) diff --git a/dlls/gdiplus/region.c b/dlls/gdiplus/region.c index eab9b8fa5db..decaaf9e837 100644 --- a/dlls/gdiplus/region.c +++ b/dlls/gdiplus/region.c @@ -1306,3 +1306,15 @@ GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *region, INT dx, INT dy) return GdipTranslateRegion(region, (REAL)dx, (REAL)dy); } + +GpStatus WINGDIPAPI GdipGetRegionScansCount(GpRegion *region, UINT *count, GpMatrix *matrix) +{ + static int calls; + + TRACE("(%p, %p, %p)\n", region, count, matrix); + + if (!(calls++)) + FIXME("not implemented\n"); + + return NotImplemented; +}