PS_SET_GSTATE(3)

✨ PS_set_gstate πŸ’…

okay so bestie, this one's from the PS_SET_GSTATE(3) page in the Library Functions Manual, and it's short but it's mighty 🫢


🌸 NAME 🌸

PS_set_gstate β€” sets a previously created graphic state. yes that's the whole vibe, it sets a gstate that already exists. not me creating one, that's somebody else's job πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <pslib.h>

void PS_set_gstate(PSDoc *psdoc, int gstate)

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically ✨ this function sets a graphic state β€” and the key thing here, the thing you literally cannot skip, is that this graphic state must have been created with PS_create_gstate(3) first. no creating it on the fly, no manifesting it, no "it'll show up eventually" 😭 it has to already exist. you're just setting it, bestie, not birthing it 🌸


πŸ‘‘ SEE ALSO πŸ‘‘

  • PS_create_gstate(3) β€” the one that actually makes the gstate, so go say hi to it first 🫢

πŸ’– AUTHOR πŸ’–

this manual page was written by Uwe Steinmann uwe@steinmann.cx. iconic of them, honestly πŸŽ€


no cap, that's the whole page. short king energy but every word ate πŸ’…

and that's a wrap on PS_SET_GSTATE(3) β€” the source and version live in the footer of the original, which just signs off with the manual name PS_SET_GSTATE(3) ✨ bye bestie, go create that gstate first 🌈

πŸ“¦ where this page comes from