ncl_gstxal man page

GSTXAL (Set text alignment) — 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.

See Also

Online:  gtx, gstxp, gstxfp, gschh, gschsp, gschup,  gschxp, gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh,  gqchsp, gqchup, gqchxp, plotchar, gset_text_align

Hardcopy:  User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

Info

March 1993 UNIX NCAR GRAPHICS