PS_SCALE(3)

πŸ’… PS_scale β€” the glow-up for your coordinate system

okay so bestie, welcome to PS_scale, straight out of the Library Functions Manual, section 3 ✨ it lives in the <pslib.h> cinematic universe and its whole job is scaling β€” like, the actual function name literally says it: "Sets scaling factor" πŸŽ€


🌸 SYNOPSIS

#include <pslib.h>

void PS_scale(PSDoc *psdoc, float x, float y)

so you pull in <pslib.h> first, periodt, then you call PS_scale with your doc pointer and two floats. that's the whole vibe πŸ¦‹


🫢 DESCRIPTION

okay so what does it do: it sets the horizontal and vertical scaling of the coordinate system. that's it, that's the function. it's giving "simple, iconic, does exactly one thing and does it well" πŸ‘‘

x handles the horizontal direction, y handles the vertical one β€” and they're both just floats, so go off with whatever numbers you need πŸ’–


πŸ”₯ SEE ALSO

the whole trio lowkey slays together, iykyk 🌈


πŸ‘‘ AUTHOR

this manual page was written by Uwe Steinmann uwe@steinmann.cx β€” no cap, credit where credit's due, thank you for your service πŸ«‘πŸ’œ


and that's the page!! fr fr it's from the Library Functions Manual and it's PS_SCALE(3) β€” no date stamp on this one, the footer is just the name and honestly? minimalism ate πŸ’…βœ¨

πŸ“¦ where this page comes from