Marble

KmlScreenOverlayWriter.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2012 Mayank Madan <[email protected]>
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 
14 namespace Marble
15 {
16 
17 class KmlScreenOverlayWriter : public KmlOverlayTagWriter
18 {
19 public:
20  KmlScreenOverlayWriter();
21  bool writeMid( const GeoNode *node, GeoWriter& writer ) const override;
22 
23 private:
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-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.