Commit cef15983 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

gdiplus: Add stub for GdipImageRotateFlip.

parent 754b97c7
......@@ -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
......
......@@ -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;
}
......@@ -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**);
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment