aa_printf (3) - Linux Manuals

aa_printf: print text to AA-lib output buffers.

NAME

aa_printf - print text to AA-lib output buffers.

SYNOPSIS

#include <aalib.h>

int aa_printf
(
       aa_context *c,

       int x,

       int y,

       enum aa_attribute attr,

       const char *fmt,

       ...

);

PARAMETERS

aa_context *c
Specifies the AA-lib context to operate on.
int x
X coordinate of the first character.
int y
Y coordinate of the first character.
enum aa_attribute attr
Attribute to use.

Possible values for an enum aa_attribute are as follows:

AA_NORMAL
Normal characters.
AA_DIM
Dark characters.
AA_BOLD
Bright characters.
AA_BOLDFONT
Characters rendered in bold font.
AA_REVERSE
Reversed (black on whilte) characters.
AA_SPECIAL
Render characters in a way easilly visible on the screen. The exact rendering is driver dependent, but this mode ought to be used to output texts you want to make easilly visible in the image.
const char *fmt
Text to output in standard printf format.
...
Not Documented.

DESCRIPTION

Print given text to AA-lib output buffers. To see the effect you need to call aa_flush too.