PS_TRANSLATE(3)
okay so this is from the Library Functions Manual, page PS_TRANSLATE(3), and we're about to get into it. Strap in, bestie. π
β¨ NAME β¨
PS_translate β sets translation. That's the whole thing. No cap.
π¦ SYNOPSIS π¦
#include <pslib.h>
void PS_translate(PSDoc *psdoc, float x, float y)
πΈ DESCRIPTION πΈ
Okay so real talk: PS_translate sets a new initial point of the coordinate system. That's it. That's the vibe. It's giving "move the origin, move the whole world" energy, and honestly? Obsessed. You hand it your psdoc, plus your x and y floats, and boom β new starting point unlocked. Slay. π
π SEE ALSO π
These are its besties, fr fr. Go check them out if you also wanna rotate or scale. iykyk. π¦
π AUTHOR π
This manual page was written by Uwe Steinmann uwe@steinmann.cx. Iconic behavior, honestly. We love a documented function. π«Ά
π that's the whole page, bestie. From the Library Functions Manual, page PS_TRANSLATE(3). No date on this one β just pure Unix fairy dust. Periodt. π§β¨
π¦ 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