GSTXAL Set text alignment(3) sets the text alignment.

SYNOPSIS

CALL GSTXAL (TXALH, TXALV)

C-BINDING SYNOPSIS

#include <ncarg/gks.h>

void gset_text_align(const Gtext_align *text_align);

DESCRIPTION

TXALH
(Integer, Input) - Determines the horizontal alignment of the text to be drawn. Options are:
0
Normal (default)
1
Left
2
Center
3
Right
TXALV
(Integer, Input) - Determines the vertical alignment of the text to be drawn. Options are:
0
Normal (default)
1
Top
2
Cap
3
Half
4
Base
5
Bottom

USAGE

Text alignment is used to position the text extent rectangle. The text extent rectangle rotates about the point determined by the horizontal and vertical text alignment settings (TXALH, TXALV).

ACCESS

To use GKS routines, load the NCAR GKS-0A library ncarg_gks.

COPYRIGHT

Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.