gdiplus: Add stub for GdipImageRotateFlip.

This commit is contained in:
Stefan Leichter 2009-05-08 07:31:15 +02:00 committed by Alexandre Julliard
parent 754b97c72c
commit cef1598390
4 changed files with 39 additions and 1 deletions

View File

@ -409,7 +409,7 @@
@ stdcall GdipImageGetFrameCount(ptr ptr ptr)
@ stdcall GdipImageGetFrameDimensionsCount(ptr ptr)
@ stdcall GdipImageGetFrameDimensionsList(ptr ptr long)
@ stub GdipImageRotateFlip
@ stdcall GdipImageRotateFlip(ptr long)
@ stdcall GdipImageSelectActiveFrame(ptr ptr long)
@ stub GdipImageSetAbort
@ stub GdipInitializePalette

View File

@ -1675,3 +1675,12 @@ GpStatus WINGDIPAPI GdipGetImageThumbnail(GpImage *image, UINT width, UINT heigh
image, width, height, ret_image, cb, cb_data);
return NotImplemented;
}
/*****************************************************************************
* GdipImageRotateFlip [GDIPLUS.@]
*/
GpStatus WINGDIPAPI GdipImageRotateFlip(GpImage *image, RotateFlipType type)
{
FIXME("(%p %u) stub\n", image, type);
return NotImplemented;
}

View File

@ -340,6 +340,7 @@ GpStatus WINGDIPAPI GdipGetPropertySize(GpImage*,UINT*,UINT*);
GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*);
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
GpStatus WINGDIPAPI GdipImageRotateFlip(GpImage*,RotateFlipType);
GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);

View File

@ -38,6 +38,33 @@ enum ImageLockMode
ImageLockModeUserInputBuf = 4
};
enum RotateFlipType
{
RotateNoneFlipNone = 0,
Rotate180FlipXY = RotateNoneFlipNone,
Rotate90FlipNone = 1,
Rotate270FlipXY = Rotate90FlipNone,
Rotate180FlipNone = 2,
RotateNoneFlipXY = Rotate180FlipNone,
Rotate270FlipNone = 3,
Rotate90FlipXY = Rotate270FlipNone,
RotateNoneFlipX = 4,
Rotate180FlipY = RotateNoneFlipX,
Rotate90FlipX = 5,
Rotate270FlipY = Rotate90FlipX,
Rotate180FlipX = 6,
RotateNoneFlipY = Rotate180FlipX,
Rotate270FlipX = 7,
Rotate90FlipY = Rotate270FlipX
};
#ifdef __cplusplus
class EncoderParameter
{
@ -108,6 +135,7 @@ public:
#else /* end of c++ typedefs */
typedef enum ImageLockMode ImageLockMode;
typedef enum RotateFlipType RotateFlipType;
typedef struct EncoderParameter
{