PS_SETGRAY(3)

πŸ’… PS_SETGRAY β€” okay bestie, let's talk gray

so this is PS_setgray from the pslib crew (that's the Library Functions Manual girlies, section 3, iykyk) and honestly? she's giving minimalist icon. one job. sets a gray value. ate and left no crumbs. πŸŽ€


✨ NAME ✨

PS_setgray β€” sets the gray value, that's it, that's the whole vibe πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pslib.h>

void PS_setgray(PSDoc *psdoc, float gray)

like. look at her. two args. no notes. πŸ”₯


🌸 DESCRIPTION 🌸

okay so PS_setgray sets the gray value for all the drawing operations that come after it. not before. after. she's a forward-thinking queen, she does not do retrospect. πŸ‘‘

and the value? it's gotta be between 0 and 1, periodt. and like, let's be so fr about what those numbers mean:

  • 0 is black πŸ–€
  • 1 is white 🀍

that's the range, bestie. live in it. 🫢


πŸ’œ SEE ALSO πŸ’œ

  • PS_setcolor(3) β€” her sister, the one who does the whole entire rainbow 🌈

πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Uwe Steinmann uwe@steinmann.cx. iconic behavior, we love a documentation king πŸ’…βœ¨


okay that's the whole page, no cap. this lil gem lives in the Library Functions Manual (that's the section 3 girlies, the library function girlies, they're all so valid) and yes the header and footer both just say PS_SETGRAY(3) which is literally the most main character energy a page can have β€” her name, top and bottom, no date, no version, just vibes. πŸ¦‹πŸŒΈπŸ’–

πŸ“¦ where this page comes from