ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
displaytbstructs.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include <adtf_base.h>
9 
10 #pragma pack(push)
11 #pragma pack(1)
12 
13 
19 typedef struct tag_BitmapFormat
20 {
22  tInt32 nWidth;
24  tInt32 nHeight;
26  tInt16 nBitsPerPixel;
28  tInt16 nPixelFormat;
31  tInt32 nBytesPerLine;
33  tInt32 nSize;
36  tInt32 nPaletteSize;
38 
44 typedef struct tag_Win32BitmapInfoHeader
45 {
47  tUInt32 nSize;
49  tInt32 nWidth;
51  tInt32 nHeight;
53  tUInt16 nPlanes;
55  tUInt16 nBitCount;
57  tUInt32 nCompression;
59  tUInt32 nSizeImage;
65  tUInt32 nClrUsed;
67  tUInt32 nClrImportant;
69 
75 typedef struct tag_Win32BitmapInfo
76 {
77  tWin32BitmapInfoHeader sHeader;
78  tColor aColors[1];
81 
82 
83 #pragma pack(pop)
84 
Struct to specifie a bitmap.
tInt32 nWidth
Specifies the width (in pixels) of the image.
tInt16 nBitsPerPixel
Specifies the number of bits used to represent the color of a single pixel.
tInt32 nSize
Size of bitmap in bytes (nBytesPerLine * nHeight)
tInt32 nHeight
Specifies the width (in pixels) of the image.
tInt16 nPixelFormat
Pixel format specified in tPixelFormat. More information ca be found at.
tInt32 nBytesPerLine
Specifies the number of bytes used per line (nWidth * nBitsPerPixel / 8 + n PaddingBytes) normally th...
tInt32 nPaletteSize
Size of colour palette.
Struct to get informations about a bitmap.
tInt32 nWidth
Specifies the width of the bitmap, in pixels.
tUInt16 nBitCount
Specifies the number of bits in a bitmap.
tUInt32 nCompression
Specifies the compression rate of the bitmap.
tUInt16 nPlanes
Specifies the number of planes for the target device. This value must be set to 1.
tInt32 nXPelsPerMeter
Specifies the horizontal resolution, in pixels-per-meter, of the target device for the bitmap....
tInt32 nHeight
Specifies the height of the bitmap, in pixels.
tUInt32 nClrImportant
Specifies the number of color indexes that are required for displaying the bitmap....
tUInt32 nSizeImage
Specifies the size, in bytes, of the image. This may be set to zero for uncompressed bitmaps.
tInt32 nYPelsPerMeter
Specifies the vertical resolution, in pixels-per-meter, of the target device for the bitmap.
tUInt32 nSize
Specifies the number of bytes required by the structure.
tUInt32 nClrUsed
Specifies the number of color indexes in the color table that are actually used by the bitmap....
Struct to get the informations and the color about a bitmap.