Each page object maintains a flag named "graphics mode".
The graphics mode corresponds to the graphics-object of the PDF specification.
The graphics mode is changed by invoking particular functions.
The functions that can be invoked are decided by the value of the graphics mode.
Graphics mode
Each page object maintains a flag named "graphics mode". The graphics mode corresponds to the graphics-object of the PDF specification. The graphics mode is changed by invoking particular functions. The functions that can be invoked are decided by the value of the graphics mode.