graphics.hlp (Topic list)
_pg_initchart
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The _pg_initchart function initializes the presentation-graphics
     package. It initializes the color and style pools, resets the
     chartline style set, builds default palette modes, and reads the
     font definition from the disk.
 
     The _pg_initchart function is required in all programs that use
     presentation graphics. This function must be called before any of
     the other functions in the presentation-graphics library.
 
     The _pg_initchart function assumes a valid graphics mode has been
     established. Therefore, it must be called only after a successful
     call to the C library function _setvideomode.
 
     Return Value
 
     The _pg_initchart function returns 0 if there were no errors. A
     nonzero value indicates a failure.
                                    -♦-