pixpattern_t

Declaration

typedef union {
pixpattern8_t b8;
pixpattern16_t b16;
pixpattern24_t b24;
pixpattern32_t b32;
} pixpattern_t

Prototype In

mgraph.h

Description

Type definition for an 8x8 color pixmap pattern. This is used to specify the color pixmap pattern used for filling solid objects when the pen style is in MGL_PIXMAP mode. The pixmap pattern is defined as an 8x8 array of color values. 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 in the MGL device context that the pattern is loaded into.

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