Scroll to navigation

GSET_TEXT_PATH(3NCARG) NCAR GRAPHICS GSET_TEXT_PATH(3NCARG)

NAME

gset_text_path (Set text path) - sets the text paths or directions in which text is to be drawn.

SYNOPSIS

#include <ncarg/gks.h>

void gset_text_path(Gtext_path text_path);

DESCRIPTION

(Input) Gives the direction in which a character string is to be drawn. Options are:
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 .

ACCESS

To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.

SEE ALSO

Online: gtext(3NCARG), gset_text_align(3NCARG), gset_text_font_prec(3NCARG), gset_char_ht(3NCARG), gset_char_space(3NCARG), gset_char_up_vec(3NCARG), gset_char_expan(3NCARG), gset_colr_rep(3NCARG), gset_text_colr_ind(3NCARG), ginq_text_path(3NCARG), ginq_text_align(3NCARG), ginq_text_font_prec(3NCARG), ginq_char_ht(3NCARG), ginq_char_space(3NCARG), ginq_char_up_vec(3NCARG), ginq_char_expan(3NCARG), plotchar(3NCARG), gks(3NCARG) ncarg_gks_cbind(3NCARG)

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

COPYRIGHT

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

March 1993 UNIX