gdiplus: Add stub for GdipImageRotateFlip.
This commit is contained in:
parent
754b97c72c
commit
cef1598390
|
@ -409,7 +409,7 @@
|
||||||
@ stdcall GdipImageGetFrameCount(ptr ptr ptr)
|
@ stdcall GdipImageGetFrameCount(ptr ptr ptr)
|
||||||
@ stdcall GdipImageGetFrameDimensionsCount(ptr ptr)
|
@ stdcall GdipImageGetFrameDimensionsCount(ptr ptr)
|
||||||
@ stdcall GdipImageGetFrameDimensionsList(ptr ptr long)
|
@ stdcall GdipImageGetFrameDimensionsList(ptr ptr long)
|
||||||
@ stub GdipImageRotateFlip
|
@ stdcall GdipImageRotateFlip(ptr long)
|
||||||
@ stdcall GdipImageSelectActiveFrame(ptr ptr long)
|
@ stdcall GdipImageSelectActiveFrame(ptr ptr long)
|
||||||
@ stub GdipImageSetAbort
|
@ stub GdipImageSetAbort
|
||||||
@ stub GdipInitializePalette
|
@ stub GdipInitializePalette
|
||||||
|
|
|
@ -1675,3 +1675,12 @@ GpStatus WINGDIPAPI GdipGetImageThumbnail(GpImage *image, UINT width, UINT heigh
|
||||||
image, width, height, ret_image, cb, cb_data);
|
image, width, height, ret_image, cb, cb_data);
|
||||||
return NotImplemented;
|
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 GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
|
||||||
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*);
|
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*);
|
||||||
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
|
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
|
||||||
|
GpStatus WINGDIPAPI GdipImageRotateFlip(GpImage*,RotateFlipType);
|
||||||
GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
|
GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
|
||||||
GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
|
GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
|
||||||
GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
|
GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
|
||||||
|
|
|
@ -38,6 +38,33 @@ enum ImageLockMode
|
||||||
ImageLockModeUserInputBuf = 4
|
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
|
#ifdef __cplusplus
|
||||||
class EncoderParameter
|
class EncoderParameter
|
||||||
{
|
{
|
||||||
|
@ -108,6 +135,7 @@ public:
|
||||||
#else /* end of c++ typedefs */
|
#else /* end of c++ typedefs */
|
||||||
|
|
||||||
typedef enum ImageLockMode ImageLockMode;
|
typedef enum ImageLockMode ImageLockMode;
|
||||||
|
typedef enum RotateFlipType RotateFlipType;
|
||||||
|
|
||||||
typedef struct EncoderParameter
|
typedef struct EncoderParameter
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue