aa_fastrender(3)

πŸ’– NAME πŸ’–

okay bestie, welcome to aa_fastrender β€” it's the simple and fast AA-lib rendering function, fr fr. that's the whole vibe. this page lives in the Library Functions Manual, and yeah, we're talking about aa_fastrender(3) specifically, so buckle up πŸŽ€


✨ SYNOPSIS ✨

#include <aalib.h>

void aa_fastrender
(
     aa_context *c,
     int x1,
     int y1,
     int x2,
     int y2
);

like, she's giving minimal, she's giving efficient, she's giving function signature πŸ’…


🌸 PARAMETERS 🌸

  • aa_context *c β€” the AA-lib context you wanna operate on. that's your girl, your canvas, your whole world basically.
  • int x1 β€” column of the top left coner of the rendered area. and yes bestie, that's in characters! not pixels, not vibes, characters. πŸ‘‘
  • int y1 β€” row of the top left coner of the rendered area.
  • int x2 β€” column of the bottom right coner of the rendered area.
  • int y2 β€” row of the bottom right coner of the rendered area.

so basically you're handing her a lil rectangle in character-space and she's gonna do her thing inside it πŸ¦‹


🫢 DESCRIPTION 🫢

okay so here's the tea β˜• β€” this function does the trick of converting the emulated framebuffer into high quality ASCII-art. she is slightly faster and less flexible than the aa_render function. so if you want speed, she's your main character. if you want flexibility… different girl, different page, iykyk.

⚠️ note that to see the effect you need to call aa_flush too. no flush, no visual. that's just how it is bestie 😭

also, heads up: the first call to this function may take a while, because the rendering tables are produced. she's building her little setup behind the scenes β€” one-time thing, then she's fast. 🌈


πŸ’œ SEE ALSO πŸ’œ

okay so the whole friend group, no one left out, periodt:

save_d(3), mem_d(3), aa_help(3), aa_formats(3), aa_fonts(3), aa_dithernames(3), aa_drivers(3), aa_kbddrivers(3), aa_mousedrivers(3), aa_kbdrecommended(3), aa_mouserecommended(3), aa_displayrecommended(3), aa_defparams(3), aa_defrenderparams(3), aa_scrwidth(3), aa_scrheight(3), aa_mmwidth(3), aa_mmheight(3), aa_imgwidth(3), aa_imgheight(3), aa_image(3), aa_text(3), aa_attrs(3), aa_currentfont(3), aa_autoinit(3), aa_autoinitkbd(3), aa_autoinitmouse(3), aa_recommendhi(3), aa_recommendlow(3), aa_init(3), aa_initkbd(3), aa_initmouse(3), aa_close(3), aa_uninitkbd(3), aa_uninitmouse(3), aa_render(3), aa_puts(3), aa_printf(3), aa_gotoxy(3), aa_hidecursor(3), aa_showcursor(3), aa_getmouse(3), aa_hidemouse(3), aa_showmouse(3), aa_registerfont(3), aa_setsupported(3), aa_setfont(3), aa_getevent(3), aa_getkey(3), aa_resize(3), aa_resizehandler(3), aa_parseoptions(3), aa_edit(3), aa_createedit(3), aa_editkey(3), aa_putpixel(3), aa_recommendhikbd(3), aa_recommendlowkbd(3), aa_recommendhimouse(3), aa_recommendlowmouse(3), aa_recommendhidisplay(3), aa_recommendlowdisplay(3)


and that's the whole page, bestie πŸ’–βœ¨πŸŽ€

this iconic lil doc came to you courtesy of c2man from aalib.h, dated 8 September 1999 β€” yeah she's vintage, she's timeless, she ate and left no crumbs πŸ‘‘πŸ’… go call aa_flush now, mwah 🫢🌸