EmfPlgBlt Class
Contents
[
Hide
]Summary: 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.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfPlgBlt
Inheritance: EmfBitmapRecordType
Constructors
Name | Description |
---|---|
EmfPlgBlt(source) | Initializes a new instance of the EmfPlgBlt class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
aptl_dest | Point[] | r/w | 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 |
bk_src_argb_32_color | int | r/w | Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the background color of the source bitmap. |
bounds | Rectangle | r/w | 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. |
cx_src | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle. |
cy_src | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle. |
mask_bitmap | WmfDeviceIndependentBitmap | r/w | 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. |
size | int | r/w | Gets or sets the size of the record |
source_bitmap | WmfDeviceIndependentBitmap | r/w | 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. |
type | EmfRecordType | r/w | Gets or sets the type. |
usage_mask | EmfDibColors | r/w | 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. |
usage_src | EmfDibColors | r/w | 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 |
x_form_src | Matrix | r/w | 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. |
x_mask | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap. |
x_src | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle. |
y_mask | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap. |
y_src | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle. |
Methods
Name | Description |
---|---|
create_from_record(source) | Initializes a new instance of the EmfRecord class. |
create_from_type(type) | Initializes a new instance of the EmfRecord class. |
Constructor: EmfPlgBlt(source)
EmfPlgBlt(source)
Initializes a new instance of the EmfPlgBlt class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Returns
Type | Description |
---|---|
EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | EmfRecordType | The record type. |
Returns
Type | Description |
---|---|
EmfRecord |