• 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
ScreenPolygon.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-2007 Torsten Rahn <tackat@kde.org>
9 // Copyright 2007 Inge Wallin <ingwa@kde.org>
10 //
11 
12 #ifndef MARBLE_SCREENPOLYGON_H
13 #define MARBLE_SCREENPOLYGON_H
14 
15 
16 #include <QVector>
17 #include <QPolygonF>
18 
19 namespace Marble
20 {
21 
22 class ScreenPolygon : public QPolygonF
23 {
24  public:
25  ScreenPolygon() : m_closed( false ) { }
26  explicit ScreenPolygon( bool closed ) : m_closed( closed ) { }
27  ~ScreenPolygon() { }
28 
29  bool closed() const { return m_closed; }
30  void setClosed( bool closed ) { m_closed = closed; }
31 
32  // Type definitions
33  typedef QVector<ScreenPolygon> Vector;
34 
35  protected:
36  // true if the polygon is closed
37  bool m_closed;
38 };
39 
40 }
41 
42 #endif
Marble::ScreenPolygon::ScreenPolygon
ScreenPolygon()
Definition: ScreenPolygon.h:25
Marble::ScreenPolygon::closed
bool closed() const
Definition: ScreenPolygon.h:29
Marble::ScreenPolygon::ScreenPolygon
ScreenPolygon(bool closed)
Definition: ScreenPolygon.h:26
Marble::ScreenPolygon
Definition: ScreenPolygon.h:22
Marble::ScreenPolygon::m_closed
bool m_closed
Definition: ScreenPolygon.h:37
Marble::ScreenPolygon::Vector
QVector< ScreenPolygon > Vector
Definition: ScreenPolygon.h:33
Marble::ScreenPolygon::~ScreenPolygon
~ScreenPolygon()
Definition: ScreenPolygon.h:27
Marble::ScreenPolygon::setClosed
void setClosed(bool closed)
Definition: ScreenPolygon.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 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