gdiplus: Stub for GdipBitmapApplyEffect.

This commit is contained in:
Andrew Eikum 2009-06-04 23:36:22 -05:00 committed by Alexandre Julliard
parent d8a85425ec
commit ad2341253c
3 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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)
{

View File

@ -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*);