PS_SET_TEXT_POS(3)
π NAME π
PS_set_text_pos β bestie, this one sets the position for text output β¨
π¦ SYNOPSIS π¦
#include <pslib.h>
int PS_set_text_pos(PSDoc *psdoc, float x, float y)
πΈ DESCRIPTION πΈ
Okay so picture this: you're about to drop some text into your PostScript doc, and you need it to land in exactly the right spot. That's the whole job of PS_set_text_pos π
It sets the position for the next text output. Wherever you point it, that's where the next text shows up. Main character energy, honestly.
And here's the tea, bestie β you don't have to do it this way. You can also set the x and y values separately, by calling PS_set_value(3) and picking 'textx' and 'texty' respectively as the value name. Two lil calls instead of one. Whatever vibe you're feeling π«Ά
π SEE ALSO π
π AUTHOR π
This manual page was written by Uwe Steinmann <uwe@steinmann.cx>. Iconic of him, fr fr π
And that's the whole page, bestie β PS_set_text_pos(3), hanging out in section 3, the Library Functions Manual π No cap, you now know everything this page knows. Periodt π
π¦ 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