ADTF Display Toolbox
Loading...
Searching...
No Matches
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
18
typedef
struct
tag_BitmapFormat
19
{
21
tInt32
nWidth
;
23
tInt32
nHeight
;
25
tInt16
nBitsPerPixel
;
27
tInt16
nPixelFormat
;
30
tInt32
nBytesPerLine
;
32
tInt32
nSize
;
35
tInt32
nPaletteSize
;
36
}
tBitmapFormat
;
37
43
typedef
struct
tag_Win32BitmapInfoHeader
44
{
46
tUInt32
nSize
;
48
tInt32
nWidth
;
50
tInt32
nHeight
;
52
tUInt16
nPlanes
;
54
tUInt16
nBitCount
;
56
tUInt32
nCompression
;
58
tUInt32
nSizeImage
;
62
tInt32
nXPelsPerMeter
;
64
tInt32
nYPelsPerMeter
;
68
tUInt32
nClrUsed
;
71
tUInt32
nClrImportant
;
72
}
tWin32BitmapInfoHeader
;
73
79
typedef
struct
tag_Win32BitmapInfo
80
{
81
tWin32BitmapInfoHeader
sHeader;
82
tColor aColors[1];
84
}
tWin32BitmapInfo
;
85
86
#pragma pack(pop)
tBitmapFormat
Struct to specifie a bitmap.
Definition
displaytbstructs.h:19
tBitmapFormat::nWidth
tInt32 nWidth
Specifies the width (in pixels) of the image.
Definition
displaytbstructs.h:21
tBitmapFormat::nBitsPerPixel
tInt16 nBitsPerPixel
Specifies the number of bits used to represent the color of a single pixel.
Definition
displaytbstructs.h:25
tBitmapFormat::nSize
tInt32 nSize
Size of bitmap in bytes (nBytesPerLine * nHeight)
Definition
displaytbstructs.h:32
tBitmapFormat::nHeight
tInt32 nHeight
Specifies the width (in pixels) of the image.
Definition
displaytbstructs.h:23
tBitmapFormat::nPixelFormat
tInt16 nPixelFormat
Pixel format specified in tPixelFormat. More information ca be found at.
Definition
displaytbstructs.h:27
tBitmapFormat::nBytesPerLine
tInt32 nBytesPerLine
Specifies the number of bytes used per line (nWidth * nBitsPerPixel / 8 + n PaddingBytes) normally th...
Definition
displaytbstructs.h:30
tBitmapFormat::nPaletteSize
tInt32 nPaletteSize
Size of colour palette.
Definition
displaytbstructs.h:35
tWin32BitmapInfoHeader
Struct to get informations about a bitmap.
Definition
displaytbstructs.h:44
tWin32BitmapInfoHeader::nWidth
tInt32 nWidth
Specifies the width of the bitmap, in pixels.
Definition
displaytbstructs.h:48
tWin32BitmapInfoHeader::nBitCount
tUInt16 nBitCount
Specifies the number of bits in a bitmap.
Definition
displaytbstructs.h:54
tWin32BitmapInfoHeader::nCompression
tUInt32 nCompression
Specifies the compression rate of the bitmap.
Definition
displaytbstructs.h:56
tWin32BitmapInfoHeader::nPlanes
tUInt16 nPlanes
Specifies the number of planes for the target device. This value must be set to 1.
Definition
displaytbstructs.h:52
tWin32BitmapInfoHeader::nXPelsPerMeter
tInt32 nXPelsPerMeter
Specifies the horizontal resolution, in pixels-per-meter, of the target device for the bitmap.
Definition
displaytbstructs.h:62
tWin32BitmapInfoHeader::nHeight
tInt32 nHeight
Specifies the height of the bitmap, in pixels.
Definition
displaytbstructs.h:50
tWin32BitmapInfoHeader::nClrImportant
tUInt32 nClrImportant
Specifies the number of color indexes that are required for displaying the bitmap.
Definition
displaytbstructs.h:71
tWin32BitmapInfoHeader::nSizeImage
tUInt32 nSizeImage
Specifies the size, in bytes, of the image. This may be set to zero for uncompressed bitmaps.
Definition
displaytbstructs.h:58
tWin32BitmapInfoHeader::nYPelsPerMeter
tInt32 nYPelsPerMeter
Specifies the vertical resolution, in pixels-per-meter, of the target device for the bitmap.
Definition
displaytbstructs.h:64
tWin32BitmapInfoHeader::nSize
tUInt32 nSize
Specifies the number of bytes required by the structure.
Definition
displaytbstructs.h:46
tWin32BitmapInfoHeader::nClrUsed
tUInt32 nClrUsed
Specifies the number of color indexes in the color table that are actually used by the bitmap.
Definition
displaytbstructs.h:68
tWin32BitmapInfo
Struct to get the informations and the color about a bitmap.
Definition
displaytbstructs.h:80
src
packages
graphics
include
adtfdisplaytoolboxgraphics
displaytbstructs.h
Copyright © CARIAD SE. All rights reserved | Generated on Fri Oct 9 2026 by doxygen 1.13.2 | GIT Commit Hash: d03d8906b26da7df78d6738ddef90830e144dcb6