marble
ScreenOverlayGraphicsItem.cpp
Go to the documentation of this file.
18 ScreenOverlayGraphicsItem::ScreenOverlayGraphicsItem( const GeoDataScreenOverlay *screenOverlay ) :
48 qreal ScreenOverlayGraphicsItem::pixelValue( GeoDataVec2::Unit unit, qreal screenSize, qreal imageSize, qreal value )
GeoDataVec2 screenXY() const
Definition: GeoDataScreenOverlay.cpp:93
Definition: GeoDataVec2.h:25
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
bool isNull() const
void setProjection(const ViewportParams *viewport)
Definition: ScreenOverlayGraphicsItem.cpp:34
void drawRect(const QRectF &rectangle)
qreal x() const
qreal y() const
virtual void paint(QPainter *painter)
Paints the item in item coordinates.
Definition: ScreenOverlayGraphicsItem.cpp:66
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
void setBrush(const QBrush &brush)
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
bool isNull() const
This file contains the headers for ViewportParams.
const QSize imageSize(28, 28)
ScreenOverlayGraphicsItem(const GeoDataScreenOverlay *screenOverlay)
Definition: ScreenOverlayGraphicsItem.cpp:18
void setPosition(const QPointF &position)
Set the position of the ScreenGraphicsItem.
Definition: ScreenGraphicsItem.cpp:44
const GeoDataScreenOverlay * screenOverlay() const
Definition: ScreenOverlayGraphicsItem.cpp:29
qreal height() const
Definition: GeoDataVec2.h:25
qreal width() const
QImage scaled(int width, int height, Qt::AspectRatioMode aspectRatioMode, Qt::TransformationMode transformMode) const
Definition: GeoDataVec2.h:25
virtual void setProjection(const ViewportParams *viewport)
Definition: MarbleGraphicsItem.cpp:272
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 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:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.