fg_polyoff()

Win32 DirectX Fastgraph/Light

Prototype

void fg_polyoff (int ix, int iy);

Sub fg_polyoff (ByVal ix As Long, ByVal iy As Long)

procedure fg_polyoff (ix, iy : integer);

Description

The fg_polyoff() function defines the screen space offset applied to each polygon vertex in all 2D and 3D polygon drawing functions except fg_polygon() and fg_polyline(). By default, the polygon drawing functions use an offset of zero, meaning their vertex arrays specify the actual vertex coordinates.

Parameters

ix is the horizontal screen space offset applied to the x component of all vertices.

iy is the vertical screen space offset applied to the y component of all vertices.

Return value

none

Restrictions

none

See also

fg_3Dpolygon(), fg_3Dpolygonobject(), fg_3Dshade(), fg_3Dshadeobject(), fg_3Dtexturemap(), fg_3Dtexturemapobject(), fg_gouraud(), fg_gouraudz(), fg_inside(), fg_polyfill(), fg_polyfilz(), fg_polyline(), fg_texmap(), fg_texmapp(), fg_texmappz(), fg_texmapz()

Examples

Graphics

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.