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β yourPSDoc *, the document you're writing into. main character energy π«Άtextβ thechar *text you wanna show.xlenβ anint, the max amount that's allowed to show up. anything past it? nope, not today πxβ afloat, the x position.yβ afloat, 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 β
PS_show_xy(3)β the sibling, iykyk πPS_continue_text(3)β for when you wanna keep the text flowing π
πΌ 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
- 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