font_glyph_rotate_180(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ font_glyph_rotate_180 πŸ’…

okay bestie, welcome to font_glyph_rotate_180(9) from the Kernel API Manual β€” yes literally the same name, she's iconic and she's not changing it for anyone πŸŽ€ this is the function that flips your glyph all the way around like it just heard the best gossip and needs to look 😭


🌸 NAME 🌸

font_glyph_rotate_180 β€” Rotate a glyph pattern by 180Β° πŸ¦‹

no cap, that's the whole gig: 180 degrees, half a full spin, the full glow-up in reverse 🌈


πŸŽ€ SYNOPSIS πŸŽ€

void font_glyph_rotate_180 (const unsigned char *glyph , unsigned int
width , unsigned int height , unsigned char *out );

look at her go, she takes absolutely zero shortcuts and returns exactly nothing (it's void, she's mysterious like that ✨). Keep the const on glyph β€” she's not gonna touch your input, periodt.


πŸ‘‘ ARGUMENTS πŸ‘‘

  • glyph β€” The glyph to rotate πŸ’– that's your input bitmap, the main character.
  • width β€” The glyph width in bits per scanline 🧚 yes, bits, not bytes, read it again bestie.
  • height β€” The number of scanlines in the glyph 🌸 that's the vertical situation, count them all.
  • out β€” The rotated glyph bitmap ⭐ this is where the 180Β°-flipped result lands.

πŸ”₯ DESCRIPTION πŸ”₯

so here's the vibe check: width and height describe the input glyph you passed in as glyph. they're the dimensions of what goes in, not what comes out πŸ‘€ (the shape doesn't change size when you spin it, it's giving same-size-different-orientation energy, but fr fr just remember those params belong to glyph).

and the important part, do not skip this:

The caller has to provide the output buffer out of sufficient size to hold the rotated glyph. like, you bring the buffer, she just writes into it πŸ’€ nobody's allocating for you, this is not a charity, mwah πŸ’…

🫢 SEE ALSO 🫢

go read those too, they all hang out in the same file and they're all slay in their own way 🌟


and that's the whole page, bestie πŸ’– this one came from ./lib/fonts, dated October 2026, and she answers to the name font_glyph_rotate_180(9) β€” now go rotate something 180 degrees and make it look incredible πŸŽ€βœ¨πŸ‘‘

πŸ“¦ where this page comes from