Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gskrendernode.h
Go to the documentation of this file.
1/* GSK - The GTK Scene Kit
2 *
3 * Copyright 2016 Endless
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library 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 GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION)
22#error "Only <gsk/gsk.h> can be included directly."
23#endif
24
25#include <gsk/gskroundedrect.h>
26#include <gsk/gsktypes.h>
27#include <gsk/gskglshader.h>
28#include <gtk/css/gtkcss.h>
29
31
32#define GSK_TYPE_RENDER_NODE (gsk_render_node_get_type ())
33
34#define GSK_IS_RENDER_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSK_TYPE_RENDER_NODE))
35
36#define GSK_SERIALIZATION_ERROR (gsk_serialization_error_quark ())
37
39typedef struct _GskShadow GskShadow;
40
41/**
42 * GskColorStop:
43 * @offset: the offset of the color stop
44 * @color: the color at the given offset
45 *
46 * A color stop in a gradient node.
47 */
49{
50 float offset;
52};
53
54/**
55 * GskShadow:
56 * @color: the color of the shadow
57 * @dx: the horizontal offset of the shadow
58 * @dy: the vertical offset of the shadow
59 * @radius: the radius of the shadow
60 *
61 * The shadow parameters in a shadow node.
62 */
64{
66 float dx;
67 float dy;
68 float radius;
69};
70
72
73/**
74 * GskParseLocation:
75 * @bytes: the offset of the location in the parse buffer, as bytes
76 * @chars: the offset of the location in the parse buffer, as characters
77 * @lines: the line of the location in the parse buffer
78 * @line_bytes: the position in the line, as bytes
79 * @line_chars: the position in the line, as characters
80 *
81 * A location in a parse buffer.
82 */
91
92/**
93 * GskParseErrorFunc:
94 * @start: start of the error location
95 * @end: end of the error location
96 * @error: the error
97 * @user_data: user data
98 *
99 * Type of callback that is called when an error occurs
100 * during node deserialization.
101 */
102typedef void (* GskParseErrorFunc) (const GskParseLocation *start,
103 const GskParseLocation *end,
104 const GError *error,
105 gpointer user_data);
106
109
112
117
120
123 graphene_rect_t *bounds);
124
128
131 cairo_t *cr);
132
137 const char *filename,
138 GError **error);
141 GskParseErrorFunc error_func,
142 gpointer user_data);
143
144#define GSK_TYPE_DEBUG_NODE (gsk_debug_node_get_type())
145#define GSK_TYPE_COLOR_NODE (gsk_color_node_get_type())
146#define GSK_TYPE_TEXTURE_NODE (gsk_texture_node_get_type())
147#define GSK_TYPE_TEXTURE_SCALE_NODE (gsk_texture_scale_node_get_type())
148#define GSK_TYPE_LINEAR_GRADIENT_NODE (gsk_linear_gradient_node_get_type())
149#define GSK_TYPE_REPEATING_LINEAR_GRADIENT_NODE (gsk_repeating_linear_gradient_node_get_type())
150#define GSK_TYPE_RADIAL_GRADIENT_NODE (gsk_radial_gradient_node_get_type())
151#define GSK_TYPE_REPEATING_RADIAL_GRADIENT_NODE (gsk_repeating_radial_gradient_node_get_type())
152#define GSK_TYPE_CONIC_GRADIENT_NODE (gsk_conic_gradient_node_get_type())
153#define GSK_TYPE_BORDER_NODE (gsk_border_node_get_type())
154#define GSK_TYPE_INSET_SHADOW_NODE (gsk_inset_shadow_node_get_type())
155#define GSK_TYPE_OUTSET_SHADOW_NODE (gsk_outset_shadow_node_get_type())
156#define GSK_TYPE_CAIRO_NODE (gsk_cairo_node_get_type())
157#define GSK_TYPE_CONTAINER_NODE (gsk_container_node_get_type())
158#define GSK_TYPE_TRANSFORM_NODE (gsk_transform_node_get_type())
159#define GSK_TYPE_OPACITY_NODE (gsk_opacity_node_get_type())
160#define GSK_TYPE_COLOR_MATRIX_NODE (gsk_color_matrix_node_get_type())
161#define GSK_TYPE_REPEAT_NODE (gsk_repeat_node_get_type())
162#define GSK_TYPE_CLIP_NODE (gsk_clip_node_get_type())
163#define GSK_TYPE_ROUNDED_CLIP_NODE (gsk_rounded_clip_node_get_type())
164#define GSK_TYPE_FILL_NODE (gsk_fill_node_get_type())
165#define GSK_TYPE_STROKE_NODE (gsk_stroke_node_get_type())
166#define GSK_TYPE_SHADOW_NODE (gsk_shadow_node_get_type())
167#define GSK_TYPE_BLEND_NODE (gsk_blend_node_get_type())
168#define GSK_TYPE_CROSS_FADE_NODE (gsk_cross_fade_node_get_type())
169#define GSK_TYPE_TEXT_NODE (gsk_text_node_get_type())
170#define GSK_TYPE_BLUR_NODE (gsk_blur_node_get_type())
171#define GSK_TYPE_MASK_NODE (gsk_mask_node_get_type())
172#define GSK_TYPE_GL_SHADER_NODE (gsk_gl_shader_node_get_type())
173#define GSK_TYPE_SUBSURFACE_NODE (gsk_subsurface_node_get_type())
174
175typedef struct _GskDebugNode GskDebugNode;
176typedef struct _GskColorNode GskColorNode;
177typedef struct _GskTextureNode GskTextureNode;
178typedef struct _GskTextureScaleNode GskTextureScaleNode;
179typedef struct _GskLinearGradientNode GskLinearGradientNode;
180typedef struct _GskRepeatingLinearGradientNode GskRepeatingLinearGradientNode;
181typedef struct _GskRadialGradientNode GskRadialGradientNode;
182typedef struct _GskRepeatingRadialGradientNode GskRepeatingRadialGradientNode;
183typedef struct _GskConicGradientNode GskConicGradientNode;
184typedef struct _GskBorderNode GskBorderNode;
185typedef struct _GskInsetShadowNode GskInsetShadowNode;
186typedef struct _GskOutsetShadowNode GskOutsetShadowNode;
187typedef struct _GskCairoNode GskCairoNode;
188typedef struct _GskContainerNode GskContainerNode;
189typedef struct _GskTransformNode GskTransformNode;
190typedef struct _GskOpacityNode GskOpacityNode;
191typedef struct _GskColorMatrixNode GskColorMatrixNode;
192typedef struct _GskRepeatNode GskRepeatNode;
193typedef struct _GskClipNode GskClipNode;
194typedef struct _GskRoundedClipNode GskRoundedClipNode;
195typedef struct _GskFillNode GskFillNode;
196typedef struct _GskStrokeNode GskStrokeNode;
197typedef struct _GskShadowNode GskShadowNode;
198typedef struct _GskBlendNode GskBlendNode;
199typedef struct _GskCrossFadeNode GskCrossFadeNode;
200typedef struct _GskTextNode GskTextNode;
201typedef struct _GskBlurNode GskBlurNode;
202typedef struct _GskMaskNode GskMaskNode;
203typedef struct _GskGLShaderNode GskGLShaderNode GDK_DEPRECATED_TYPE_IN_4_16_FOR(GtkGLArea);
204typedef struct _GskSubsurfaceNode GskSubsurfaceNode;
205
210 char *message);
215
220 const graphene_rect_t *bounds);
223
228 const graphene_rect_t *bounds);
231
236 const graphene_rect_t *bounds,
237 GskScalingFilter filter);
242
247 const graphene_point_t *start,
248 const graphene_point_t *end,
249 const GskColorStop *color_stops,
250 gsize n_color_stops);
259 gsize *n_stops);
260
265 const graphene_point_t *start,
266 const graphene_point_t *end,
267 const GskColorStop *color_stops,
268 gsize n_color_stops);
269
274 const graphene_point_t *center,
275 float rotation,
276 const GskColorStop *color_stops,
277 gsize n_color_stops);
288 gsize *n_stops);
289
294 const graphene_point_t *center,
295 float hradius,
296 float vradius,
297 float start,
298 float end,
299 const GskColorStop *color_stops,
300 gsize n_color_stops);
305 gsize *n_stops);
316
321 const graphene_point_t *center,
322 float hradius,
323 float vradius,
324 float start,
325 float end,
326 const GskColorStop *color_stops,
327 gsize n_color_stops);
328
333 const float border_width[4],
334 const GdkRGBA border_color[4]);
341
346 const GdkRGBA *color,
347 float dx,
348 float dy,
349 float spread,
350 float blur_radius);
363
368 const GdkRGBA *color,
369 float dx,
370 float dy,
371 float spread,
372 float blur_radius);
385
394
399 guint n_children);
404 guint idx) G_GNUC_PURE;
405
410 GskTransform *transform);
415
420 float opacity);
425
430 const graphene_matrix_t *color_matrix,
431 const graphene_vec4_t *color_offset);
435const graphene_matrix_t *
439
444 GskRenderNode *child,
445 const graphene_rect_t *child_bounds);
450
455 const graphene_rect_t *clip);
460
465 const GskRoundedRect *clip);
470
475 GskPath *path,
476 GskFillRule fill_rule);
483
488 GskPath *path,
489 const GskStroke *stroke);
496
501 const GskShadow *shadows,
502 gsize n_shadows);
510
515 GskRenderNode *top,
516 GskBlendMode blend_mode);
523
528 GskRenderNode *end,
529 float progress);
536
541 PangoGlyphString *glyphs,
542 const GdkRGBA *color,
543 const graphene_point_t *offset);
552 guint *n_glyphs);
557
562 float radius);
567
573 GskMaskMode mask_mode);
580
582
587 const graphene_rect_t *bounds,
588 GBytes *args,
589 GskRenderNode **children,
590 guint n_children);
595 guint idx) G_GNUC_PURE;
600
602
607 gpointer subsurface);
612
613/**
614 * GSK_VALUE_HOLDS_RENDER_NODE:
615 * @value: a `GValue`
616 *
617 * Evaluates to %TRUE if @value was initialized with %GSK_TYPE_RENDER_NODE.
618 */
619#define GSK_VALUE_HOLDS_RENDER_NODE(value) (G_VALUE_HOLDS ((value), GSK_TYPE_RENDER_NODE))
620
623 GskRenderNode *node);
626 GskRenderNode *node);
631
633
635
struct _cairo_surface cairo_surface_t
Definition cairo.h:164
struct _cairo cairo_t
Definition cairo.h:135
typedefG_BEGIN_DECLS struct _GBytes GBytes
Definition garray.h:38
#define GDK_AVAILABLE_IN_4_10
#define GDK_AVAILABLE_IN_4_4
#define GDK_AVAILABLE_IN_4_16
#define GDK_DEPRECATED_TYPE_IN_4_16_FOR(f)
#define GDK_AVAILABLE_IN_4_2
#define GDK_DEPRECATED_IN_4_16_FOR(f)
#define GDK_AVAILABLE_IN_4_14
#define GDK_AVAILABLE_IN_ALL
struct _GdkTexture GdkTexture
Definition gdktypes.h:82
unsigned long gsize
Definition glibconfig.h:83
#define G_GNUC_WARN_UNUSED_RESULT
Definition gmacros.h:814
#define G_GNUC_PURE
Definition gmacros.h:287
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_BEGIN_IGNORE_DEPRECATIONS
Definition gmacros.h:771
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
#define G_GNUC_END_IGNORE_DEPRECATIONS
Definition gmacros.h:772
G_BEGIN_DECLS typedef guint32 GQuark
Definition gquark.h:38
GskRenderNodeType
Definition gskenums.h:96
GskMaskMode
Definition gskenums.h:471
GskFillRule
Definition gskenums.h:242
GskScalingFilter
Definition gskenums.h:143
GskBlendMode
Definition gskenums.h:179
struct _GskOutsetShadowNode GskOutsetShadowNode
GDK_AVAILABLE_IN_ALL void gsk_render_node_draw(GskRenderNode *node, cairo_t *cr)
GDK_AVAILABLE_IN_ALL GskRenderNodeType gsk_render_node_get_node_type(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL float gsk_inset_shadow_node_get_spread(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const graphene_matrix_t * gsk_color_matrix_node_get_color_matrix(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL gboolean gsk_render_node_write_to_file(GskRenderNode *node, const char *filename, GError **error)
GDK_AVAILABLE_IN_ALL float gsk_opacity_node_get_opacity(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_texture_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_14 GskRenderNode * gsk_stroke_node_new(GskRenderNode *child, GskPath *path, const GskStroke *stroke)
GDK_AVAILABLE_IN_ALL GType gsk_cross_fade_node_get_type(void) G_GNUC_CONST
struct _GskFillNode GskFillNode
struct _GskColorNode GskColorNode
GDK_AVAILABLE_IN_ALL GType gsk_linear_gradient_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_repeating_radial_gradient_node_new(const graphene_rect_t *bounds, const graphene_point_t *center, float hradius, float vradius, float start, float end, const GskColorStop *color_stops, gsize n_color_stops)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_render_node_ref(GskRenderNode *node)
GDK_AVAILABLE_IN_ALL const graphene_rect_t * gsk_clip_node_get_clip(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const GskColorStop * gsk_linear_gradient_node_get_color_stops(const GskRenderNode *node, gsize *n_stops)
GDK_AVAILABLE_IN_ALL cairo_t * gsk_cairo_node_get_draw_context(GskRenderNode *node)
GDK_AVAILABLE_IN_4_16 gboolean gsk_render_node_get_opaque_rect(GskRenderNode *self, graphene_rect_t *out_opaque) G_GNUC_WARN_UNUSED_RESULT
GDK_AVAILABLE_IN_ALL void gsk_render_node_get_bounds(GskRenderNode *node, graphene_rect_t *bounds)
GDK_AVAILABLE_IN_ALL float gsk_inset_shadow_node_get_dx(const GskRenderNode *node) G_GNUC_PURE
struct _GskRoundedClipNode GskRoundedClipNode
GDK_AVAILABLE_IN_4_14 GskRenderNode * gsk_stroke_node_get_child(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_shadow_node_new(GskRenderNode *child, const GskShadow *shadows, gsize n_shadows)
GDK_AVAILABLE_IN_ALL gsize gsk_linear_gradient_node_get_n_color_stops(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_blur_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_10 GskRenderNode * gsk_mask_node_get_mask(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_render_node_deserialize(GBytes *bytes, GskParseErrorFunc error_func, gpointer user_data)
GDK_AVAILABLE_IN_4_14 GType gsk_fill_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GType gsk_container_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL const graphene_point_t * gsk_text_node_get_offset(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_container_node_get_child(const GskRenderNode *node, guint idx) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const graphene_point_t * gsk_conic_gradient_node_get_center(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_color_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL float gsk_inset_shadow_node_get_blur_radius(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_blur_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_outset_shadow_node_new(const GskRoundedRect *outline, const GdkRGBA *color, float dx, float dy, float spread, float blur_radius)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_transform_node_new(GskRenderNode *child, GskTransform *transform)
GDK_AVAILABLE_IN_ALL const GdkRGBA * gsk_text_node_get_color(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskTransform * gsk_transform_node_get_transform(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_10 GskMaskMode gsk_mask_node_get_mask_mode(const GskRenderNode *node)
struct _GskConicGradientNode GskConicGradientNode
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_color_node_new(const GdkRGBA *rgba, const graphene_rect_t *bounds)
GDK_AVAILABLE_IN_ALL gsize gsk_conic_gradient_node_get_n_color_stops(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL float gsk_inset_shadow_node_get_dy(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_transform_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GType gsk_shadow_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL void gsk_render_node_unref(GskRenderNode *node)
GskRenderNode * gsk_gl_shader_node_get_child(const GskRenderNode *node, guint idx) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_repeat_node_new(const graphene_rect_t *bounds, GskRenderNode *child, const graphene_rect_t *child_bounds)
GDK_AVAILABLE_IN_ALL GType gsk_rounded_clip_node_get_type(void) G_GNUC_CONST
struct _GskLinearGradientNode GskLinearGradientNode
GDK_AVAILABLE_IN_ALL GType gsk_repeat_node_get_type(void) G_GNUC_CONST
G_GNUC_END_IGNORE_DEPRECATIONS GDK_AVAILABLE_IN_4_14 GType gsk_subsurface_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_14 GskFillRule gsk_fill_node_get_fill_rule(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_repeating_linear_gradient_node_new(const graphene_rect_t *bounds, const graphene_point_t *start, const graphene_point_t *end, const GskColorStop *color_stops, gsize n_color_stops)
GDK_AVAILABLE_IN_ALL GQuark gsk_serialization_error_quark(void)
GDK_AVAILABLE_IN_ALL const GdkRGBA * gsk_inset_shadow_node_get_color(const GskRenderNode *node) G_GNUC_PURE
struct _GskColorMatrixNode GskColorMatrixNode
struct _GskBorderNode GskBorderNode
GDK_AVAILABLE_IN_ALL guint gsk_text_node_get_num_glyphs(const GskRenderNode *node) G_GNUC_PURE
struct _GskRepeatingLinearGradientNode GskRepeatingLinearGradientNode
GBytes * gsk_gl_shader_node_get_args(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_border_node_get_type(void) G_GNUC_CONST
struct _GskBlendNode GskBlendNode
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_container_node_new(GskRenderNode **children, guint n_children)
GDK_AVAILABLE_IN_ALL const GskRoundedRect * gsk_border_node_get_outline(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_14 GskRenderNode * gsk_subsurface_node_new(GskRenderNode *child, gpointer subsurface)
GDK_AVAILABLE_IN_ALL float gsk_outset_shadow_node_get_spread(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const GdkRGBA * gsk_outset_shadow_node_get_color(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_opacity_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL float gsk_outset_shadow_node_get_dx(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const GskColorStop * gsk_radial_gradient_node_get_color_stops(const GskRenderNode *node, gsize *n_stops)
GDK_AVAILABLE_IN_4_14 GskRenderNode * gsk_fill_node_new(GskRenderNode *child, GskPath *path, GskFillRule fill_rule)
GDK_AVAILABLE_IN_4_14 GType gsk_stroke_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_10 GdkTexture * gsk_texture_scale_node_get_texture(const GskRenderNode *node) G_GNUC_PURE
guint gsk_gl_shader_node_get_n_children(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL float gsk_radial_gradient_node_get_start(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const graphene_point_t * gsk_linear_gradient_node_get_start(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL gsize gsk_radial_gradient_node_get_n_color_stops(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_blend_node_new(GskRenderNode *bottom, GskRenderNode *top, GskBlendMode blend_mode)
GDK_AVAILABLE_IN_ALL GType gsk_debug_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GdkTexture * gsk_texture_node_get_texture(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const graphene_rect_t * gsk_repeat_node_get_child_bounds(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL float gsk_outset_shadow_node_get_blur_radius(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_clip_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL float gsk_radial_gradient_node_get_end(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_10 GskRenderNode * gsk_texture_scale_node_new(GdkTexture *texture, const graphene_rect_t *bounds, GskScalingFilter filter)
struct _GskClipNode GskClipNode
GDK_AVAILABLE_IN_ALL const graphene_point_t * gsk_radial_gradient_node_get_center(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_radial_gradient_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL cairo_surface_t * gsk_cairo_node_get_surface(GskRenderNode *node)
GDK_AVAILABLE_IN_ALL GType gsk_color_matrix_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_opacity_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_inset_shadow_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_4 void gsk_value_take_render_node(GValue *value, GskRenderNode *node)
struct _GskOpacityNode GskOpacityNode
GDK_AVAILABLE_IN_4_14 const GskStroke * gsk_stroke_node_get_stroke(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_conic_gradient_node_new(const graphene_rect_t *bounds, const graphene_point_t *center, float rotation, const GskColorStop *color_stops, gsize n_color_stops)
struct _GskCrossFadeNode GskCrossFadeNode
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_transform_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_14 gpointer gsk_subsurface_node_get_subsurface(const GskRenderNode *node)
G_GNUC_BEGIN_IGNORE_DEPRECATIONS GType gsk_gl_shader_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GType gsk_repeating_linear_gradient_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GType gsk_render_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_debug_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_blend_node_get_bottom_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GType gsk_text_node_get_type(void) G_GNUC_CONST
GskGLShader * gsk_gl_shader_node_get_shader(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const GskRoundedRect * gsk_outset_shadow_node_get_outline(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL float gsk_blur_node_get_radius(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL float gsk_outset_shadow_node_get_dy(const GskRenderNode *node) G_GNUC_PURE
struct _GskInsetShadowNode GskInsetShadowNode
struct _GskTextNode GskTextNode
GDK_AVAILABLE_IN_ALL GskBlendMode gsk_blend_node_get_blend_mode(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_2 float gsk_conic_gradient_node_get_angle(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL gsize gsk_shadow_node_get_n_shadows(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_14 GskRenderNode * gsk_subsurface_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL guint gsk_container_node_get_n_children(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_14 GskPath * gsk_fill_node_get_path(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL const GdkRGBA * gsk_border_node_get_colors(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_repeat_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_14 GskPath * gsk_stroke_node_get_path(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL const GdkRGBA * gsk_color_node_get_color(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const char * gsk_debug_node_get_message(const GskRenderNode *node) G_GNUC_PURE
void(* GskParseErrorFunc)(const GskParseLocation *start, const GskParseLocation *end, const GError *error, gpointer user_data)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_debug_node_new(GskRenderNode *child, char *message)
struct _GskTextureNode GskTextureNode
GDK_AVAILABLE_IN_4_10 GType gsk_mask_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL const GskShadow * gsk_shadow_node_get_shadow(const GskRenderNode *node, gsize i) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_cross_fade_node_get_end_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_2 gboolean gsk_text_node_has_color_glyphs(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_texture_node_new(GdkTexture *texture, const graphene_rect_t *bounds)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_linear_gradient_node_new(const graphene_rect_t *bounds, const graphene_point_t *start, const graphene_point_t *end, const GskColorStop *color_stops, gsize n_color_stops)
GDK_AVAILABLE_IN_4_14 GskRenderNode * gsk_fill_node_get_child(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_cross_fade_node_new(GskRenderNode *start, GskRenderNode *end, float progress)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_rounded_clip_node_new(GskRenderNode *child, const GskRoundedRect *clip)
GDK_AVAILABLE_IN_ALL GType gsk_blend_node_get_type(void) G_GNUC_CONST
struct _GskStrokeNode GskStrokeNode
GDK_AVAILABLE_IN_ALL float gsk_radial_gradient_node_get_vradius(const GskRenderNode *node) G_GNUC_PURE
struct _GskCairoNode GskCairoNode
GDK_AVAILABLE_IN_ALL float gsk_conic_gradient_node_get_rotation(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_10 GskScalingFilter gsk_texture_scale_node_get_filter(const GskRenderNode *node) G_GNUC_PURE
struct _GskDebugNode GskDebugNode
struct _GskRepeatNode GskRepeatNode
GskRenderNode * gsk_gl_shader_node_new(GskGLShader *shader, const graphene_rect_t *bounds, GBytes *args, GskRenderNode **children, guint n_children)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_blur_node_new(GskRenderNode *child, float radius)
GDK_AVAILABLE_IN_ALL GBytes * gsk_render_node_serialize(GskRenderNode *node)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_text_node_new(PangoFont *font, PangoGlyphString *glyphs, const GdkRGBA *color, const graphene_point_t *offset)
struct _GskRepeatingRadialGradientNode GskRepeatingRadialGradientNode
GDK_AVAILABLE_IN_ALL const float * gsk_border_node_get_widths(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_4 GskRenderNode * gsk_value_get_render_node(const GValue *value)
struct _GskContainerNode GskContainerNode
struct _GskRadialGradientNode GskRadialGradientNode
GDK_AVAILABLE_IN_4_10 GType gsk_texture_scale_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GType gsk_outset_shadow_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_4 GskRenderNode * gsk_value_dup_render_node(const GValue *value)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_cross_fade_node_get_start_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_border_node_new(const GskRoundedRect *outline, const float border_width[4], const GdkRGBA border_color[4])
GDK_AVAILABLE_IN_ALL GType gsk_conic_gradient_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_10 GskRenderNode * gsk_mask_node_get_source(const GskRenderNode *node)
GDK_AVAILABLE_IN_ALL const GskRoundedRect * gsk_inset_shadow_node_get_outline(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL const graphene_point_t * gsk_linear_gradient_node_get_end(const GskRenderNode *node) G_GNUC_PURE
struct _GskBlurNode GskBlurNode
GDK_AVAILABLE_IN_ALL float gsk_radial_gradient_node_get_hradius(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_opacity_node_new(GskRenderNode *child, float opacity)
GDK_AVAILABLE_IN_4_10 GskRenderNode * gsk_mask_node_new(GskRenderNode *source, GskRenderNode *mask, GskMaskMode mask_mode)
GDK_AVAILABLE_IN_ALL const PangoGlyphInfo * gsk_text_node_get_glyphs(const GskRenderNode *node, guint *n_glyphs)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_color_matrix_node_new(GskRenderNode *child, const graphene_matrix_t *color_matrix, const graphene_vec4_t *color_offset)
GDK_AVAILABLE_IN_ALL PangoFont * gsk_text_node_get_font(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_color_matrix_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_clip_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_shadow_node_get_child(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_4_4 void gsk_value_set_render_node(GValue *value, GskRenderNode *node)
GDK_AVAILABLE_IN_ALL const GskRoundedRect * gsk_rounded_clip_node_get_clip(const GskRenderNode *node) G_GNUC_PURE
struct _GskTransformNode GskTransformNode
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_inset_shadow_node_new(const GskRoundedRect *outline, const GdkRGBA *color, float dx, float dy, float spread, float blur_radius)
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_clip_node_new(GskRenderNode *child, const graphene_rect_t *clip)
struct _GskSubsurfaceNode GskSubsurfaceNode
GDK_AVAILABLE_IN_ALL GType gsk_cairo_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_rounded_clip_node_get_child(const GskRenderNode *node) G_GNUC_PURE
struct _GskTextureScaleNode GskTextureScaleNode
struct _GskShadowNode GskShadowNode
GDK_AVAILABLE_IN_ALL GType gsk_repeating_radial_gradient_node_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_radial_gradient_node_new(const graphene_rect_t *bounds, const graphene_point_t *center, float hradius, float vradius, float start, float end, const GskColorStop *color_stops, gsize n_color_stops)
GDK_AVAILABLE_IN_ALL const graphene_vec4_t * gsk_color_matrix_node_get_color_offset(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_cairo_node_new(const graphene_rect_t *bounds)
GDK_AVAILABLE_IN_ALL const GskColorStop * gsk_conic_gradient_node_get_color_stops(const GskRenderNode *node, gsize *n_stops)
GDK_AVAILABLE_IN_ALL float gsk_cross_fade_node_get_progress(const GskRenderNode *node) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_blend_node_get_top_child(const GskRenderNode *node) G_GNUC_PURE
struct _GskMaskNode GskMaskNode
struct _GskTransform GskTransform
Definition gsktypes.h:36
struct _GskRenderNode GskRenderNode
Definition gsktypes.h:33
struct _GskStroke GskStroke
Definition gsktypes.h:35
struct _GskPath GskPath
Definition gsktypes.h:28
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
void * gpointer
Definition gtypes.h:109
unsigned int guint
Definition gtypes.h:61
int value
Definition lsqlite3.c:2155
static void error(LoadState *S, const char *why)
#define mask(n)
GdkRGBA color