PS_SHOW_XY2(3)

✨ PS_SHOW_XY2 ✨

okay bestie, welcome to the pslib corner of the manual πŸ’– this one lives in the Library Functions Manual, and it's literally just a lil function that puts text exactly where you tell it to. no drama, no cap.


🌸 NAME 🌸

PS_show_xy2 β€” output text at a given position 🎯

like. that's it. that's the whole job. it drops your text at the coordinates you hand it, and it will not go past the length you allow. obsessed.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pslib.h>

void PS_show_xy2(PSDoc *psdoc, char *text, int xlen, float x, float y)

yes queen, pull in pslib.h first or nothing works, periodt. πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

So the way this works: PS_show_xy2 outputs a text at the given text position. No more than xlen will be shown. that's the vibe check right there β€” xlen is your hard limit, your cap, your "we're not doing more than this today" βœ‹βœ¨

the arguments are giving very much:

  • psdoc β€” your PSDoc *, the document you're writing into. main character energy 🫢
  • text β€” the char * text you wanna show.
  • xlen β€” an int, the max amount that's allowed to show up. anything past it? nope, not today πŸ’€
  • x β€” a float, the x position.
  • y β€” a float, the y position.

and it returns void, so don't be out here waiting for a return value, bestie, there isn't one πŸŽ€


⭐ SEE ALSO ⭐


🌼 AUTHOR 🌼

This manual page was written by Uwe Steinmann uwe@steinmann.cx. thank you for your service, legend πŸ«‘πŸ’–


that's the whole page, bestie β€” go position some text, you're gonna slay ✨

Library Functions Manual Β· pslib Β· signing off as PS_SHOW_XY2(3) πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from