18 #ifndef QGSGEOMETRYRUBBERBAND_H 19 #define QGSGEOMETRYRUBBERBAND_H 82 void setFillColor(
const QColor &
c );
84 void setStrokeColor(
const QColor &c );
86 void setStrokeWidth(
int width );
88 void setLineStyle( Qt::PenStyle penStyle );
90 void setBrushStyle( Qt::BrushStyle brushStyle );
95 void paint( QPainter *painter )
override;
105 void drawVertex( QPainter *p,
double x,
double y );
109 #endif // QGSGEOMETRYRUBBERBAND_H A circle is used to highlight points (○)
void setIconType(IconType iconType)
Sets vertex marker icon type.
A rectangle specified with double values.
A cross is used to highlight points (+)
A box is used to highlight points (□)
An abstract class for items that can be placed on the map canvas.
Map canvas is a class for displaying all GIS data types on a canvas.
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c
Utility class for identifying a unique vertex within a geometry.
Abstract base class for all geometries.
const QgsAbstractGeometry * geometry()
Returns a pointer to the geometry.
Point geometry type, with support for z-dimension and m-values.
virtual void paint(QPainter *painter)=0
function to be implemented by derived classes
GeometryType
The geometry types are used to group QgsWkbTypes::Type in a coarse way.
A rubberband class for QgsAbstractGeometry (considering curved geometries)
A cross is used to highlight points (x)