fg_xview()

Win32 DirectX Fastgraph/Light

Prototype

int fg_xview (int vx);

Function fg_xview (ByVal vx As Long) As Long

function fg_xview (vx : integer) : integer;

Description

The fg_xview() function translates a horizontal viewport coordinate to the corresponding screen space x coordinate.

Parameters

vx is the horizontal viewport coordinate to translate.

Return value

The screen space x coordinate corresponding to the specified viewport coordinate. If no viewport has been defined, the return value will be equal to vx.

Restrictions

none

See also

fg_getview(), fg_setview(), fg_yview()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.