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
;
37
}
tBitmapFormat
;
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
;
61
tInt32
nXPelsPerMeter
;
63
tInt32
nYPelsPerMeter
;
65
tUInt32
nClrUsed
;
67
tUInt32
nClrImportant
;
68
}
tWin32BitmapInfoHeader
;
69
75
typedef
struct
tag_Win32BitmapInfo
76
{
77
tWin32BitmapInfoHeader
sHeader;
78
tColor aColors[1];
80
}
tWin32BitmapInfo
;
81
82
83
#pragma pack(pop)
84
tBitmapFormat
Struct to specifie a bitmap.
Definition:
displaytbstructs.h:20
tBitmapFormat::nWidth
tInt32 nWidth
Specifies the width (in pixels) of the image.
Definition:
displaytbstructs.h:22
tBitmapFormat::nBitsPerPixel
tInt16 nBitsPerPixel
Specifies the number of bits used to represent the color of a single pixel.
Definition:
displaytbstructs.h:26
tBitmapFormat::nSize
tInt32 nSize
Size of bitmap in bytes (nBytesPerLine * nHeight)
Definition:
displaytbstructs.h:33
tBitmapFormat::nHeight
tInt32 nHeight
Specifies the width (in pixels) of the image.
Definition:
displaytbstructs.h:24
tBitmapFormat::nPixelFormat
tInt16 nPixelFormat
Pixel format specified in tPixelFormat. More information ca be found at.
Definition:
displaytbstructs.h:28
tBitmapFormat::nBytesPerLine
tInt32 nBytesPerLine
Specifies the number of bytes used per line (nWidth * nBitsPerPixel / 8 + n PaddingBytes) normally th...
Definition:
displaytbstructs.h:31
tBitmapFormat::nPaletteSize
tInt32 nPaletteSize
Size of colour palette.
Definition:
displaytbstructs.h:36
tWin32BitmapInfoHeader
Struct to get informations about a bitmap.
Definition:
displaytbstructs.h:45
tWin32BitmapInfoHeader::nWidth
tInt32 nWidth
Specifies the width of the bitmap, in pixels.
Definition:
displaytbstructs.h:49
tWin32BitmapInfoHeader::nBitCount
tUInt16 nBitCount
Specifies the number of bits in a bitmap.
Definition:
displaytbstructs.h:55
tWin32BitmapInfoHeader::nCompression
tUInt32 nCompression
Specifies the compression rate of the bitmap.
Definition:
displaytbstructs.h:57
tWin32BitmapInfoHeader::nPlanes
tUInt16 nPlanes
Specifies the number of planes for the target device. This value must be set to 1.
Definition:
displaytbstructs.h:53
tWin32BitmapInfoHeader::nXPelsPerMeter
tInt32 nXPelsPerMeter
Specifies the horizontal resolution, in pixels-per-meter, of the target device for the bitmap....
Definition:
displaytbstructs.h:61
tWin32BitmapInfoHeader::nHeight
tInt32 nHeight
Specifies the height of the bitmap, in pixels.
Definition:
displaytbstructs.h:51
tWin32BitmapInfoHeader::nClrImportant
tUInt32 nClrImportant
Specifies the number of color indexes that are required for displaying the bitmap....
Definition:
displaytbstructs.h:67
tWin32BitmapInfoHeader::nSizeImage
tUInt32 nSizeImage
Specifies the size, in bytes, of the image. This may be set to zero for uncompressed bitmaps.
Definition:
displaytbstructs.h:59
tWin32BitmapInfoHeader::nYPelsPerMeter
tInt32 nYPelsPerMeter
Specifies the vertical resolution, in pixels-per-meter, of the target device for the bitmap.
Definition:
displaytbstructs.h:63
tWin32BitmapInfoHeader::nSize
tUInt32 nSize
Specifies the number of bytes required by the structure.
Definition:
displaytbstructs.h:47
tWin32BitmapInfoHeader::nClrUsed
tUInt32 nClrUsed
Specifies the number of color indexes in the color table that are actually used by the bitmap....
Definition:
displaytbstructs.h:65
tWin32BitmapInfo
Struct to get the informations and the color about a bitmap.
Definition:
displaytbstructs.h:76
Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Thu Aug 4 2022 by doxygen 1.9.1)