C Language and Libraries Help (clang.hlp) (Table of Contents; 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
─────Run-Time Library───────────────────────────────────────────────────────
 
     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. Note
     that the _pg_initchart function can only be called after using
     the _setvideomode function to establish the video mode. Also,
     _pg_initchart must be called after each change of the video mode.
 
     The _pg_initchart function assumes a valid graphics mode has been
     established. Therefore, it must be called only after a successful
     call to _setvideomode. Also, _pg_initchart must be called after
     each call to _setvideomode.
 
     Return Value
 
     The _pg_initchart function returns 0 if there were no errors. A
     nonzero value indicates a failure.
                                    -♦-