aa_mmwidth(3)

πŸ’– aa_mmwidth πŸ’–

okay bestie, so this is a page from the Library Functions Manual β€” it's the aa_mmwidth(3) manual, and it's literally about one single tiny glorious number. we're in the AA-lib cinematic universe and honestly? it's giving ✨pixel-crunching✨. let's get into it 🫢


🌸 NAME 🌸

aa_mmwidth β€” returns width of the output screen in millimeters. that's it. that's the whole job. it measures ur screen's width, in millimeters, fr fr πŸ“πŸ’…


✨ SYNOPSIS ✨

#include <aalib.h>

int aa_mmwidth(aa_context *a);

πŸŽ€ PARAMETERS πŸŽ€

  • aa_context *a β€” Specifies the AA-lib context to operate on. so like, u gotta hand it the context u want it to poke at. it's the "which screen, bestie?" argument πŸ‘‘ no context, no answer.

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns width of the output screen in millimeters.

that's the entire description. one sentence. no cap. this function is the strong silent type β€” it takes ur context, it looks at ur output screen, and it tells u how wide that thing is in millimeters. iconic minimalism tbh πŸ’œ

heads up: this is the output screen width in millimeters, not pixels. if u wanted pixels that's a whole different function (see below, iykyk) 🌈

πŸ’« SEE ALSO πŸ’«

the whole aalib friend group came thru 🫢 every single one of them:


and that's the whole page bestie, we ate and left absolutely zero crumbs πŸ’…βœ¨

this lil masterpiece was rendered by c2man out of aalib.h, dated 8 September 1999 β€” yeah it's vintage, it's an elder, and it still serves πŸ‘‘πŸ’–