gdiplus: Stub for GdipBitmapCreateApplyEffect.

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

View File

@ -37,7 +37,7 @@
@ stdcall GdipBeginContainerI(ptr ptr ptr long ptr)
@ stdcall GdipBitmapApplyEffect(ptr ptr ptr long ptr ptr)
@ stub GdipBitmapConvertFormat
@ stub GdipBitmapCreateApplyEffect
@ stdcall GdipBitmapCreateApplyEffect(ptr long ptr ptr ptr ptr long ptr ptr)
@ stub GdipBitmapGetHistogram
@ stub GdipBitmapGetHistogramSize
@ stdcall GdipBitmapGetPixel(ptr long long ptr)

View File

@ -81,6 +81,18 @@ GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap* bitmap, CGpEffect* effect,
return NotImplemented;
}
GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect(GpBitmap** inputBitmaps,
INT numInputs, CGpEffect* effect, RECT* roi, RECT* outputRect,
GpBitmap** outputBitmap, BOOL useAuxData, VOID** auxData, INT* auxDataSize)
{
FIXME("(%p %d %p %p %p %p %d %p %p): stub\n", inputBitmaps, numInputs, effect, roi, outputRect, outputBitmap, 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

@ -40,6 +40,7 @@ GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL);
/* Bitmap */
GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap*,CGpEffect*,RECT*,BOOL,VOID**,INT*);
GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect(GpBitmap**,INT,CGpEffect*,RECT*,RECT*,GpBitmap**,BOOL,VOID**,INT*);
GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
PixelFormat,BitmapData*);