Supported Browsers Home   
GA_colorCursorRGBA Previous   
GA_colorPattern_1 Next   
Type Definitions Up   

GA_colorPattern

Declaration

typedef union {
    GA_colorPattern_1   b1;
    GA_colorPattern_4   b4;
    GA_colorPattern_8   b8;
    GA_colorPattern_16  b16;
    GA_colorPattern_24  b24;
    GA_colorPattern_32  b32;
    } GA_colorPattern

Prototype In

snap/graphics.h

Description

Fundamental type definition for an array element of an 8x8 color bitmap pattern. Each line in the pattern is represented as an array of packed pixel data. In 8bpp modes there is 8 bytes per line, for 16bpp modes there are 16bytes per line, for 24bpp modes there are 24bytes per line and for 32bpp modes there are 32 bytes per line. Hence the size of the pattern data is different depending on the color depth currently active.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com