fg_drect()

Win32 DirectX Fastgraph/Light

Prototype

void fg_drect (int minx, int maxx, int miny, int maxy, void *matrix);

Sub fg_drect (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long, matrix() As Any)

procedure fg_drect (minx, maxx, miny, maxy : integer; var matrix);

Description

The fg_drect() function draws a dithered rectangle in screen space, without 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.

matrix is an eight-byte array that defines the 4x2 dithering matrix.

Return value

none

Restrictions

none

See also

fg_drectw(), fg_rect()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.