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