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
- debian bookworm: pslib-dev 0.4.7-1+b1
- debian trixie: pslib-dev 0.4.8-1+b1
- ubuntu jammy: pslib-dev 0.4.7-1
- ubuntu noble: pslib-dev 0.4.7-1build2
- ubuntu questing: pslib-dev 0.4.8-1
- ubuntu resolute: pslib-dev 0.4.8-1build1
- ubuntu stonking: pslib-dev 0.4.8-3 Β· GPL-2.0-or-later OR LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms