marble
GeoPolygonGraphicsItem.cpp
Go to the documentation of this file.
22 GeoPolygonGraphicsItem::GeoPolygonGraphicsItem( const GeoDataFeature *feature, const GeoDataPolygon* polygon )
29 GeoPolygonGraphicsItem::GeoPolygonGraphicsItem( const GeoDataFeature *feature, const GeoDataLinearRing* ring )
Qt::PenCapStyle capStyle() const
Return the current pen cap style.
Definition: GeoDataLineStyle.cpp:115
Qt::PenStyle style() const
void setStyle(Qt::PenStyle style)
void drawPolygon(const GeoDataLinearRing &linearRing, Qt::FillRule fillRule=Qt::OddEvenFill)
Draws a given linear ring (a "polygon without holes").
Definition: GeoPainter.cpp:560
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition: GeoDataLinearRing.h:68
GeoPolygonGraphicsItem(const GeoDataFeature *feature, const GeoDataPolygon *polygon)
Definition: GeoPolygonGraphicsItem.cpp:22
Qt::PenStyle penStyle() const
Return the current pen cap style.
Definition: GeoDataLineStyle.cpp:125
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
GeoDataPolyStyle & polyStyle()
Return the label style of this style.
Definition: GeoDataStyle.cpp:153
const GeoDataLinearRing *const m_ring
Definition: GeoPolygonGraphicsItem.h:35
void save()
Definition: GeoGraphicsItem.h:30
void setAlpha(int alpha)
GeoDataLineStyle & lineStyle()
Return the label style of this style.
Definition: GeoDataStyle.cpp:143
virtual const GeoDataLatLonAltBox & latLonAltBox() const
Returns the bounding box covered by the item.
Definition: GeoGraphicsItem.cpp:67
const QColor & color() const
void setCapStyle(Qt::PenCapStyle style)
virtual const GeoDataLatLonAltBox & latLonAltBox() const
Returns the bounding box covered by the item.
Definition: GeoPolygonGraphicsItem.cpp:36
QColor color() const
virtual const GeoDataLatLonAltBox & latLonAltBox() const
Returns the smallest latLonAltBox that contains the Polygon.
Definition: GeoDataPolygon.cpp:118
void setPen(const QColor &color)
void setWidthF(qreal width)
void setBrush(const QBrush &brush)
void setColor(const QColor &color)
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
const QBrush & brush() const
This file contains the headers for ViewportParams.
void restore()
Qt::PenCapStyle capStyle() const
qreal widthF() const
virtual void paint(GeoPainter *painter, const ViewportParams *viewport)
Paints the item using the given GeoPainter.
Definition: GeoPolygonGraphicsItem.cpp:47
const QPen & pen() const
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
virtual const GeoDataLatLonAltBox & latLonAltBox() const
Returns the smallest latLonAltBox that contains the LineString.
Definition: GeoDataLineString.cpp:580
const GeoDataPolygon *const m_polygon
Definition: GeoPolygonGraphicsItem.h:34
QColor paintedColor() const
Returns the color that should be painted: Either color() or a randomized version of it...
Definition: GeoDataColorStyle.cpp:103
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.