DrawPattRect

Draws a monochrome pattern filled rectangle.

Declaration

void NAPI GA_2DRenderFuncs::DrawPattRect(
N_int32 left,
N_int32 top,
N_int32 width,
N_int32 height)

Prototype In

snap/graphics.h

Parameters

left | Left coordinate of the rectangle to draw
top | Top coordinate of the rectangle to draw
width | Width of the rectangle in pixels
height | Height of the rectangle in scanlines

Description

This function renders a monochrome patterned rectangle at the specified location and in the currently active colors, mix and monochrome pattern. This routine will render a rectangle from (Left, Top) to (Left+Width-1, Height+Bottom-1) inclusive.

See Also

DrawRect, DrawColorPattRect, Set8x8MonoPattern, Use8x8MonoPattern

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