marble
AreaAnnotation.cpp
Go to the documentation of this file.
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition: GeoDataLinearRing.h:68
const char * GeoDataPolygonType
Definition: GeoDataTypes.cpp:65
bool geoCoordinates(const int x, const int y, qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Degree) const
Get the earth coordinates corresponding to a pixel in the map.
Definition: ViewportParams.cpp:391
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
virtual void paint(GeoPainter *painter, const ViewportParams *viewport)
Paints the item using the given GeoPainter.
Definition: AreaAnnotation.cpp:31
virtual bool mouseReleaseEvent(QMouseEvent *event)
Definition: AreaAnnotation.cpp:84
void setRegions(const QList< QRegion > ®ions)
Definition: SceneGraphicsItem.cpp:76
void drawEllipse(const GeoDataCoordinates ¢erPosition, qreal width, qreal height, bool isGeoProjected=false)
Draws an ellipse at the given position. The ellipse is placed with its center located at the given ce...
Definition: GeoPainter.cpp:289
QRegion regionFromEllipse(const GeoDataCoordinates ¢erPosition, qreal width, qreal height, bool isGeoProjected=false, qreal strokeWidth=3) const
Creates a region for an ellipse at a given position.
Definition: GeoPainter.cpp:356
GeoDataGeometry * geometry() const
The geometry of the GeoDataPlacemark is to be rendered to the marble map along with the icon at the c...
Definition: GeoDataPlacemark.cpp:63
AreaAnnotation(GeoDataPlacemark *placemark)
Definition: AreaAnnotation.cpp:24
Definition: SceneGraphicsItem.h:28
virtual bool mouseMoveEvent(QMouseEvent *event)
Definition: AreaAnnotation.cpp:64
GeoDataLinearRing & outerBoundary()
Returns the outer boundary that is represented as a LinearRing.
Definition: GeoDataPolygon.cpp:85
GeoDataCoordinates & at(int pos)
Returns a reference to the coordinates of a node at a given position. This method detaches the return...
Definition: GeoDataLineString.cpp:139
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
This file contains the headers for ViewportParams.
GeoDataPlacemark * placemark()
Definition: SceneGraphicsItem.cpp:36
QList< QRegion > regions() const
Definition: SceneGraphicsItem.cpp:31
QRegion regionFromPolygon(const GeoDataLinearRing &linearRing, Qt::FillRule fillRule, qreal strokeWidth=3) const
Creates a region for a given linear ring (a "polygon without holes").
Definition: GeoPainter.cpp:585
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
virtual bool mousePressEvent(QMouseEvent *event)
Definition: AreaAnnotation.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.