Go to the previous, next section.
aa_renderparams *aa_getrenderparams(void);
This functions allocates a copy of aa_defrenderparams variable. It should be used by aplications that use more rendering parameters and that don't want to change aa_defrenderparams every time.
int aa_registerfont(struct aa_font *f);
This functions allows you to register a new font into font databaze (that is
contained in aa_fonts
array). This is often used by hardware drivers
(that autodetect their fonts @dots{}).
void aa_setsupported(aa_context *c, int supported);
Allows you to change a supported variable (see Initialization) at runtime.
void aa_setfont(aa_context *c, struct aa_font *font);
Allows you to change a font used for approximation tables at runtime.
void aa_edit(aa_context *c, int x, int y, int size, char *s, int maxsize);
A simple line editor: X
, y
, size
express possitions
of editor window, s
-- pointer to string you may want to edit and
maxsize
specifies the maximal size of input line.
struct aa_edit *aa_createedit(aa_context *c, int x, int y, int size, char *s, int maxsize); void aa_editkey(struct aa_edit *e, int c);
Event handled version of an editor. aa_createedit
fills in the struct
aa_edit
for the input line and aa_editkey
processes an event for
editor. Can be used by some "user friendly (huh:)" aplications@dots{}.
Go to the previous, next section.