xor_mode(3)
β¨ NAME β¨
xor_mode β bestie it's literally just a shortcut for flipping xor drawing mode on and off π
(also, hi, you're in the Allegro game programming library manual, welcome π«Ά)
πΈ SYNOPSIS πΈ
#include <allegro.h>
void xor_mode(int on);
π DESCRIPTION π
okay so. this is a shortcut for toggling xor drawing mode on and off. that's it. that's the whole job. she's a tiny little convenience function and she is serving β¨
calling xor_mode(TRUE) is equivalent to:
drawing_mode(DRAW_MODE_XOR, NULL, 0, 0)
and calling xor_mode(FALSE) is equivalent to:
drawing_mode(DRAW_MODE_SOLID, NULL, 0, 0)
so like, instead of typing out the whole drawing_mode(...) situation every single time, you just yell TRUE or FALSE at this girl and she handles it. lowkey iconic. no cap. π
note bestie:TRUE= xor mode ON,FALSE= back to solid mode. don't get it twisted π
π¦ SEE ALSO π¦
drawing_mode(3)β the full version, the main character πexspline(3)exupdate(3)
that's the whole page babes π this was the Allegro manual, version 4.4.3, and xor_mode(3) ate and left no crumbs. mwah π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms