PS_FILL(3)

πŸ’– PS_FILL β€” bestie, let's fill this path πŸ’–

okay so real talk, this page is PS_fill from the Library Functions Manual, and it is exactly as unhinged-simple as it sounds: it fills the current path. that's it. that's the whole job. she's an icon, she's a queen, she does one thing and she does it πŸ’…


✨ SYNOPSIS ✨

#include <pslib.h>

void PS_fill(PSDoc *psdoc)

so you're pulling in <pslib.h>, and then you're calling PS_fill with a single PSDoc *psdoc and getting nothing back β€” she returns void, bestie. no return value, no crumbs, no feedback. she just does it 🫢


🌸 DESCRIPTION 🌸

PS_fill fills the path that you constructed with all those drawing functions you called earlier β€” think PS_lineto(3) and friends. you build the path, she fills it in. the way that this is the entire description and it's still a serve?? periodt ✨

so like, the flow is: you've been out here calling path-building functions, drawing your little lines and shapes, and then PS_fill comes in at the end and says "okay bestie, I'll take it from here" and fills the whole thing in. no cap πŸŽ€

ngl there is literally nothing else documented here. no options, no flags, no return values, no error list. she's minimal. she's mysterious. she's giving main character energy 😌

πŸ‘‘ SEE ALSO πŸ‘‘

  • PS_stroke(3) β€” the sibling who outlines instead of filling
  • PS_fill_stroke(3) β€” the overachiever who does both, obsessed with her fr fr

πŸ¦‹ AUTHOR πŸ¦‹

this manual page was written by Uwe Steinmann <uwe@steinmann.cx>. thank you for your service, king 🌈


and that's the whole page, bestie!! it's giving short and sweet and honestly kind of iconic for it. this was PS_FILL(3) from the Library Functions Manual β€” no version or date drama on this one, she just signs off as PS_FILL(3) and dips πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from