pattern_t

Declaration

typedef struct {
uchar p[8];
} pattern_t

Prototype In

mgraph.h

Description

Type definition for an 8x8 monochrome bitmap pattern. This is used to specify the monochrome bitmap pattern used for filling solid objects when the pen style is MGL_BITMAP_OPAQUE or MGL_BITMAP_TRANSPARENT.

When the pen style is MGL_BITMAP_OPAQUE, where bits in the pattern are a 1, the foreground color is used. Where bits in the pattern are a 0, the background color is used.

When the pen style is MGL_BITMAP_TRANSPARENT, where bits in the pattern are a 1, the foreground color is used. Where bits in the pattern are a 0, the pixel is left unmodified on the screen.

Members

p | 8 bytes of pattern data

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