[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.BitmapSourceTransform

Class BitmapSourceTransform

Namespace
GrapeCity.Documents.DX.WIC
Assembly
GcDocs.DX.Windows.dll

IWICBitmapSourceTransform

[Guid("3B16811B-6A43-4ec9-B713-3D5A0C13B940")]
public class BitmapSourceTransform : ComObject, IDisposable, IUnknown
Inheritance
object
BitmapSourceTransform
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

BitmapSourceTransform(IntPtr)

Initializes a new instance of the BitmapSourceTransform class.

public BitmapSourceTransform(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

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

Copies pixel data using the supplied input parameters.

public void CopyPixels(RectL rectangle, int width, int height, Guid guidDstFormat, BitmapTransformOptions dstTransform, int stride, DataStream output)

Parameters

rectangle RectL

The rectangle.

width int

The width.

height int

The height.

guidDstFormat System.Guid

The GUID DST format.

dstTransform BitmapTransformOptions

The DST transform.

stride int

The stride.

output DataStream

The output.

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

Copies pixel data using the supplied input parameters.

public void CopyPixels(int width, int height, BitmapTransformOptions dstTransform, int stride, DataStream output)

Parameters

width int

The width.

height int

The height.

dstTransform BitmapTransformOptions

The DST transform.

stride int

The stride.

output DataStream

The output.

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

Copies pixel data using the supplied input parameters.

public void CopyPixels(int width, int height, Guid guidDstFormat, BitmapTransformOptions dstTransform, int stride, DataStream output)

Parameters

width int

The width.

height int

The height.

guidDstFormat System.Guid

The GUID DST format.

dstTransform BitmapTransformOptions

The DST transform.

stride int

The stride.

output DataStream

The output.

CopyPixels(int, int, int, DataStream)

Copies pixel data using the supplied input parameters.

public void CopyPixels(int width, int height, int stride, DataStream output)

Parameters

width int

The width.

height int

The height.

stride int

The stride.

output DataStream

The output.

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)

public void CopyPixels(IntPtr rectangleRef, int width, int height, Guid? guidDstFormatRef, BitmapTransformOptions dstTransform, int nStride, int bufferSize, IntPtr bufferRef)

Parameters

rectangleRef System.IntPtr
width int
height int
guidDstFormatRef System.Guid?
dstTransform BitmapTransformOptions
nStride int
bufferSize int
bufferRef System.IntPtr

GetClosestPixelFormat(ref Guid)

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

public void GetClosestPixelFormat(ref Guid guidDstFormatRef)

Parameters

guidDstFormatRef System.Guid

GetClosestSize(ref Size2L)

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

public void GetClosestSize(ref Size2L size)

Parameters

size Size2L

The size.

GetClosestSize(ref int, ref int)

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

public void GetClosestSize(ref int widthRef, ref int heightRef)

Parameters

widthRef int
heightRef int

IsSupportingTransform(BitmapTransformOptions)

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

public bool IsSupportingTransform(BitmapTransformOptions dstTransform)

Parameters

dstTransform BitmapTransformOptions

Returns

bool

Operators

explicit operator BitmapSourceTransform(IntPtr)

Performs an explicit conversion from System.IntPtr to BitmapSourceTransform.

public static explicit operator BitmapSourceTransform(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

BitmapSourceTransform