ncl_gstxp (3) - Linux Manuals
ncl_gstxp: sets the text paths or directions
NAMEGSTXP (Set text path) - sets the text paths or directions in which text is to be drawn.
SYNOPSISCALL GSTXP (TXP)
C-BINDING SYNOPSIS#include <ncarg/gks.h>
(Integer, Input) -
Gives the direction in which a character string is to be drawn.
- Draw successive characters in the string such that character n+l appears to the right of character n. This is text path "right" and is the default.
- Draw character n+1 to the left of character n. This is text path "left".
- Draw character n+1 above character n. This is text path "up".
- Draw character n+1 below character n. This is text path "down".
The right, left, up, and down directions are relative to the character up vector. The right text path direction is perpendicular to the up vector direction. Thus, to draw a text string at a 45 degree angle the character up vector would be (-1,1), and the text path would be right .
ACCESSTo use GKS routines, load the NCAR GKS-0A library ncarg_gks.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.