graphics.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_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.
                                    -♦-