Kage Studio 0.7.230612
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
anchor.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_ANCHOR_H
23 #define GTKMM_KAGE_DATA_ANCHOR_H
24
25 #include <gdk/gdk.h>
26 #include "point.h"
27
28 class AnchorData: public PointData {
29 public:
30 enum type {
42 };
43 AnchorData();
44 AnchorData(GdkPoint p);
45 AnchorData(double p_x, double p_y);
46 virtual ~AnchorData();
47
49 //const AnchorData& operator=( const AnchorData& p_origin );
50
51 unsigned int rotation;
52 protected:
53 };
54#endif //GTKMM_KAGE_DATA_POINT_H
Definition: anchor.h:28
AnchorData clone()
Definition: anchor.cpp:37
unsigned int rotation
Definition: anchor.h:51
virtual ~AnchorData()
Definition: anchor.cpp:42
AnchorData()
Definition: anchor.cpp:25
type
Definition: anchor.h:30
@ TYPE_MOVE
Definition: anchor.h:40
@ TYPE_SOUTH
Definition: anchor.h:35
@ TYPE_NONE
Definition: anchor.h:31
@ TYPE_NORTH
Definition: anchor.h:32
@ TYPE_SOUTH_WEST
Definition: anchor.h:39
@ TYPE_EAST
Definition: anchor.h:33
@ TYPE_SOUTH_EAST
Definition: anchor.h:38
@ TYPE_ROTATE
Definition: anchor.h:41
@ TYPE_WEST
Definition: anchor.h:34
@ TYPE_NORTH_EAST
Definition: anchor.h:36
@ TYPE_NORTH_WEST
Definition: anchor.h:37
Definition: point.h:27