fg_xscreen()

Win32 DirectX Fastgraph/Light

Prototype

int fg_xscreen (double x);

Function fg_xscreen (ByVal x As Double) As Long

function fg_xscreen (x : real) : integer;

Description

The fg_xscreen() function translates a 2D world space x coordinate to its screen space equivalent.

Parameters

x is the world space coordinate to translate.

Return value

The screen space x coordinate equivalent to the world space coordinate x.

Restrictions

none

See also

fg_xworld(), fg_yscreen(), fg_yworld()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.