PS_CLIP(3)
π PS_CLIP π
ok bestie, welcome to the PS_CLIP(3) page β she lives in the Library Functions Manual and she's here to teach you one (1) extremely specific trick β¨
πΈ NAME πΈ
PS_clip β clips drawing to current path π
like, it's giving "stay in your lane" but make it vector graphics.
π¦ SYNOPSIS π¦
#include <pslib.h>
void PS_clip(PSDoc *psdoc)
that's it. that's the whole vibe. one function, one argument, no return value, no drama π
β¨ DESCRIPTION β¨
okay so here's the tea β β PS_clip takes the current path and uses it to define the border of a clipping area.
that's literally the whole job. the path you already built? she becomes the fence. anything you draw after this only shows up inside that fence. no cap, that's it, that's the function π«Ά
π₯ SEE ALSO π₯
PS_closepath(3)β go close that path first, bestie, iykyk π§
π AUTHOR π
This manual page was written by Uwe Steinmann uwe@steinmann.cx. give her her flowers π periodt.
sign-off moment π this lil page is PS_CLIP(3) from the Library Functions Manual β same name up top, same name down at the bottom, she's consistent like that β¨ take care of your paths and your paths will take care of you, mwah ππ
π¦ 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