20 #ifndef __TERRALIB_LAYOUT_INTERNAL_VIEWZOOM_H
21 #define __TERRALIB_LAYOUT_INTERNAL_VIEWZOOM_H
24 #include "../../../core/Config.h"
25 #include "../AbstractViewTool.h"
68 ViewZoom(
View* view,
const double& zoomFactor = 2.0,
const ViewZoomType& type = TypeIn, QObject* parent = 0);
80 void setZoomType(
const ViewZoomType& type);
89 void applyZoom(
const QPointF& point = QPointF());
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
ViewZoomType m_zoomType
Enum that indicates the zoom type.
Class representing the view. This view is child of QGraphicsView, part of Graphics View Framework...
double m_zoomFactor
Factor used to zoom. i.e. A factor value of 2.0 (default) will generate a new extent twice (%) bigger...
ViewZoomType
Defines the zoom type.