mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6909 c8812cc2-4d05-0410-92ff-de0c093fc19c
39 lines
607 B
Plaintext
39 lines
607 B
Plaintext
|
|
class QgsVertexMarker : QgsMapCanvasItem
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsvertexmarker.h>
|
|
%End
|
|
|
|
public:
|
|
|
|
//! Icons
|
|
enum IconType
|
|
{
|
|
ICON_NONE,
|
|
ICON_CROSS,
|
|
ICON_X,
|
|
ICON_BOX
|
|
};
|
|
|
|
QgsVertexMarker(QgsMapCanvas* mapCanvas /TransferThis/);
|
|
|
|
void setCenter(const QgsPoint& point);
|
|
|
|
void setIconType(int iconType);
|
|
|
|
void setIconSize(int iconSize);
|
|
|
|
void setColor(const QColor& color);
|
|
|
|
void setPenWidth(int width);
|
|
|
|
void paint(QPainter* p);
|
|
|
|
QRectF boundingRect() const;
|
|
|
|
virtual void updatePosition();
|
|
|
|
};
|
|
|