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