34#ifndef MAPTOOLFEATUREDRAW_H
35#define MAPTOOLFEATUREDRAW_H
62 QObject *
parent =
nullptr);
69 [[nodiscard]] QCursor
cursor()
const override;
79 void paint(QPainter *painter,
94 [[nodiscard]]
virtual bool isClosed()
const {
return false; }
105 [[nodiscard]] QPointF
canvasToLayer(
const QPointF &canvasPt)
const;
150 [[nodiscard]]
bool isClosed()
const override {
return true; }
An editable, GeoPackage-backed vector layer.
Definition featurelayer.h:127
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
A complete feature geometry: a type plus zero or more parts.
Definition featuregeometry.h:205
QPolygonF ring
normalizeRingCCW(r.ring).
Definition meshgenerator.cpp:156
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
Shared vertex-snapping helper for all drawing map tools.
Definition snapengine.h:38
One ordered run of vertices, with optional per-vertex Z.
Definition featuregeometry.h:90