fg_getxjust()

Win32 DirectX Fastgraph/Light

Prototype

int fg_getxjust (void);

Function fg_getxjust () As Long

function fg_getxjust : integer;

Description

The fg_getxjust() function returns the horizontal justification setting used by fg_print(). The fg_vbinit() function sets the default justification to -1, and its value may be changed with fg_justify().

Parameters

none

Return value

-1 = Strings are left justified relative to the current graphics x position

0 = Strings are centered about the current graphics x position

1 = Strings are right justified relative to the current graphics x position

Restrictions

none

See also

fg_getyjust(), fg_justify()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.