Need to Enforce the Graphics State Graph
Opened this issue · 0 comments
jmeaster30 commented
Figure 9 on page 113 shows a state graph of the allowed operators in each graphics mode.
- Path Object
- Starts with a move or a rect
- Only allow path construction operators
- exit Path Object through path-painting operators
- clipping path operators turn it into a clipping path object
- exit clipping path object with path-painting operators
- Text Object
- Starts with BT operator
- Ends with ET operator
- General Graphics State operators
- Color
- Text State
- Text Showing
- Text Positioning
- Marked Content
- Shading Object
- Just an "sh" operator
- In-line image object
- Starts with BI operator
- Ends with EI operator
- Only allow ID operators
- External object
- Just a Do operator