15 #ifndef QGSHIGHLIGHT_H
16 #define QGSHIGHLIGHT_H
24 #include <QPainterPath>
36 void setColor(
const QColor & color );
37 void setWidth(
int width );
40 virtual void paint( QPainter* p );
46 void paintPoint( QPainter *p,
QgsPoint point );
48 void paintPolygon( QPainter *p,
QgsPolygon polygon );
QVector< QgsPoint > QgsPolyline
polyline is represented as a vector of points
An abstract class for items that can be placed on the map canvas.
A geometry is the spatial representation of a feature.
Map canvas is a class for displaying all GIS data types on a canvas.
A class for highlight features on the map.
QVector< QgsPolyline > QgsPolygon
polygon: first item of the list is outer ring, inner rings (if any) start from second item ...
A class to represent a point geometry.
virtual void paint(QPainter *painter)=0
function to be implemented by derived classes
Represents a vector layer which manages a vector based data sets.