fg_setclipw()

Win32 DirectX Fastgraph/Light

Prototype

void fg_setclipw (double xmin, double xmax, double ymin, double ymax);

Sub fg_setclipw (ByVal xmin As Double, ByVal xmax As Double, ByVal ymin As Double, ByVal ymax As Double)

procedure fg_setclipw (xmin, xmax, ymin, ymax : real);

Description

The fg_setclipw() function defines the active virtual buffer's clipping region in 2D world space. The clipping region is a rectangular area outside of which certain graphics are suppressed.

Parameters

xmin is the world space x coordinate of the clipping region's left edge.

xmax is the world space x coordinate of the clipping region's right edge. It must be greater than or equal to the value of xmin.

ymin is the world space y coordinate of the clipping region's bottom edge.

ymax is the world space y coordinate of the clipping region's top edge. It must be greater than or equal to the value of ymin.

Return value

none

Restrictions

none

See also

fg_getclip(), fg_setclip()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.