SYNOPSIS

#include <aalib.h>

void aa_render

(

aa_context *c,

const aa_renderparams *p,

int x1,

int y1,

int x2,

int y2

);

PARAMETERS

aa_context *c

Specifies the AA-lib context to operate on.

const aa_renderparams *p

Rendering parametters used to specify brightness, gamma correction and other usefull stuff. Use aa_defrenderparams for default values.

int x1

Column of top left coner of rendered area (in characters!).

int y1

Row of top left coner of rendered area.

int x2

Column of bottom right coner of rendered area.

int y2

Row of bottom right coner of rendered area.

DESCRIPTION

This function does the trick of converting the emulated framebuffer into high quality ASCII-art. If you want to be really fast, you might use aa_fastrender. If you want to emulate palette, use aa_renderpalette.

Note that to see the effect you need to call aa_flush too.

First call to this function may take a while, because the rendering tables are produced.

RELATED TO aa_render…