53 QObject *
parent =
nullptr);
62 [[nodiscard]] QString
toolName() const;
67 [[nodiscard]] virtual QCursor
cursor() const;
111 virtual
void paint(QPainter *painter,
118 [[nodiscard]] QGraphicsScene *
scene() const;
129 void toMapCoords(
int px,
int py,
double &mapX,
double &mapY) const;
134 void toPixelCoords(
double mapX,
double mapY,
int &px,
int &py) const;
150 bool m_active = false;
153 void setActive(
bool active);
The central map display widget — QGIS-style hybrid rendering.
Definition mapcanvas.h:63
An axis-aligned bounding box in the coordinate space of a given CRS.
Definition mapextent.h:26
Represents a coordinate reference system backed by a GDAL OGRSpatialReference.
Definition spatialreferencesystem.h:28
QVector< int > parent
union-find
Definition pslgminsize.cpp:176