Marble

KmlScreenOverlayWriter.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2012 Mayank Madan <maddiemadan@gmail.com>
4//
5
6#ifndef MARBLE_KMLSCREENOVERLAYWRITER_H
7#define MARBLE_KMLSCREENOVERLAYWRITER_H
8
9#include "GeoDataVec2.h"
10#include "KmlOverlayTagWriter.h"
11
12#include "MarbleGlobal.h"
13
14namespace Marble
15{
16
17class KmlScreenOverlayWriter : public KmlOverlayTagWriter
18{
19public:
20 KmlScreenOverlayWriter();
21 bool writeMid(const GeoNode *node, GeoWriter &writer) const override;
22
23private:
24 static void writeVec2(const QString &element, const GeoDataVec2 &vec2, GeoWriter &writer);
25 static QString unitToString(GeoDataVec2::Unit unit);
26};
27
28}
29
30#endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.