fgf_getxjust() (Fastgraph/Fonts)

Win32 DirectX Fastgraph/Light

Prototype

int fgf_getxjust (void);

Function fgf_getxjust () As Long

function fgf_getxjust : integer;

Description

The fgf_getxjust() function returns the horizontal justification setting used by fgf_print() and fgf_printc(). The default horizontal justification is -1 (left) and may be changed with fgf_justify().

Parameters

none

Return value

-1 = Strings displayed with fgf_print() and fgf_printc() 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

Restrictions

none

See also

fgf_getyjust(), fgf_justify()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.