Continued filling out Artisan::GViewport::.
[aesalon.git] / include / artisan / gviewport / Point.h
blobb2170e0161c3fed8b65897549d7ff19c7439296e
1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/artisan/gviewport/Point.h
8 */
10 #ifndef AesalonArtisan_GViewport_Point_H
11 #define AesalonArtisan_GViewport_Point_H
13 namespace Artisan {
14 namespace GViewport {
16 class Point {
17 private:
18 double m_x, m_y;
19 public:
20 Point();
21 Point(double x, double y) : m_x(x), m_y(y) {}
23 double &x() { return m_x; }
24 double x() const { return m_x; }
25 double &y() { return m_y; }
26 double y() const { return m_y; }
29 } // namespace GViewport
30 } // namespace Artisan
32 #endif