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
PS_rotate(3)β the rotation bestiePS_translate(3)β the "move it over there" bestie
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
- 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