fg_getview()

Win32 DirectX Fastgraph/Light

Prototype

void fg_getview (int *view_minx, int *view_maxx, int *view_miny, int *view_maxy, int *minx, int *maxx, int *miny, int *maxy);

Sub fg_getview (view_minx As Long, view_maxx As Long, view_miny As Long, view_maxy As Long, minx As Long, maxx As Long, miny As Long, maxy As Long)

procedure fg_getview (var view_minx, view_maxx, view_miny, view_maxy, minx, maxx, miny, maxy : integer);

Description

The fg_getview() function returns the 2D viewport extremes in viewport units and screen space units.

Parameters

view_minx receives the viewport's left edge in viewport units.

view_maxx receives the viewport's right edge in viewport units.

view_miny receives the viewport's top edge in viewport units.

view_maxy receives the viewport's bottom edge in viewport units.

minx receives the viewport's left edge in screen space units.

maxx receives the viewport's right edge in screen space units.

miny receives the viewport's top edge in screen space units.

maxy receives the viewport's bottom edge in screen space units.

Return value

none

Restrictions

none

See also

fg_setview()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.