Purpose
Opcode format | Opcode | Operand Format | Comments |
Extended ASCII | (Viewport | [<ws><TName>\
[<ws><ICount>[<ws><IXi>,<IYi>]+\ <ws><TUnits><ws>\ ((<FM00><ws><FM01><ws><FM02><ws><FM03>)\ (<FM10><ws><FM11><ws><FM12><ws><FM13>)\ (<FM20><ws><FM21><ws><FM22><ws><FM23>)\ (<FM30><ws><FM31><ws><FM32><ws><FM33>))]]) |
Specifies a clipping region of the current viewing region. |
Count The number of points that define the viewport. When using the binary operand form, a value of zero for count indicates that an extended count will follow. In the ASCII operand case, count may be any value larger than zero.
Xi ,Yi The ith point (in logical coordinates) that circumscribe a region defining the viewport
Units If the viewport is changing the scale of the subsequent geometry, then a Units opcode will be inserted.
To deactivate the viewing region, the Viewport opcode is presented without any arguments: