DrawColorPattRect

Draws a color pattern filled rectangle.

Declaration

void NAPI GA_2DRenderFuncs::DrawColorPattRect(
    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 in the currently active mix and color pattern. This routine will render a rectangle from (Left, Top) to (Left+Width-1, Height+Bottom-1) inclusive.

See Also

DrawRect, DrawPattRect, Set8x8ColorPattern, Use8x8ColorPattern

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