Pixel32bpp Struct Reference

This structure defines the layout of a 32bpp RGB pixel value, in a nice kernel compatible way. They should be used for kernel access to bitmaps so that pixels are treated in a platform independent manner. More...

#include <bitmap.h>

List of all members.

Public Attributes

BYTE Red
BYTE Green
BYTE Blue
BYTE Alpha


Detailed Description

This structure defines the layout of a 32bpp RGB pixel value, in a nice kernel compatible way. They should be used for kernel access to bitmaps so that pixels are treated in a platform independent manner.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
3/7/96
The definitions of these pixels are such that a scanline of pixels is a packed array of bytes like this: Red0 Green0 Blue0 Alpha0 Red1 Green1 Blue1 Alpha1 Red2 Green2 Blue2 Alpha2...

When not using the Alpha channel, set its value to 0.

See also:
OILBtmap::GetScanline32; OILBtmap::PlotPixel; OILBtmap::ReadPixel

Definition at line 148 of file bitmap.h.


Member Data Documentation

BYTE Pixel32bpp::Alpha
 

Definition at line 153 of file bitmap.h.

BYTE Pixel32bpp::Blue
 

Definition at line 152 of file bitmap.h.

BYTE Pixel32bpp::Green
 

Definition at line 151 of file bitmap.h.

BYTE Pixel32bpp::Red
 

Definition at line 150 of file bitmap.h.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 10 03:59:44 2007 for Camelot by  doxygen 1.4.4