GTEXT(3NCARG)
GTEXT(3NCARG) β NCAR GRAPHICS π
okay bestie, welcome to the NCAR Graphics corner of the manual, this one lives in the 3NCARG section and it's literally the moment you've been waiting for: putting text on the screen β¨
πΈ NAME πΈ
gtext (Text) β the basic output primitive for drawing text. and like, a whole lil squad of attribute-setting routines is available for picking your size, font, precision, orientation, color, character spacing, etc. it's giving full customization era π
β¨ SYNOPSIS β¨
void gtext(const Gpoint *text_pos, const char *char_string);
π¦ DESCRIPTION π¦
okay so here's the tea, gtext takes two things and one of them is secretly two things:
text_pos.xβ (Gfloat, Input) β the x world coordinate of the text alignment of the first character inchar_string. yes, the first character. alignment goes hard, iykyk.text_pos.yβ (Gfloat, Input) β the y world coordinate of the text alignment of the first character inchar_string. same deal, other axis, no cap.char_stringβ (Input) β the actual characters to be drawn. the main characters of this story fr fr π
π ACCESS π
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. not optional bestie, that's the vibe check π«Ά
π SEE ALSO π
π Online
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
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
like, legally speaking, read the License Agreement. that's the fine print and it's not skipping leg day π
and that's the whole page, bestie π this one came out of the UNIX manual, March 1993 edition, under the NCAR Graphics banner. stay iconic, go draw some letters πΈπ¦β¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms