include: Add definitions for IWICBitmapScaler.
This commit is contained in:
parent
e4a50e1615
commit
33ab02d38a
|
@ -72,6 +72,14 @@ typedef enum WICBitmapEncoderCacheOption {
|
|||
WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
|
||||
} WICBitmapEncoderCacheOption;
|
||||
|
||||
typedef enum WICBitmapInterpolationMode {
|
||||
WICBitmapInterpolationModeNearestNeighbor = 0x00000000,
|
||||
WICBitmapInterpolationModeLinear = 0x00000001,
|
||||
WICBitmapInterpolationModeCubic = 0x00000002,
|
||||
WICBitmapInterpolationModeFaint = 0x00000003,
|
||||
WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD
|
||||
} WICBitmapInterpolationMode;
|
||||
|
||||
typedef enum WICBitmapPaletteType {
|
||||
WICBitmapPaletteTypeCustom = 0x00000000,
|
||||
WICBitmapPaletteTypeMedianCut = 0x00000001,
|
||||
|
@ -170,7 +178,6 @@ cpp_quote("#define WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81")
|
|||
cpp_quote("#define WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8c")
|
||||
|
||||
interface IWICPalette;
|
||||
interface IWICBitmapScaler;
|
||||
interface IWICBitmapClipper;
|
||||
interface IWICBitmapFlipRotator;
|
||||
interface IWICColorContext;
|
||||
|
@ -625,6 +632,19 @@ interface IWICStream : IStream
|
|||
[in] ULARGE_INTEGER ulMaxSize);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(00000302-a8f2-4877-ba0a-fd2b6645fb94)
|
||||
]
|
||||
interface IWICBitmapScaler : IWICBitmapSource
|
||||
{
|
||||
HRESULT Initialize(
|
||||
[in] IWICBitmapSource *pISource,
|
||||
[in] UINT uiWidth,
|
||||
[in] UINT uiHeight,
|
||||
[in] WICBitmapInterpolationMode mode);
|
||||
}
|
||||
|
||||
cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
|
||||
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue