16 #ifndef QGSVERTEXMARKER_H    17 #define QGSVERTEXMARKER_H    41     if ( dynamic_cast<QgsVertexMarker *>( sipCpp ) )
    42       sipType = sipType_QgsVertexMarker;
    64     void setIconType( 
int iconType );
    73     void setColor( 
const QColor &color );
    81     QColor 
color()
 const { 
return mColor; }
    90     void setFillColor( 
const QColor &color );
   101     void setPenWidth( 
int width );
   103     void paint( QPainter *p ) 
override;
   112     int mIconType = ICON_X;
   121     QColor mColor = QColor( 255, 0, 0 );
   127     QColor mFillColor = QColor( 0, 0, 0, 0 );
 
A class to represent a 2D point. 
 
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. 
 
QRectF boundingRect() const override
 
QColor color() const
Returns the stroke color for the marker. 
 
QColor fillColor() const
Returns the fill color for the marker. 
 
A class for marking vertices of features using e.g. 
 
QSize iconSize(bool dockableToolbar)
Returns the user-preferred size of a window's toolbar icons. 
 
virtual void paint(QPainter *painter)=0
function to be implemented by derived classes 
 
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
 
virtual void updatePosition()
called on changed extent or resize event to update position of the item