fg_polygonw()

Win32 DirectX Fastgraph/Light

Prototype

void fg_polygonw (double *x_array, double *y_array, int n);

Sub fg_polygonw (x_array() As Double, y_array() As Double, ByVal n As Long)

procedure fg_polygonw (var x_array, y_array : real; n : integer);

Description

The fg_polygonw() function draws an unfilled polygon in 2D world space, using two coordinate arrays to define the polygon vertices. The drawing of the polygon begins at the first vertex defined in the coordinate arrays, through the remaining vertices in sequence, and finally back to the first vertex if necessary.

Parameters

x_array is the name of the array containing the world space x coordinates of the polygon vertices.

y_array is the name of the array containing the world space y coordinates of the polygon vertices.

n is the number of vertices in the polygon.

Return value

none

Restrictions

none

See also

fg_polygon()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.