fg_getclip()

Win32 DirectX Fastgraph/Light

Prototype

void fg_getclip (int *minx, int *maxx, int *miny, int *maxy);

Sub fg_getclip (minx As Long, maxx As Long, miny As Long, maxy As Long)

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

Description

The fg_getclip() function returns the clipping region extremes in screen space. The clipping region is a rectangular area outside of which certain graphics are suppressed. By default, the clipping region is set to the virtual buffer extents.

Parameters

minx receives the x coordinate of the clipping region's left edge.

maxx receives the x coordinate of the clipping region's right edge.

miny receives the y coordinate of the clipping region's top edge.

maxy receives the y coordinate of the clipping region's bottom edge.

Return value

none

Restrictions

none

See also

fg_setclip(), fg_setclipw()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.