26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_POLYGONACQUIRE_H 
   27 #define __TERRALIB_QT_WIDGETS_INTERNAL_POLYGONACQUIRE_H 
   30 #include "../../../geometry/Coord2D.h" 
   31 #include "../../../geometry/Polygon.h" 
   32 #include "../Config.h" 
   36 #include <QPainterPath> 
   89           bool mousePressEvent(QMouseEvent* e);
 
   91           bool mouseMoveEvent(QMouseEvent* e);
 
   93           bool mouseReleaseEvent(QMouseEvent* e);
 
   95           bool mouseDoubleClickEvent(QMouseEvent* e);
 
  103           void drawLine(
Canvas& canvas);
 
  105           void drawPolygon(
Canvas& canvas);
 
  111           void onExtentChanged();
 
  130 #endif  // __TERRALIB_QT_WIDGETS_INTERNAL_POLYGONACQUIRE_H 
An utility struct for representing 2D coordinates. 
 
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.