fg_clprect()

Win32 DirectX Fastgraph/Light

Prototype

void fg_clprect (int minx, int maxx, int miny, int maxy);

Sub fg_clprect (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long)

procedure fg_clprect (minx, maxx, miny, maxy : integer);

Description

The fg_clprect() function draws a solid (filled) rectangle in screen space, with clipping.

Parameters

minx is the screen space x coordinate of the rectangle's left edge.

maxx is the screen space x coordinate of the rectangle's right edge. It must be greater than or equal to the value of minx.

miny is the screen space y coordinate of the rectangle's top edge.

maxy is the screen space y coordinate of the rectangle's bottom edge. It must be greater than or equal to the value of miny.

Return value

none

Restrictions

none

See also

fg_clprectw(), fg_clprectx(), fg_rect(), fg_rectw(), fg_setclip()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.