EmfMaskBlt Class
Contents
[
Hide
]Summary: The EMR_MASKBLT record specifies a block transfer of pixels from a source bitmap to a destination
rectangle, optionally in combination with a brush pattern and with the application of a color mask
bitmap, according to specified foreground and background raster operations.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfMaskBlt
Inheritance: EmfBitmapRecordType
Constructors
| Name | Description | 
|---|---|
| EmfMaskBlt(source) | Initializes a new instance of the EmfMaskBlt class. | 
Properties
| Name | Type | Access | Description | 
|---|---|---|---|
| argb_32_bk_color_src | 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 destination bounding rectangle in device units. | 
| cx_dest | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical width of the destination rectangle. | 
| cy_dest | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical height of the destination rectangle. | 
| mask_bitmap | WmfDeviceIndependentBitmap | r/w | Gets or sets a buffer containing the mask bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored. | 
| rop4 | EmfRop4 | r/w | Gets or sets a quaternary raster operation, which specifies ternary raster operations for the foreground and background colors of a bitmap. These values define how the color data of the source rectangle is to be combined with the color data of the destination rectangle. | 
| 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 bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT 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 | int | 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 (section 2.1.9). | 
| x_dest | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the destination rectangle. | 
| 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. | 
| xform_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. | 
| y_dest | int | r/w | Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the destination 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: EmfMaskBlt(source)
 EmfMaskBlt(source) 
Initializes a new instance of the EmfMaskBlt 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 |