Overview of the Ghostscript Core Library
masterThe Ghostscript library provides C procedures to implement graphics and filtering capabilities used in PostScript and PDF. It is divided into two main layers:
- High-level API (
gs_prefix): Implements PostScript graphics operators directly (e.g.,gs_moveto,gs_fill). This is the primary interface for most clients. It uses floating-point user coordinates and takes graphics state objects as arguments. - Lower-level API (
gx_prefix): Provides higher-performance, less general graphics facilities. These interfaces are less stable and typically use device coordinates in an internal fixed-point representation.
Note: Files prefixed with gz are internal and not intended for client use.