Class EmfPlgBlt

Class EmfPlgBlt

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)

The EMR_PLGBLT record specifies a block transfer of pixels from a source bitmap to a destination parallelogram, with the application of a color mask bitmap.

public sealed class EmfPlgBlt : EmfBitmapRecordType

Inheritance

objectMetaObjectEmfRecordEmfBitmapRecordTypeEmfPlgBlt

Inherited Members

EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfPlgBlt(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfPlgBlt class.

public EmfPlgBlt(EmfRecord source)

Parameters

source EmfRecord

The source.

Properties

AptlDest

Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer. The upper-left corner of the source rectangle is mapped to the first point in this array, the upper-right corner to the second point, and the lower-left corner to the third point. The lower-right corner of the source rectangle is mapped to the implicit fourth point in the parallelogram, which is computed from the first three points (A, B, and C) by treating them as vectors. D = B + C A

public Point[] AptlDest { get; set; }

Property Value

Point[]

BkSrcArgb32Color

Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the background color of the source bitmap.

public int BkSrcArgb32Color { get; set; }

Property Value

int

Bounds

Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the bounding rectangle, in device units, for output to the destination.

public Rectangle Bounds { get; set; }

Property Value

Rectangle

CxSrc

Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.

public int CxSrc { get; set; }

Property Value

int

CySrc

Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.

public int CySrc { get; set; }

Property Value

int

MaskBitmap

Gets or sets a buffer containing the mask bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.

public WmfDeviceIndependentBitmap MaskBitmap { get; set; }

Property Value

WmfDeviceIndependentBitmap

SourceBitmap

Gets or sets a buffer containing the source bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.

public WmfDeviceIndependentBitmap SourceBitmap { get; set; }

Property Value

WmfDeviceIndependentBitmap

UsageMask

Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header. This value MUST be in the DIBColors enumeration.

public EmfDibColors UsageMask { get; set; }

Property Value

EmfDibColors

UsageSrc

Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header. This value MUST be in the DIBColors enumeration

public EmfDibColors UsageSrc { get; set; }

Property Value

EmfDibColors

XFormSrc

Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.

public Matrix XFormSrc { get; set; }

Property Value

Matrix

XMask

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.

public int XMask { get; set; }

Property Value

int

XSrc

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.

public int XSrc { get; set; }

Property Value

int

YMask

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.

public int YMask { get; set; }

Property Value

int

YSrc

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.

public int YSrc { get; set; }

Property Value

int