PS_CONTINUE_TEXT(3)

πŸ’– PS_CONTINUE_TEXT(3) πŸ’–

okay bestie, so this is a page from the Library Functions Manual, and it's about PS_continue_text β€” she's a lib function, she lives in pslib.h, and she is literally the "and then a new line" girl of the pslib text world. no cap. πŸ¦‹


✨ NAME ✨

PS_continue_text β€” continue text in the next line, slay πŸ’…


🌸 SYNOPSIS 🌸

#include <pslib.h>

void PS_continue_text(PSDoc *psdoc, char *text)

πŸŽ€ DESCRIPTION πŸŽ€

so here's the tea πŸ“: this function outputs a text one line below the last outputted line. like, it's the "press enter but make it art" of the library. the way it just… moves down a line and keeps going. iconic.

the text you hand her must be null terminated, periodt. don't be out here passing half-strings and expecting main character energy. 🫢

the line spacing? not a vibe she decides on her own, bestie β€” she takes it from the value "leading", which you have to set with PS_set_value(3) and it's measured in points. so if your lines look cramped, that's on you and your leading, not on her. πŸ™ˆ

and the actual position of the text? that's determined by the values "textx" and "texty", which you can request with PS_get_value(3). so if you ever need to know where the text is about to land β€” ask her, she'll tell you. πŸ’–

lowkey important: "leading", "textx" and "texty" are the whole personality of this function. forget them and the text is just floating around with no sense of direction. 😭

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Uwe Steinmann <uwe@steinmann.cx>. we love a documentation king. πŸ’œ


and that's the whole page, babes β€” PS_CONTINUE_TEXT(3) from the Library Functions Manual, written by Uwe Steinmann, straight out of the pslib universe. go forth and continue your text in the next line, you've got this. πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from