GNU Info

Info Node: (aalib.info)Initialization as a normal graphics library

(aalib.info)Initialization as a normal graphics library


Next: Initialization as an ascii art renderer Prev: Initialization Up: Initialization
Enter node , (file) or (file)node

Initialization as normal graphics library
=========================================

   If you initialize AA-lib as a normal graphics library you can use one
of available hardware drivers. It initializes a display device and sets
the output to the screen. Hardware drivers depend on a platform you are
running at, configuration of your computer and many other things.
Typically more than one driver is available. AA-lib can make the
decision for you if you use `aa_autoinit' function:

     aa_context *aa_autoinit(struct aa_hardware_params *PARAMS)

   This function initializes the hardware driver and returns
`aa_context' structure used by other functions.  `NULL' is returned on
failure.  Parameter PARAMS is used to specify hardware parameters you
require.

Easy initialization of AA-lib
Parsing of command line options
How does the autodetection work
Recommending drivers

automatically generated by info2www version 1.2.2.9