• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
GeoPainter_p.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2006-2009 Torsten Rahn <tackat@kde.org>
9 // Copyright 2009 Bastian Holst <bastianholst@gmx.de>
10 
11 #ifndef MARBLE_GEOPAINTERPRIVATE_H
12 #define MARBLE_GEOPAINTERPRIVATE_H
13 
14 #include <QVector>
15 
16 #include "MarbleGlobal.h"
17 
18 class QPolygonF;
19 class QSizeF;
20 class QPainterPath;
21 class QRectF;
22 
23 namespace Marble
24 {
25 
26 class ViewportParams;
27 class GeoDataCoordinates;
28 
29 class GeoPainterPrivate
30 {
31  public:
32  GeoPainterPrivate( const ViewportParams *viewport, MapQuality mapQuality );
33 
34  ~GeoPainterPrivate();
35 
36 
37  void createAnnotationLayout ( qreal x, qreal y,
38  QSizeF bubbleSize,
39  qreal bubbleOffsetX, qreal bubbleOffsetY,
40  qreal xRnd, qreal yRnd,
41  QPainterPath& path, QRectF& rect );
42 
43  GeoDataLinearRing createLinearRingFromGeoRect( const GeoDataCoordinates & centerCoordinates,
44  qreal width, qreal height );
45 
46  static bool doClip( const ViewportParams *viewport );
47 
48  const ViewportParams *const m_viewport;
49  const MapQuality m_mapQuality;
50  qreal *const m_x;
51 };
52 
53 } // namespace Marble
54 
55 #endif
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::GeoDataLinearRing
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition: GeoDataLinearRing.h:68
Marble::GeoPainterPrivate::m_x
qreal *const m_x
Definition: GeoPainter_p.h:50
Marble::GeoPainterPrivate::doClip
static bool doClip(const ViewportParams *viewport)
Definition: GeoPainter.cpp:166
Marble::MapQuality
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:80
Marble::GeoPainterPrivate::m_viewport
const ViewportParams *const m_viewport
Definition: GeoPainter_p.h:48
Marble::GeoPainterPrivate
Definition: GeoPainter_p.h:29
Marble::GeoPainterPrivate::GeoPainterPrivate
GeoPainterPrivate(const ViewportParams *viewport, MapQuality mapQuality)
Definition: GeoPainter.cpp:33
Marble::GeoPainterPrivate::~GeoPainterPrivate
~GeoPainterPrivate()
Definition: GeoPainter.cpp:40
Marble::GeoPainterPrivate::createLinearRingFromGeoRect
GeoDataLinearRing createLinearRingFromGeoRect(const GeoDataCoordinates &centerCoordinates, qreal width, qreal height)
Definition: GeoPainter.cpp:123
MarbleGlobal.h
Marble::GeoPainterPrivate::createAnnotationLayout
void createAnnotationLayout(qreal x, qreal y, QSizeF bubbleSize, qreal bubbleOffsetX, qreal bubbleOffsetY, qreal xRnd, qreal yRnd, QPainterPath &path, QRectF &rect)
Definition: GeoPainter.cpp:45
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
Marble::GeoPainterPrivate::m_mapQuality
const MapQuality m_mapQuality
Definition: GeoPainter_p.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal