class HT_Image_Format
An enum which describes the data format for image data.
See Also
HT_Renderer::create_frame_buffer, read_dc_color_image, read_dc_depth_image
Methods
bitonal One bit per pixel. Used by the GDI driver to look up
and determine the least or most significant bit function. If
bitonal is off then palette_index is 0; if on then
palette_index is 1.
index One bit per pixel. This is a look-up into the current color palette.
rgb32 Four bytes per pixel. This method gives a full RGB plus alpha
for transparency.
depth16 & 32 A two or four byte representation of two buffer values.
any Will read the image using any format you choose.
device specific Will use its own internal format. Don't expect to be
able to read the image, however it will draw it back again.
Constructor
HT_Image_Format Initializes a new HT_Image_Format object.
HT_Device_Options::HT_Image_Format
Purpose
Constructor to initialize a new HT_Image_Format object.
Synopsis
class HT_Image_Format {
public:
enum Enum {
bitonal,
index8,
rgb32,
depth16,
depth32,
any,
device_specific,
invalid = -1
};
ENUM_CLASS_FUNCTIONS (HT_Image_Format)
};