PS_SET_VALUE(3)
π PS_SET_VALUE(3) π
okay bestie, welcome to the PS_SET_VALUE(3) page, straight out of the Library Functions Manual β¨ this is the one where you poke little floaty numbers into a PostScript document and everything downstream goes "oh bet" π«Ά
β¨ NAME β¨
PS_set_value β sets certain values π
πΈ SYNOPSIS πΈ
#include <pslib.h>
int PS_set_value(PSDoc *psdoc, char *name, float value)
π¦ DESCRIPTION π¦
okay so here's the tea β this function sets several values that a whole bunch of other functions rely on. and the vibe check on the parameters? they're float values, by definition. that's just how it is. no cap π
here's the full list of values you can set, bestie, every single one:
textrenderingβ the way text gets shown π like, how it renders. that's the whole thing.textxβ the x coordinate for text output πtextyβ the y coordinate for text output π (yes, its sibling. they're a package deal fr fr)wordspacingβ the distance between words, measured relative to the width of a space πleadingβ the distance between lines, in pixels π
π SEE ALSO π
go read those too, iykyk π§
π AUTHOR π
this manual page was written by Uwe Steinmann uwe@steinmann.cx β credit where credit is due, periodt π
lowkey the whole point: it's a setter. it sets values. it returns an int. that's the arc. π
okay that's the whole page bestie!! π this was PS_SET_VALUE(3) from the Library Functions Manual, and that's a wrap β mwah, slay, go set some values πβ¨π
π¦ 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