=======
Control
=======

Functions to manipulate what is visible on the EZGL canvas. These functions are used by EZGL's predefined buttons, but application code can also call them directly when needed.

Zoom Functions
-------------

.. doxygenfunction:: ezgl::zoom_in(canvas*, double)
   :project: ezgl

.. doxygenfunction:: ezgl::zoom_out(canvas*, double)
   :project: ezgl

.. doxygenfunction:: ezgl::zoom_in(canvas*, point2d, double)
   :project: ezgl

.. doxygenfunction:: ezgl::zoom_out(canvas*, point2d, double)
   :project: ezgl

.. doxygenfunction:: ezgl::zoom_fit
   :project: ezgl

Translation Functions
--------------------

.. doxygenfunction:: ezgl::translate
   :project: ezgl

.. doxygenfunction:: ezgl::translate_up
   :project: ezgl

.. doxygenfunction:: ezgl::translate_down
   :project: ezgl

.. doxygenfunction:: ezgl::translate_left
   :project: ezgl

.. doxygenfunction:: ezgl::translate_right
   :project: ezgl