XcmsQueryBlack(3)

πŸ’… XcmsQueryBlack(3) β€” the XLIB FUNCTIONS girlies

okay so bestie, welcome to the <pink>XLIB FUNCTIONS</pink> corner of the manual. this one's a five-for-one squad of functions that pull pure black, blue, green, red, and white CCC color specs out of the X color engine. no cap, it's giving "color theory but make it C". 🎨✨


🌈 NAME

XcmsQueryBlack, XcmsQueryBlue, XcmsQueryGreen, XcmsQueryRed, XcmsQueryWhite β€” literally the whole friend group: they obtain black, blue, green, red, and white CCC color specifications. periodt. πŸ’…


✨ SYNTAX

all five have the exact same signature, which is lowkey iconic of them:

Status XcmsQueryBlack(XcmsCCC ccc, XcmsColorFormat target_format,
       XcmsColor *color_return);

Status XcmsQueryBlue(XcmsCCC ccc, XcmsColorFormat target_format,
       XcmsColor *color_return);

Status XcmsQueryGreen(XcmsCCC ccc, XcmsColorFormat target_format,
       XcmsColor *color_return);

Status XcmsQueryRed(XcmsCCC ccc, XcmsColorFormat target_format,
       XcmsColor *color_return);

Status XcmsQueryWhite(XcmsCCC ccc, XcmsColorFormat target_format,
       XcmsColor *color_return);

πŸŽ€ ARGUMENTS

  • ccc β€” specifies the CCC. heads up bestie: the CCC's Client White Point and White Point Adjustment procedures are ignored. not consulted. not invited to the group chat. πŸ™ˆ
  • color_return β€” returns the color specification in the specified target format. the white point associated with the returned color specification is the Screen White Point. and the value returned in the pixel member is undefined πŸ’€ so don't go trusting it, fr fr.
  • target_format β€” specifies the target color specification format. that's the whole vibe of it.

πŸ¦‹ DESCRIPTION

  • XcmsQueryBlack returns the color specification in the specified target format for zero-intensity red, green, and blue. that's the void, the darkness, the "no thoughts head empty" of colors. πŸ–€
  • XcmsQueryBlue returns the color specification in the specified target format for full-intensity blue while red and green are zero. main character blue energy, everyone else stays home. πŸ’™
  • XcmsQueryGreen returns the color specification in the specified target format for full-intensity green while red and blue are zero. slay, nature, slay. πŸ’š
  • XcmsQueryRed returns the color specification in the specified target format for full-intensity red while green and blue are zero. she ate and left zero crumbs for the other channels. ❀️ πŸ”₯
  • XcmsQueryWhite returns the color specification in the specified target format for full-intensity red, green, and blue. all three channels maxed out, all of them invited, the whole rainbow said yes. 🀍 ✨

πŸ‘€ SEE ALSO


🫢 real talk: every one of these returns a Status, so check it. and again β€” pixel member? undefined. don't build your whole personality on it. πŸ’€

k bye bestie, xoxo πŸ’– this page came straight outta X Version 11, shipped with libX11 1.8.14 β€” dated, iconic, and still serving. πŸŽ€πŸŒΈπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from