Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gskpathbuilder.h
Go to the documentation of this file.
1/*
2 * Copyright © 2020 Benjamin Otte
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * Authors: Benjamin Otte <otte@gnome.org>
18 */
19
20#pragma once
21
22#if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gsk/gsk.h> can be included directly."
24#endif
25
26
27#include <gsk/gskroundedrect.h>
28#include <gsk/gsktypes.h>
29
31
32#define GSK_TYPE_PATH_BUILDER (gsk_path_builder_get_type ())
33
36
47
50
53 GskPath *path);
56 GskPath *path);
59 const cairo_path_t *path);
62 PangoLayout *layout);
63
66 const graphene_rect_t *rect);
69 const GskRoundedRect *rect);
72 const graphene_point_t *center,
73 float radius);
76 GskPath *path,
77 const GskPathPoint *start,
78 const GskPathPoint *end);
81 float x,
82 float y);
85 float x,
86 float y);
89 float x,
90 float y);
93 float x,
94 float y);
97 float x1,
98 float y1,
99 float x2,
100 float y2);
103 float x1,
104 float y1,
105 float x2,
106 float y2);
109 float x1,
110 float y1,
111 float x2,
112 float y2,
113 float x3,
114 float y3);
117 float x1,
118 float y1,
119 float x2,
120 float y2,
121 float x3,
122 float y3);
123
126 float x1,
127 float y1,
128 float x2,
129 float y2,
130 float weight);
133 float x1,
134 float y1,
135 float x2,
136 float y2,
137 float weight);
138
141 float x1,
142 float y1,
143 float x2,
144 float y2);
145
148 float x1,
149 float y1,
150 float x2,
151 float y2);
152
155 float rx,
156 float ry,
157 float x_axis_rotation,
158 gboolean large_arc,
159 gboolean positive_sweep,
160 float x,
161 float y);
164 float rx,
165 float ry,
166 float x_axis_rotation,
167 gboolean large_arc,
168 gboolean positive_sweep,
169 float x,
170 float y);
171
174 float x1,
175 float y1,
176 float x2,
177 float y2,
178 float radius);
181 float x1,
182 float y1,
183 float x2,
184 float y2,
185 float radius);
186
189
191
#define GDK_AVAILABLE_IN_4_14
#define G_GNUC_WARN_UNUSED_RESULT
Definition gmacros.h:814
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_rel_arc_to(GskPathBuilder *self, float x1, float y1, float x2, float y2)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_rel_html_arc_to(GskPathBuilder *self, float x1, float y1, float x2, float y2, float radius)
GDK_AVAILABLE_IN_4_14 GskPath * gsk_path_builder_to_path(GskPathBuilder *self) G_GNUC_WARN_UNUSED_RESULT
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_html_arc_to(GskPathBuilder *self, float x1, float y1, float x2, float y2, float radius)
GDK_AVAILABLE_IN_4_14 GskPathBuilder * gsk_path_builder_ref(GskPathBuilder *self)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_quad_to(GskPathBuilder *self, float x1, float y1, float x2, float y2)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_add_path(GskPathBuilder *self, GskPath *path)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_add_segment(GskPathBuilder *self, GskPath *path, const GskPathPoint *start, const GskPathPoint *end)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_add_circle(GskPathBuilder *self, const graphene_point_t *center, float radius)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_add_layout(GskPathBuilder *self, PangoLayout *layout)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_add_cairo_path(GskPathBuilder *self, const cairo_path_t *path)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_rel_quad_to(GskPathBuilder *self, float x1, float y1, float x2, float y2)
GDK_AVAILABLE_IN_4_14 GskPathBuilder * gsk_path_builder_new(void)
GDK_AVAILABLE_IN_4_14 GType gsk_path_builder_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_add_rect(GskPathBuilder *self, const graphene_rect_t *rect)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_svg_arc_to(GskPathBuilder *self, float rx, float ry, float x_axis_rotation, gboolean large_arc, gboolean positive_sweep, float x, float y)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_rel_move_to(GskPathBuilder *self, float x, float y)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_move_to(GskPathBuilder *self, float x, float y)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_rel_cubic_to(GskPathBuilder *self, float x1, float y1, float x2, float y2, float x3, float y3)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_rel_svg_arc_to(GskPathBuilder *self, float rx, float ry, float x_axis_rotation, gboolean large_arc, gboolean positive_sweep, float x, float y)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_line_to(GskPathBuilder *self, float x, float y)
GDK_AVAILABLE_IN_4_14 const graphene_point_t * gsk_path_builder_get_current_point(GskPathBuilder *self)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_conic_to(GskPathBuilder *self, float x1, float y1, float x2, float y2, float weight)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_rel_conic_to(GskPathBuilder *self, float x1, float y1, float x2, float y2, float weight)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_unref(GskPathBuilder *self)
GDK_AVAILABLE_IN_4_14 GskPath * gsk_path_builder_free_to_path(GskPathBuilder *self) G_GNUC_WARN_UNUSED_RESULT
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_cubic_to(GskPathBuilder *self, float x1, float y1, float x2, float y2, float x3, float y3)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_rel_line_to(GskPathBuilder *self, float x, float y)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_add_rounded_rect(GskPathBuilder *self, const GskRoundedRect *rect)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_close(GskPathBuilder *self)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_arc_to(GskPathBuilder *self, float x1, float y1, float x2, float y2)
GDK_AVAILABLE_IN_4_14 void gsk_path_builder_add_reverse_path(GskPathBuilder *self, GskPath *path)
struct _GskPathBuilder GskPathBuilder
Definition gsktypes.h:29
struct _GskPath GskPath
Definition gsktypes.h:28
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
typedefG_BEGIN_DECLS struct _PangoLayout PangoLayout