gdiplus: Added GdipBitmapConvertFormat stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
577a75d764
commit
c820139b0f
|
@ -620,7 +620,7 @@
|
|||
620 stdcall GdipBitmapApplyEffect(ptr ptr ptr long ptr ptr)
|
||||
621 stub GdipBitmapGetHistogram
|
||||
622 stub GdipBitmapGetHistogramSize
|
||||
623 stub GdipBitmapConvertFormat
|
||||
623 stdcall GdipBitmapConvertFormat(ptr long long long ptr float)
|
||||
624 stdcall GdipImageSetAbort(ptr ptr)
|
||||
625 stub GdipGraphicsSetAbort
|
||||
626 stub GdipDrawImageFX
|
||||
|
|
|
@ -5268,3 +5268,13 @@ GpStatus WINGDIPAPI GdipImageSetAbort(GpImage *image, GdiplusAbort *pabort)
|
|||
FIXME("(%p, %p): stub\n", image, pabort);
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* GdipBitmapConvertFormat [GDIPLUS.@]
|
||||
*/
|
||||
GpStatus WINGDIPAPI GdipBitmapConvertFormat(GpBitmap *bitmap, PixelFormat format, DitherType dithertype,
|
||||
PaletteType palettetype, ColorPalette *palette, REAL alphathreshold)
|
||||
{
|
||||
FIXME("(%p, 0x%08x, %d, %d, %p, %f): stub\n", bitmap, format, dithertype, palettetype, palette, alphathreshold);
|
||||
return NotImplemented;
|
||||
}
|
||||
|
|
|
@ -102,4 +102,33 @@ typedef struct ColorPalette
|
|||
|
||||
#endif /* end of c typedefs */
|
||||
|
||||
typedef enum DitherType
|
||||
{
|
||||
DitherTypeNone,
|
||||
DitherTypeSolid,
|
||||
DitherTypeOrdered4x4,
|
||||
DitherTypeOrdered8x8,
|
||||
DitherTypeOrdered16x16,
|
||||
DitherTypeSpiral4x4,
|
||||
DitherTypeSpiral8x8,
|
||||
DitherTypeDualSpiral4x4,
|
||||
DitherTypeDualSpiral8x8,
|
||||
DitherTypeErrorDiffusion,
|
||||
DitherTypeMax
|
||||
} DitherType;
|
||||
|
||||
typedef enum PaletteType
|
||||
{
|
||||
PaletteTypeCustom,
|
||||
PaletteTypeOptimal,
|
||||
PaletteTypeFixedBW,
|
||||
PaletteTypeFixedHalftone8,
|
||||
PaletteTypeFixedHalftone27,
|
||||
PaletteTypeFixedHalftone64,
|
||||
PaletteTypeFixedHalftone125,
|
||||
PaletteTypeFixedHalftone216,
|
||||
PaletteTypeFixedHalftone252,
|
||||
PaletteTypeFixedHalftone256
|
||||
} PaletteType;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue