1aa_render(3)               Library Functions Manual               aa_render(3)
2
3
4

NAME

6       aa_render - convert image buffer to ASCII-art.
7

SYNOPSIS

9       #include <aalib.h>
10
11       void aa_render
12       (
13            aa_context *c,
14            const aa_renderparams *p,
15            int x1,
16            int y1,
17            int x2,
18            int y2
19       );
20

PARAMETERS

22       aa_context *c
23              Specifies the AA-lib context to operate on.
24
25       const aa_renderparams *p
26              Rendering  parametters used to specify brightness, gamma correc‐
27              tion and other usefull stuff. Use aa_defrenderparams for default
28              values.
29
30       int x1 Column of top left coner of rendered area (in characters!).
31
32       int y1 Row of top left coner of rendered area.
33
34       int x2 Column of bottom right coner of rendered area.
35
36       int y2 Row of bottom right coner of rendered area.
37

DESCRIPTION

39       This  function  does  the  trick of converting the emulated framebuffer
40       into high quality ASCII-art. If you want to be really fast,  you  might
41       use  aa_fastrender.   If  you  want  to emulate palette, use aa_render‐
42       palette.
43
44       Note that to see the effect you need to call aa_flush too.
45
46       First call to this function may take a  while,  because  the  rendering
47       tables are produced.
48

SEE ALSO

50       save_d(3), mem_d(3), aa_help(3), aa_formats(3), aa_fonts(3), aa_dither‐
51       names(3),    aa_drivers(3),    aa_kbddrivers(3),    aa_mousedrivers(3),
52       aa_kbdrecommended(3), aa_mouserecommended(3), aa_displayrecommended(3),
53       aa_defparams(3),         aa_defrenderparams(3),         aa_scrwidth(3),
54       aa_scrheight(3),    aa_mmwidth(3),    aa_mmheight(3),   aa_imgwidth(3),
55       aa_imgheight(3),  aa_image(3),  aa_text(3),  aa_attrs(3),   aa_current‐
56       font(3),    aa_autoinit(3),   aa_autoinitkbd(3),   aa_autoinitmouse(3),
57       aa_recommendhi(3),   aa_recommendlow(3),   aa_init(3),   aa_initkbd(3),
58       aa_initmouse(3),   aa_close(3),   aa_uninitkbd(3),   aa_uninitmouse(3),
59       aa_fastrender(3), aa_puts(3), aa_printf(3),  aa_gotoxy(3),  aa_hidecur‐
60       sor(3),  aa_showcursor(3),  aa_getmouse(3),  aa_hidemouse(3),  aa_show‐
61       mouse(3),   aa_registerfont(3),   aa_setsupported(3),    aa_setfont(3),
62       aa_getevent(3),    aa_getkey(3),   aa_resize(3),   aa_resizehandler(3),
63       aa_parseoptions(3),   aa_edit(3),   aa_createedit(3),    aa_editkey(3),
64       aa_putpixel(3),  aa_recommendhikbd(3), aa_recommendlowkbd(3), aa_recom‐
65       mendhimouse(3),   aa_recommendlowmouse(3),    aa_recommendhidisplay(3),
66       aa_recommendlowdisplay(3)
67
68
69
70c2man aalib.h                  8 September 1999                   aa_render(3)
Impressum