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 in char_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 in char_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 (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 πŸŒΈπŸ¦‹βœ¨