PS_CLOSEPATH_STROKE(3)
π PS_CLOSEPATH_STROKE β bestie edition π
okay so this is a page from the Library Functions Manual, and today's main character is PS_closepath_stroke, living its best life in section 3. it's giving "small but mighty" β¨
πΈ NAME πΈ
PS_closepath_stroke β closes a path and strokes it. yes, both. it's an overachiever, we love that for it π
β¨ SYNOPSIS β¨
#include <pslib.h>
void PS_closepath_stroke(PSDoc *psdoc)
like, that's it. that's the whole entrance. no return value, no drama, just vibes and a PSDoc * π¦
π DESCRIPTION π
so here's the tea, bestie β: this function connects the last point of a path with the first point β like when you finally text back and the convo just loops back around, iconic β and then it draws the resulting closed line.
translation? the path gets sealed shut AND inked in one go. no cap, it's literally doing two jobs with one function call. main character energy fr fr π
lowkey important: it's the "close it up" step and the "draw it" step fused together, so you don't have to call them separately. efficient queen π«Ά
π₯ SEE ALSO π₯
PS_closepath(3)β the sibling that closes without the stroking. same family, different vibe π
π AUTHOR π
this manual page was written by Uwe Steinmann β hmu at uwe@steinmann.cx if you wanna say thanks π
okay that's the whole page, we're done here π thank u for coming to my ted talk. this lil slice of the Library Functions Manual β brought to you by PS_CLOSEPATH_STROKE(3) β is signing off, 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