Module: wine Branch: master Commit: ad2341253cf9c364a27c54fddb208a74a7eb6b9d URL: http://source.winehq.org/git/wine.git/?a=commit;h=ad2341253cf9c364a27c54fddb...
Author: Andrew Eikum andrew@brightnightgames.com Date: Thu Jun 4 23:36:22 2009 -0500
gdiplus: Stub for GdipBitmapApplyEffect.
---
dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 11 +++++++++++ include/gdiplusflat.h | 1 + 3 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 7d44c0b..e0251d5 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -35,7 +35,7 @@ @ stdcall GdipBeginContainer2(ptr ptr) @ stdcall GdipBeginContainer(ptr ptr ptr long ptr) @ stdcall GdipBeginContainerI(ptr ptr ptr long ptr) -@ stub GdipBitmapApplyEffect +@ stdcall GdipBitmapApplyEffect(ptr ptr ptr long ptr ptr) @ stub GdipBitmapConvertFormat @ stub GdipBitmapCreateApplyEffect @ stub GdipBitmapGetHistogram diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index a18b2ad..5f7dfec 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -70,6 +70,17 @@ static INT ipicture_pixel_width(IPicture *pic) return x; }
+GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap* bitmap, CGpEffect* effect, + RECT* roi, BOOL useAuxData, VOID** auxData, INT* auxDataSize) +{ + FIXME("(%p %p %p %d %p %p): stub\n", bitmap, effect, roi, useAuxData, auxData, auxDataSize); + /* + * Note: According to Jose Roca's GDI+ docs, this function is not + * implemented in Windows's GDI+. + */ + return NotImplemented; +} + GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap* bitmap, INT x, INT y, ARGB *color) { diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 8e9812f..803ea1a 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -39,6 +39,7 @@ GpStatus WINGDIPAPI GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap*,R GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL);
/* Bitmap */ +GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap*,CGpEffect*,RECT*,BOOL,VOID**,INT*); GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*); GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT, PixelFormat,BitmapData*);