include: Add definitions for IWICBitmapFlipRotator.

This commit is contained in:
Vincent Povirk 2010-04-27 10:55:12 -05:00 committed by Alexandre Julliard
parent 83f32fc7d8
commit 6c480cb160
1 changed files with 21 additions and 1 deletions

View File

@ -98,6 +98,16 @@ typedef enum WICBitmapPaletteType {
WICBITMAPPALETTETYPE_FORCE_DWORD = CODEC_FORCE_DWORD
} WICBitmapPaletteType;
typedef enum WICBitmapTransformOptions {
WICBitmapTransformRotate0 = 0x00000000,
WICBitmapTransformRotate90 = 0x00000001,
WICBitmapTransformRotate180 = 0x00000002,
WICBitmapTransformRotate270 = 0x00000003,
WICBitmapTransformFlipHorizontal = 0x00000008,
WICBitmapTransformFlipVertical = 0x00000010,
WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD
} WICBitmapTransformOptions;
typedef enum WICComponentType {
WICDecoder = 0x00000001,
WICEncoder = 0x00000002,
@ -178,7 +188,6 @@ cpp_quote("#define WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81")
cpp_quote("#define WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8c")
interface IWICPalette;
interface IWICBitmapFlipRotator;
interface IWICColorContext;
interface IWICColorTransform;
interface IWICFastMetadataEncoder;
@ -233,6 +242,17 @@ interface IWICBitmapLock : IUnknown
[out] WICPixelFormatGUID *pPixelFormat);
}
[
object,
uuid(5009834f-2d6a-41ce-9e1b-17c5aff7a782)
]
interface IWICBitmapFlipRotator : IWICBitmapSource
{
HRESULT Initialize(
[in] IWICBitmapSource *pISource,
[in] WICBitmapTransformOptions options);
}
[
object,
uuid(00000121-a8f2-4877-ba0a-fd2b6645fb94)