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 πŸ”₯


πŸ‘‘ 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