GCLOSE_SEG(3NCARG)

πŸ’– GCLOSE_SEG β€” closes a GKS segment πŸ’–

okay bestie, welcome to GCLOSE_SEG(3NCARG), straight outta the NCAR GRAPHICS manual πŸ’… this one's short and sweet but it's important, so let's get into it.


✨ NAME ✨

gclose_seg β€” closes a GKS segment. that's it. that's the whole job. iconic behavior honestly πŸŽ€


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void gclose_seg( void );

look at her. no arguments. no return value. just vibes πŸ¦‹


🫢 USAGE 🫢

so when you call gclose_seg, it closes the segment that's currently open β€” meaning graphics output primitives will no longer be stored in that segment. like, the segment is done, it's clocked out, it's not taking any more notes πŸ“

⚠️ okay important: gclose_seg can only be called if a segment is open. no open segment, no closing. the rules are the rules, bestie 😭

πŸ”‘ ACCESS πŸ”‘

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. that's the entry fee, no cap πŸ’Έβœ¨


πŸ‘€ SEE ALSO πŸ‘€

🌈 Online:

  • geval_tran_matrix(3NCARG)
  • gaccum_tran_matrix(3NCARG)
  • gcreate_seg(3NCARG)
  • gcopy_seg_ws(3NCARG)
  • gdel_seg(3NCARG)
  • ginq_name_open_seg(3NCARG)
  • ginq_set_seg_names(3NCARG)
  • gset_seg_tran(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.


and that's the whole page, bestie πŸ₯° this was GCLOSE_SEG(3NCARG) from the UNIX manual, dated March 1993 β€” yes she's vintage, yes she still ate πŸ’…βœ¨ mwah, go close some segments πŸŽ€πŸ’–