Macaulay2 » Documentation
Packages » VectorGraphics :: ViewPort
next | previous | forward | backward | up | index | toc

ViewPort -- Fix the view port

Description

An option to fix manually the view port range of a GraphicsObject. Only has an effect if in the outermost VectorGraphics object.

i1 : Circle{Radius=>1,"fill"=>"red",ViewPort=>{[0,0],[1,1]},Margin=>0}

o1 = Circle{cache => CacheTable{}             }
            Center => GraphicsCoordinate | 0 |
                                         | 0 |
                                         | 0 |
                                         | 1 |
            Margin => 0
            Radius => 1
            style => MutableHashTable{...1...}
            ViewPort => {| 0 |, | 1 |}
                         | 0 |  | 1 |

o1 : Circle

See also

For the programmer

The object ViewPort is a symbol.