15 #ifndef QGSHIGHLIGHT_H
16 #define QGSHIGHLIGHT_H
27 #include <QPainterPath>
49 void setColor(
const QColor & color );
52 void setWidth(
int width );
55 virtual void paint( QPainter* p );
62 void setSymbolColor(
QgsSymbolV2* symbol,
const QColor & color );
63 void paintPoint( QPainter *p,
QgsPoint point );
65 void paintPolygon( QPainter *p,
QgsPolygon polygon );
Base class for all map layer types.
QVector< QgsPoint > QgsPolyline
polyline is represented as a vector of points
An abstract class for items that can be placed on the map canvas.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Map canvas is a class for displaying all GIS data types on a canvas.
A class for highlight features on the map.
QgsFeatureRendererV2 * mRenderer
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
QColor mTemporaryFillColor
Represents a vector layer which manages a vector based data sets.