Marble
GeoPainter.h
102 GeoPainter(QPaintDevice *paintDevice, const ViewportParams *viewportParams, MapQuality mapQuality = NormalQuality);
235 void drawEllipse(const GeoDataCoordinates ¢erPosition, qreal width, qreal height, bool isGeoProjected = false);
250 QRegion regionFromEllipse(const GeoDataCoordinates ¢erPosition, qreal width, qreal height, bool isGeoProjected = false, qreal strokeWidth = 3) const;
261 void drawImage(const GeoDataCoordinates ¢erPosition, const QImage &image /* , bool isGeoProjected = false */);
272 void drawPixmap(const GeoDataCoordinates ¢erPosition, const QPixmap &pixmap /*, bool isGeoProjected = false */);
285 QRegion regionFromPixmapRect(const GeoDataCoordinates ¢erCoordinates, int width, int height, int margin = 0) const;
297 void polygonsFromLineString(const GeoDataLineString &lineString, QList<QPolygonF *> &polygons) const;
323 void drawLabelsForPolygons(const QList<QPolygonF *> &polygons, const QString &labelText, LabelPositionFlags labelPositionFlags, const QColor &labelColor);
382 QRegion regionFromPolygon(const GeoDataLinearRing &linearRing, Qt::FillRule fillRule, qreal strokeWidth = 3) const;
396 QList<QPolygonF *> createFillPolygons(const QList<QPolygonF *> &outerPolygons, const QList<QPolygonF *> &innerPolygons) const;
415 void drawRect(const GeoDataCoordinates ¢erPosition, qreal width, qreal height, bool isGeoProjected = false);
434 QRegion regionFromRect(const GeoDataCoordinates ¢erPosition, qreal width, qreal height, bool isGeoProjected = false, qreal strokeWidth = 3) const;
456 void drawRoundedRect(const GeoDataCoordinates ¢erPosition, qreal width, qreal height, qreal xRnd = 25.0, qreal yRnd = 25.0);
A LineString that allows to store a contiguous set of line segments.
Definition GeoDataLineString.h:66
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition GeoDataLinearRing.h:60
A painter that allows to draw geometric primitives on the map.
Definition GeoPainter.h:86
A public class that controls what is visible in the viewport of a Marble map.
Definition ViewportParams.h:41
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
MapQuality
This enum is used to choose the map quality shown in the view.
Definition MarbleGlobal.h:73
void drawEllipse(const QPoint ¢er, int rx, int ry)
void drawImage(const QPoint &point, const QImage &image)
void drawPixmap(const QPoint &point, const QPixmap &pixmap)
void drawPoint(const QPoint &position)
void drawRect(const QRect &rectangle)
void drawRoundedRect(const QRect &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode)
void drawText(const QPoint &position, const QString &text)
FillRule
black
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.