| Home
| Previous
| Next
| Up

DrawRectExt

Draws a solid filled rectangle with specific color and mix

Declaration

void NAPI GA_2DRenderFuncs::DrawRectExt(
N_int32 left,
N_int32 top,
N_int32 width,
N_int32 height,
GA_color color,
N_int32 mix)

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
color | Color to draw rectangle in
mix | Mix code to draw with (GA_mixCodesType)

Description

This function is identical to the DrawRect function, except that it also takes color and mix to draw the rectangle with. This function is intended primarily for high performance drawing of rectangles when changing the hardware state will be a performance burden.

See Also

DrawRect, DrawRectLin

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