ncl_ginq_text_font_prec man page

ginq_text_font_prec (Inquire text font and precision) — retrieves the current setting of the text font and precision values.

Synopsis

#include <ncarg/gks.h>

void ginq_text_font_prec(Gint *err_ind, Gtext_font_prec *text_font_prec);

Description

err_ind
(Output) - If the inquired values cannot be returned correctly, a non-zero error indicator is returned in err_ind, otherwise a zero is returned. Consult "User's Guide for NCAR GKS-0A Graphics" for a description of the meaning of the error indicators.
text_font_prec.font
(Output) - Gives the font number as set by default or by a call to gset_text_font_prec. Font number one is a simple default ASCII font. Values for font between -2 and -20 (inclusive) are Hershey fonts.
text_font_prec.prec

(Output) - Gives the text precision as set by default or by a call to gset_text_font_prec. Possible values include:

GPREC_STRING
String precision (good)
GPREC_CHAR
Character precision (better)
GPREC_STROK
Stroke precision (best)

Access

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

See Also

Online: gtext(3NCARG), gset_text_path(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

Info

March 1993 UNIX NCAR GRAPHICS