logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Access

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

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

Name

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

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

Synopsis

       CALL GSTXAL (TXALH, TXALV)

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

See Also