DOKK / manpages / debian 10 / libncarg-dev / gstxal.3ncarg.en
GSTXAL(3NCARG) NCAR GRAPHICS GSTXAL(3NCARG)

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

CALL GSTXAL (TXALH, TXALV)

#include <ncarg/gks.h>

void gset_text_align(const Gtext_align *text_align);

(Integer, Input) - Determines the horizontal alignment of the text to be drawn. Options are:
0
Normal (default)
1
Left
2
Center
3
Right
(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

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).

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

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

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

March 1993 UNIX