Marble
MarbleSplashLayer.cpp
28bool MarbleSplashLayer::render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos, GeoSceneLayer *layer)
37 if (logoPixmap.width() > viewport->width() * 0.7 || logoPixmap.height() > viewport->height() * 0.7) {
38 logoPixmap = logoPixmap.scaled(QSize(viewport->width(), viewport->height()) * 0.7, Qt::KeepAspectRatio, Qt::SmoothTransformation);
41 QPoint logoPosition((viewport->width() - logoPixmap.width()) / 2, (viewport->height() - logoPixmap.height()) / 2);
This file contains the headers for ViewportParams.
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
AlignHCenter
KeepAspectRatio
white
SmoothTransformation
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.