GSET_CHAR_EXPAN(3NCARG)
β¨ GSET_CHAR_EXPAN β¨
okay bestie, welcome to gset_char_expan β aka Set character expansion factor. It's a NCAR Graphics thing (section 3NCARG) and it does exactly one job: it sets the width to height ratio of text. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <ncarg/gks.h>
void gset_char_expan(Gdouble char_expan);
π¦ DESCRIPTION π¦
char_expan(Input) β this is the one and only thing you're handing over, and it specifies a deviation of the width to height ratio for characters drawn using the GTX output primitive. like, how wide do you want your letters compared to how tall they are? that's the question she's answering. π
and the math is so cute:
char_expanof10.0would specify a character that is 10 times as wide as normal. wide letters. W I D E. πchar_expanof0.1would request characters that are 1/10th as wide as normal. skinny legend behavior fr fr.- The character height remains unchanged β she only messes with the width, the height is not her business. periodt.
char_expan > 0β that's the rule, bestie. positive numbers only.- By default,
char_expan = 1.0β¨ (normal width, no drama).
β οΈ heads up: keep it greater than zero. That's the constraint, that's the boundary, don't fight it.
π ACCESS π
To use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. no libraries, no letters, no cap. π«Ά
π 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_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.
and that's the whole page, gorgeous π β NCAR Graphics, from the UNIX corner of the world, dated March 1993 (yes she's an elder icon and she's still serving). mwah. πβ¨π
π¦ 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