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 | |
31 | G_BEGIN_DECLS |
32 | |
33 | #define GRAPHENE_TYPE_POINT (graphene_point_get_type ()) |
34 | |
35 | GRAPHENE_AVAILABLE_IN_1_0 |
36 | GType graphene_point_get_type (void); |
37 | |
38 | #define GRAPHENE_TYPE_POINT3D (graphene_point3d_get_type ()) |
39 | |
40 | GRAPHENE_AVAILABLE_IN_1_0 |
41 | GType graphene_point3d_get_type (void); |
42 | |
43 | #define GRAPHENE_TYPE_SIZE (graphene_size_get_type ()) |
44 | |
45 | GRAPHENE_AVAILABLE_IN_1_0 |
46 | GType graphene_size_get_type (void); |
47 | |
48 | #define GRAPHENE_TYPE_RECT (graphene_rect_get_type ()) |
49 | |
50 | GRAPHENE_AVAILABLE_IN_1_0 |
51 | GType graphene_rect_get_type (void); |
52 | |
53 | #define GRAPHENE_TYPE_VEC2 (graphene_vec2_get_type ()) |
54 | |
55 | GRAPHENE_AVAILABLE_IN_1_0 |
56 | GType graphene_vec2_get_type (void); |
57 | |
58 | #define GRAPHENE_TYPE_VEC3 (graphene_vec3_get_type ()) |
59 | |
60 | GRAPHENE_AVAILABLE_IN_1_0 |
61 | GType graphene_vec3_get_type (void); |
62 | |
63 | #define GRAPHENE_TYPE_VEC4 (graphene_vec4_get_type ()) |
64 | |
65 | GRAPHENE_AVAILABLE_IN_1_0 |
66 | GType graphene_vec4_get_type (void); |
67 | |
68 | #define GRAPHENE_TYPE_QUAD (graphene_quad_get_type ()) |
69 | |
70 | GRAPHENE_AVAILABLE_IN_1_0 |
71 | GType graphene_quad_get_type (void); |
72 | |
73 | #define GRAPHENE_TYPE_QUATERNION (graphene_quaternion_get_type ()) |
74 | |
75 | GRAPHENE_AVAILABLE_IN_1_0 |
76 | GType graphene_quaternion_get_type (void); |
77 | |
78 | #define GRAPHENE_TYPE_MATRIX (graphene_matrix_get_type ()) |
79 | |
80 | GRAPHENE_AVAILABLE_IN_1_0 |
81 | GType graphene_matrix_get_type (void); |
82 | |
83 | #define GRAPHENE_TYPE_PLANE (graphene_plane_get_type ()) |
84 | |
85 | GRAPHENE_AVAILABLE_IN_1_2 |
86 | GType graphene_plane_get_type (void); |
87 | |
88 | #define GRAPHENE_TYPE_FRUSTUM (graphene_frustum_get_type ()) |
89 | |
90 | GRAPHENE_AVAILABLE_IN_1_2 |
91 | GType graphene_frustum_get_type (void); |
92 | |
93 | #define GRAPHENE_TYPE_SPHERE (graphene_sphere_get_type ()) |
94 | |
95 | GRAPHENE_AVAILABLE_IN_1_2 |
96 | GType graphene_sphere_get_type (void); |
97 | |
98 | #define GRAPHENE_TYPE_BOX (graphene_box_get_type ()) |
99 | |
100 | GRAPHENE_AVAILABLE_IN_1_2 |
101 | GType graphene_box_get_type (void); |
102 | |
103 | #define GRAPHENE_TYPE_TRIANGLE (graphene_triangle_get_type ()) |
104 | |
105 | GRAPHENE_AVAILABLE_IN_1_2 |
106 | GType graphene_triangle_get_type (void); |
107 | |
108 | #define GRAPHENE_TYPE_EULER (graphene_euler_get_type ()) |
109 | |
110 | GRAPHENE_AVAILABLE_IN_1_2 |
111 | GType graphene_euler_get_type (void); |
112 | |
113 | #define GRAPHENE_TYPE_RAY (graphene_ray_get_type ()) |
114 | |
115 | GRAPHENE_AVAILABLE_IN_1_4 |
116 | GType graphene_ray_get_type (void); |
117 | |
118 | G_END_DECLS |
119 | |