[]
        
(Showing Draft Content)

C1.Util.DX.WIC.BitmapSourceTransform

BitmapSourceTransform Class

IWICBitmapSourceTransform

Inheritance
BitmapSourceTransform
Implements
Namespace: C1.Util.DX.WIC
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("3B16811B-6A43-4ec9-B713-3D5A0C13B940")]
public class BitmapSourceTransform : ComObject, IDisposable, IUnknown

Constructors

Name Description
BitmapSourceTransform(IntPtr)

Initializes a new instance of the BitmapSourceTransform class.

Methods

Name Description
CopyPixels(RectL, int, int, Guid, BitmapTransformOptions, int, DataStream)

Copies pixel data using the supplied input parameters.

CopyPixels(int, int, BitmapTransformOptions, int, DataStream)

Copies pixel data using the supplied input parameters.

CopyPixels(int, int, Guid, BitmapTransformOptions, int, DataStream)

Copies pixel data using the supplied input parameters.

CopyPixels(int, int, int, DataStream)

Copies pixel data using the supplied input parameters.

CopyPixels(IntPtr, int, int, Guid?, BitmapTransformOptions, int, int, IntPtr)

HRESULT IWICBitmapSourceTransform::CopyPixels([In] const void* prc,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In, Optional] GUID* pguidDstFormat,[In] WICBitmapTransformOptions dstTransform,[In] unsigned int nStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)

GetClosestPixelFormat(ref Guid)

HRESULT IWICBitmapSourceTransform::GetClosestPixelFormat([InOut] GUID* pguidDstFormat)

GetClosestSize(ref Size2L)

Returns the closest dimensions the implementation can natively scale to given the desired dimensions.

GetClosestSize(ref int, ref int)

HRESULT IWICBitmapSourceTransform::GetClosestSize([InOut] unsigned int* puiWidth,[InOut] unsigned int* puiHeight)

IsSupportingTransform(BitmapTransformOptions)

HRESULT IWICBitmapSourceTransform::DoesSupportTransform([In] WICBitmapTransformOptions dstTransform,[Out] BOOL* pfIsSupported)

Operators

Name Description
explicit operator BitmapSourceTransform(IntPtr)

Performs an explicit conversion from IntPtr to BitmapSourceTransform.