Kage Studio 0.7.230612
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
point.h
Go to the documentation of this file.
1/*
2 * Kage Studio - a simple free and open source vector-based 2D animation software
3 * Copyright (C) 2011~2022 Mj Mendoza IV
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 * MA 02110-1301, USA. Or, see <https://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef GTKMM_KAGE_DATA_POINT_H
23 #define GTKMM_KAGE_DATA_POINT_H
24
25 #include <gdk/gdk.h>
26
27 class PointData {
28 public:
29 PointData();
30 PointData(GdkPoint p);
31 PointData(double p_x, double p_y);
32 virtual ~PointData();
33
35 //const PointData& operator=( const PointData& p_origin );
36
37 double x;
38 double y;
39 unsigned int debug_id;
40 static unsigned int debug_pts;
41 protected:
42 };
43#endif //GTKMM_KAGE_DATA_POINT_H
Definition: point.h:27
unsigned int debug_id
Definition: point.h:39
PointData clone()
Definition: point.cpp:44
virtual ~PointData()
Definition: point.cpp:49
double x
Definition: point.h:37
double y
Definition: point.h:38
static unsigned int debug_pts
Definition: point.h:40
PointData()
Definition: point.cpp:26