Debian Codegraph @

clutter/deprecated/clutter-behaviour-ellipse.h

raw
1 /*
2 * Clutter.
3 *
4 * An OpenGL based 'interactive canvas' library.
5 *
6 * Authored By Tomas Frydrych <[email protected]>
7 *
8 * Copyright (C) 2007 OpenedHand
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22 */
23
24 #if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
25 #error "Only <clutter/clutter.h> can be included directly."
26 #endif
27
28 #ifndef __CLUTTER_BEHAVIOUR_ELLIPSE_H__
29 #define __CLUTTER_BEHAVIOUR_ELLIPSE_H__
30
31 #include <clutter/clutter-types.h>
32
33 G_BEGIN_DECLS
34
35 #define CLUTTER_TYPE_BEHAVIOUR_ELLIPSE (clutter_behaviour_ellipse_get_type ())
36
37 #define CLUTTER_BEHAVIOUR_ELLIPSE(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
39 CLUTTER_TYPE_BEHAVIOUR_ELLIPSE, ClutterBehaviourEllipse))
40
41 #define CLUTTER_BEHAVIOUR_ELLIPSE_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_CAST ((klass), \
43 CLUTTER_TYPE_BEHAVIOUR_ELLIPSE, ClutterBehaviourEllipseClass))
44
45 #define CLUTTER_IS_BEHAVIOUR_ELLIPSE(obj) \
46 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
47 CLUTTER_TYPE_BEHAVIOUR_ELLIPSE))
48
49 #define CLUTTER_IS_BEHAVIOUR_ELLIPSE_CLASS(klass) \
50 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
51 CLUTTER_TYPE_BEHAVIOUR_ELLIPSE))
52
53 #define CLUTTER_BEHAVIOUR_ELLIPSE_GET_CLASS(obj) \
54 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
55 CLUTTER_TYPE_BEHAVIOUR_ELLIPSE, ClutterBehaviourEllipseClass))
56
57 typedef struct _ClutterBehaviourEllipse ClutterBehaviourEllipse;
58 typedef struct _ClutterBehaviourEllipsePrivate ClutterBehaviourEllipsePrivate;
59 typedef struct _ClutterBehaviourEllipseClass ClutterBehaviourEllipseClass;
60
61 /**
62 * ClutterBehaviourEllipse:
63 *
64 * The #ClutterBehaviourEllipse struct contains only private data
65 * and should be accessed using the provided API
66 *
67 * Since: 0.4
68 *
69 * Deprecated: 1.6
70 */
71 struct _ClutterBehaviourEllipse
72 {
73 /*< private >*/
74 ClutterBehaviour parent_instance;
75 ClutterBehaviourEllipsePrivate *priv;
76 };
77
78 /**
79 * ClutterBehaviourEllipseClass:
80 *
81 * The #ClutterBehaviourEllipseClass struct contains only private data
82 *
83 * Since: 0.4
84 *
85 * Deprecated: 1.6
86 */
87 struct _ClutterBehaviourEllipseClass
88 {
89 /*< private >*/
90 ClutterBehaviourClass parent_class;
91 };
92
93 CLUTTER_DEPRECATED_IN_1_8
94 GType clutter_behaviour_ellipse_get_type (void) G_GNUC_CONST;
95
96 CLUTTER_DEPRECATED_IN_1_8_FOR(clutter_actor_animate)
97 ClutterBehaviour * clutter_behaviour_ellipse_new (ClutterAlpha *alpha,
98 gint x,
99 gint y,
100 gint width,
101 gint height,
102 ClutterRotateDirection direction,
103 gdouble start,
104 gdouble end);
105
106 CLUTTER_DEPRECATED_IN_1_8
107 void clutter_behaviour_ellipse_set_center (ClutterBehaviourEllipse *self,
108 gint x,
109 gint y);
110 CLUTTER_DEPRECATED_IN_1_8
111 void clutter_behaviour_ellipse_get_center (ClutterBehaviourEllipse *self,
112 gint *x,
113 gint *y);
114 CLUTTER_DEPRECATED_IN_1_6
115 void clutter_behaviour_ellipse_set_width (ClutterBehaviourEllipse *self,
116 gint width);
117 CLUTTER_DEPRECATED_IN_1_6
118 gint clutter_behaviour_ellipse_get_width (ClutterBehaviourEllipse *self);
119 CLUTTER_DEPRECATED_IN_1_6
120 void clutter_behaviour_ellipse_set_height (ClutterBehaviourEllipse *self,
121 gint height);
122 CLUTTER_DEPRECATED_IN_1_6
123 gint clutter_behaviour_ellipse_get_height (ClutterBehaviourEllipse *self);
124 CLUTTER_DEPRECATED_IN_1_6
125 void clutter_behaviour_ellipse_set_angle_start (ClutterBehaviourEllipse *self,
126 gdouble angle_start);
127 CLUTTER_DEPRECATED_IN_1_6
128 gdouble clutter_behaviour_ellipse_get_angle_start (ClutterBehaviourEllipse *self);
129 CLUTTER_DEPRECATED_IN_1_6
130 void clutter_behaviour_ellipse_set_angle_end (ClutterBehaviourEllipse *self,
131 gdouble angle_end);
132 CLUTTER_DEPRECATED_IN_1_6
133 gdouble clutter_behaviour_ellipse_get_angle_end (ClutterBehaviourEllipse *self);
134 CLUTTER_DEPRECATED_IN_1_6
135 void clutter_behaviour_ellipse_set_angle_tilt (ClutterBehaviourEllipse *self,
136 ClutterRotateAxis axis,
137 gdouble angle_tilt);
138 CLUTTER_DEPRECATED_IN_1_6
139 gdouble clutter_behaviour_ellipse_get_angle_tilt (ClutterBehaviourEllipse *self,
140 ClutterRotateAxis axis);
141 CLUTTER_DEPRECATED_IN_1_6
142 void clutter_behaviour_ellipse_set_tilt (ClutterBehaviourEllipse *self,
143 gdouble angle_tilt_x,
144 gdouble angle_tilt_y,
145 gdouble angle_tilt_z);
146 CLUTTER_DEPRECATED_IN_1_6
147 void clutter_behaviour_ellipse_get_tilt (ClutterBehaviourEllipse *self,
148 gdouble *angle_tilt_x,
149 gdouble *angle_tilt_y,
150 gdouble *angle_tilt_z);
151 CLUTTER_DEPRECATED_IN_1_6
152 ClutterRotateDirection clutter_behaviour_ellipse_get_direction (ClutterBehaviourEllipse *self);
153 CLUTTER_DEPRECATED_IN_1_6
154 void clutter_behaviour_ellipse_set_direction (ClutterBehaviourEllipse *self,
155 ClutterRotateDirection direction);
156
157 G_END_DECLS
158
159 #endif /* __CLUTTER_BEHAVIOUR_ELLIPSE_H__ */