1aa_printf(3) Library Functions Manual aa_printf(3)
2
3
4
6 aa_printf - print text to AA-lib output buffers.
7
9 #include <aalib.h>
10
11 int aa_printf
12 (
13 aa_context *c,
14 int x,
15 int y,
16 enum aa_attribute attr,
17 const char *fmt,
18 ...
19 );
20
22 aa_context *c
23 Specifies the AA-lib context to operate on.
24
25 int x X coordinate of the first character.
26
27 int y Y coordinate of the first character.
28
29 enum aa_attribute attr
30 Attribute to use.
31
32 Possible values for an enum aa_attribute are as follows:
33 AA_NORMAL Normal characters.
34 AA_DIM Dark characters.
35 AA_BOLD Bright characters.
36 AA_BOLDFONT Characters rendered in bold font.
37 AA_REVERSE Reversed (black on whilte) characters.
38 AA_SPECIAL Render characters in a way easilly visible on the
39 screen. The exact rendering is driver dependent,
40 but this mode ought to be used to output texts you
41 want to make easilly visible in the image.
42
43 const char *fmt
44 Text to output in standard printf format.
45
46 ... Not Documented.
47
49 Print given text to AA-lib output buffers. To see the effect you need
50 to call aa_flush too.
51
53 save_d(3), mem_d(3), aa_help(3), aa_formats(3), aa_fonts(3), aa_dither‐
54 names(3), aa_drivers(3), aa_kbddrivers(3), aa_mousedrivers(3),
55 aa_kbdrecommended(3), aa_mouserecommended(3), aa_displayrecommended(3),
56 aa_defparams(3), aa_defrenderparams(3), aa_scrwidth(3),
57 aa_scrheight(3), aa_mmwidth(3), aa_mmheight(3), aa_imgwidth(3),
58 aa_imgheight(3), aa_image(3), aa_text(3), aa_attrs(3), aa_current‐
59 font(3), aa_autoinit(3), aa_autoinitkbd(3), aa_autoinitmouse(3),
60 aa_recommendhi(3), aa_recommendlow(3), aa_init(3), aa_initkbd(3),
61 aa_initmouse(3), aa_close(3), aa_uninitkbd(3), aa_uninitmouse(3),
62 aa_fastrender(3), aa_render(3), aa_puts(3), aa_gotoxy(3), aa_hidecur‐
63 sor(3), aa_showcursor(3), aa_getmouse(3), aa_hidemouse(3), aa_show‐
64 mouse(3), aa_registerfont(3), aa_setsupported(3), aa_setfont(3),
65 aa_getevent(3), aa_getkey(3), aa_resize(3), aa_resizehandler(3),
66 aa_parseoptions(3), aa_edit(3), aa_createedit(3), aa_editkey(3),
67 aa_putpixel(3), aa_recommendhikbd(3), aa_recommendlowkbd(3), aa_recom‐
68 mendhimouse(3), aa_recommendlowmouse(3), aa_recommendhidisplay(3),
69 aa_recommendlowdisplay(3)
70
71
72
73c2man aalib.h 8 September 1999 aa_printf(3)