EmfPixelFormatDescriptor Class
Contents
[
Hide
]Summary: The PixelFormatDescriptor object can be used in EMR_HEADER records (section 2.3.4.2) to specify the pixel format of the output surface for the playback device context.
Module: aspose.imaging.fileformats.emf.emf.objects
Full Name: aspose.imaging.fileformats.emf.emf.objects.EmfPixelFormatDescriptor
Inheritance: EmfObject
Constructors
Name | Description |
---|---|
EmfPixelFormatDescriptor() | Initializes a new instance of the EmfPixelFormatDescriptor class |
Properties
Name | Type | Access | Description |
---|---|---|---|
b_reserved | byte | r/w | Gets or sets specifies the number of overlay and underlay planes. Bits 0 through 3 specify up to 15 overlay planes and bits 4 through 7 specify up to 15 underlay planes |
c_accum_alpha_bits | byte | r/w | Gets or sets specifies the number of alpha bitplanes in the accumulation buffer |
c_accum_bits | byte | r/w | Gets or sets specifies the total number of bitplanes in the accumulation buffer. |
c_accum_blue_bits | byte | r/w | Gets or sets specifies the number of blue bitplanes in the accumulation buffer. |
c_accum_green_bits | byte | r/w | Gets or sets specifies the number of green bitplanes in the accumulation |
c_accum_red_bits | byte | r/w | Gets or sets specifies the number of red bitplanes in the accumulation buffer |
c_alpha_bits | byte | r/w | Gets or sets Specifies the number of alpha bitplanes in each RGBA color buffer |
c_alpha_shift | byte | r/w | Gets or sets Specifies the shift count for alpha bitplanes in each RGBA color buffer |
c_aux_buffers | byte | r/w | Gets or sets specifies the number of auxiliary buffers. Auxiliary buffers are not supported |
c_blue_bits | byte | r/w | Gets or sets Specifies the number of blue bitplanes in each RGBA color buffer. |
c_blue_shift | byte | r/w | Gets or sets Specifies the shift count for blue bitplanes in each RGBA color buffer. |
c_color_bits | byte | r/w | Gets or sets the number of bits per pixel for RGBA pixel types, excluding the alpha bitplanes. For color table pixels, it is the size of each color table index |
c_depth_bits | byte | r/w | Gets or sets specifies the depth of the depth (z-axis) buffer. |
c_green_bits | byte | r/w | Gets or sets Specifies the number of green bitplanes in each RGBA color buffer |
c_green_shift | byte | r/w | Gets or sets Specifies the shift count for green bitplanes in each RGBA color buffer. |
c_red_bits | byte | r/w | Gets or sets Specifies the number of red bitplanes in each RGBA color buffer |
c_red_shift | byte | r/w | Gets or sets Specifies the shift count in bits for red bitplanes in each RGBA color buffer. |
c_stencil_bits | byte | r/w | Gets or sets specifies the depth of the stencil buffer. |
dw_damage_mask | int | r/w | Gets or sets This field MAY be ignored |
dw_flags | int | r/w | Gets or sets bit flags that specify properties of the pixel buffer that is used for output to the drawing surface. These properties are not all mutually exclusive; combinations of flags are allowed, except where noted otherwise. |
dw_layer_mask | int | r/w | Gets or sets This field MAY be ignored. |
dw_visible_mask | int | r/w | Gets or sets specifies the transparent color or index of an underlay plane. When the pixel type is RGBA, dwVisibleMask is a transparent RGB color value. When the pixel type is color index, it is a transparent index value. |
layer_type | byte | r/w | Gets or sets This field MAY be ignored |
n_size | short | r/w | Gets or sets a 16-bit integer that specifies the size, in bytes, of this data structure. |
n_version | short | r/w | Gets or sets a 16-bit integer that MUST be set to 0x0001. |
pixel_type | byte | r/w | Gets or sets the type of pixel data PFD_TYPE_RGBA 0x00 The pixel format is RGBA. PFD_TYPE_COLORINDEX 0x01 Each pixel is an index in a color table. |
Constructor: EmfPixelFormatDescriptor()
EmfPixelFormatDescriptor()
Initializes a new instance of the EmfPixelFormatDescriptor class