|
ADTF Display Toolbox
|
Struct to specifie a bitmap. More...
#include <displaytbstructs.h>
Public Attributes | |
| tInt32 | nWidth |
| Specifies the width (in pixels) of the image. | |
| tInt32 | nHeight |
| Specifies the width (in pixels) of the image. | |
| tInt16 | nBitsPerPixel |
| Specifies the number of bits used to represent the color of a single pixel. | |
| 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 the nBytesPerLine is a multiple of 4, but don't trust on it! | |
| tInt32 | nSize |
| Size of bitmap in bytes (nBytesPerLine * nHeight) | |
| tInt32 | nPaletteSize |
| Size of colour palette. | |
Struct to specifie a bitmap.
Definition at line 18 of file displaytbstructs.h.
| tInt16 nBitsPerPixel |
Specifies the number of bits used to represent the color of a single pixel.
Definition at line 25 of file displaytbstructs.h.
Referenced by cImage::Attach(), cImage::Attach(), cImage::BilinearStretchBlit(), cImage::Compare(), cImage::Convert(), cImage::Convert(), cImage::Convert(), cImage::Convert_impl(), cImage::CountDifferences(), cImage::Create(), cImage::Create(), cImage::GuessPixelFormat(), cGLTexture::IsCompatible(), cImage::operator=(), cImage::SetTransparency(), and cImage::StretchBlit_impl().
| tInt32 nBytesPerLine |
Specifies the number of bytes used per line (nWidth * nBitsPerPixel / 8 + n PaddingBytes) normally the nBytesPerLine is a multiple of 4, but don't trust on it!
Definition at line 30 of file displaytbstructs.h.
Referenced by cImage::Attach(), cImage::BilinearStretchBlit(), cImage::Blit_impl(), cImage::Convert(), cImage::Convert(), cImage::Convert(), cImage::Convert_impl(), cImage::Create(), cImage::operator=(), cImage::SetTransparency(), and cImage::StretchBlit_impl().
| tInt32 nHeight |
Specifies the width (in pixels) of the image.
Definition at line 23 of file displaytbstructs.h.
Referenced by cImage::Attach(), cImage::BilinearStretchBlit(), cImage::Blit_impl(), cImage::Compare(), cImage::Convert(), cImage::Convert(), cImage::Convert(), cImage::Convert_impl(), cImage::CountDifferences(), cGLTexture::Create(), cImage::Create(), cImage::GuessPixelFormat(), cGLTexture::IsCompatible(), cImage::operator=(), and cImage::StretchBlit_impl().
| tInt32 nPaletteSize |
Size of colour palette.
This can be used for image formats where the pixel values are indices of a color table. Most of the time you want to set this to 0!
Definition at line 35 of file displaytbstructs.h.
Referenced by cImage::Attach(), cImage::Attach(), cImage::Convert(), cImage::Convert_impl(), cImage::Create(), cImage::Create(), and cGLTexture::IsCompatible().
| tInt16 nPixelFormat |
Pixel format specified in tPixelFormat. More information ca be found at.
Definition at line 27 of file displaytbstructs.h.
Referenced by cImage::Attach(), cImage::Blit_impl(), cGLTexture::CalcOpenGLTextureFormat(), cImage::Compare(), cImage::Convert(), cImage::Convert(), cImage::Convert_impl(), cImage::CountDifferences(), cImage::Create(), cImage::FlipRGB(), cImage::GuessPixelFormat(), cImage::operator=(), cImage::SetTransparency(), and cImage::StretchBlit_impl().
| tInt32 nSize |
Size of bitmap in bytes (nBytesPerLine * nHeight)
Definition at line 32 of file displaytbstructs.h.
Referenced by cImage::Alloc(), cImage::Attach(), cImage::Convert(), cImage::Convert(), cImage::Create(), and cImage::GuessPixelFormat().
| tInt32 nWidth |
Specifies the width (in pixels) of the image.
Definition at line 21 of file displaytbstructs.h.
Referenced by cImage::Attach(), cImage::BilinearStretchBlit(), cImage::Compare(), cImage::Convert(), cImage::Convert(), cImage::Convert(), cImage::Convert_impl(), cImage::CountDifferences(), cGLTexture::Create(), cImage::Create(), cImage::GuessPixelFormat(), cGLTexture::IsCompatible(), cImage::operator=(), and cImage::StretchBlit_impl().