◄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. -♦-