1/* graphene-gobject.h: Shared GObject types
2 *
3 * SPDX-License-Identifier: MIT
4 *
5 * Copyright 2014 Emmanuele Bassi
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal
9 * in the Software without restriction, including without limitation the rights
10 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 * copies of the Software, and to permit persons to whom the Software is
12 * furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 * THE SOFTWARE.
24 */
25
26#pragma once
27
28#include <glib-object.h>
29#include <graphene.h>
30
31G_BEGIN_DECLS
32
33#define GRAPHENE_TYPE_POINT (graphene_point_get_type ())
34
35GRAPHENE_AVAILABLE_IN_1_0
36GType graphene_point_get_type (void);
37
38#define GRAPHENE_TYPE_POINT3D (graphene_point3d_get_type ())
39
40GRAPHENE_AVAILABLE_IN_1_0
41GType graphene_point3d_get_type (void);
42
43#define GRAPHENE_TYPE_SIZE (graphene_size_get_type ())
44
45GRAPHENE_AVAILABLE_IN_1_0
46GType graphene_size_get_type (void);
47
48#define GRAPHENE_TYPE_RECT (graphene_rect_get_type ())
49
50GRAPHENE_AVAILABLE_IN_1_0
51GType graphene_rect_get_type (void);
52
53#define GRAPHENE_TYPE_VEC2 (graphene_vec2_get_type ())
54
55GRAPHENE_AVAILABLE_IN_1_0
56GType graphene_vec2_get_type (void);
57
58#define GRAPHENE_TYPE_VEC3 (graphene_vec3_get_type ())
59
60GRAPHENE_AVAILABLE_IN_1_0
61GType graphene_vec3_get_type (void);
62
63#define GRAPHENE_TYPE_VEC4 (graphene_vec4_get_type ())
64
65GRAPHENE_AVAILABLE_IN_1_0
66GType graphene_vec4_get_type (void);
67
68#define GRAPHENE_TYPE_QUAD (graphene_quad_get_type ())
69
70GRAPHENE_AVAILABLE_IN_1_0
71GType graphene_quad_get_type (void);
72
73#define GRAPHENE_TYPE_QUATERNION (graphene_quaternion_get_type ())
74
75GRAPHENE_AVAILABLE_IN_1_0
76GType graphene_quaternion_get_type (void);
77
78#define GRAPHENE_TYPE_MATRIX (graphene_matrix_get_type ())
79
80GRAPHENE_AVAILABLE_IN_1_0
81GType graphene_matrix_get_type (void);
82
83#define GRAPHENE_TYPE_PLANE (graphene_plane_get_type ())
84
85GRAPHENE_AVAILABLE_IN_1_2
86GType graphene_plane_get_type (void);
87
88#define GRAPHENE_TYPE_FRUSTUM (graphene_frustum_get_type ())
89
90GRAPHENE_AVAILABLE_IN_1_2
91GType graphene_frustum_get_type (void);
92
93#define GRAPHENE_TYPE_SPHERE (graphene_sphere_get_type ())
94
95GRAPHENE_AVAILABLE_IN_1_2
96GType graphene_sphere_get_type (void);
97
98#define GRAPHENE_TYPE_BOX (graphene_box_get_type ())
99
100GRAPHENE_AVAILABLE_IN_1_2
101GType graphene_box_get_type (void);
102
103#define GRAPHENE_TYPE_TRIANGLE (graphene_triangle_get_type ())
104
105GRAPHENE_AVAILABLE_IN_1_2
106GType graphene_triangle_get_type (void);
107
108#define GRAPHENE_TYPE_EULER (graphene_euler_get_type ())
109
110GRAPHENE_AVAILABLE_IN_1_2
111GType graphene_euler_get_type (void);
112
113#define GRAPHENE_TYPE_RAY (graphene_ray_get_type ())
114
115GRAPHENE_AVAILABLE_IN_1_4
116GType graphene_ray_get_type (void);
117
118G_END_DECLS
119

source code of gtk/subprojects/graphene/include/graphene-gobject.h