Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtksnapshot.h File Reference
#include <gsk/gsk.h>
#include <gtk/gtktypes.h>

Go to the source code of this file.

Macros

#define GTK_TYPE_SNAPSHOT   (gtk_snapshot_get_type ())
 
#define GTK_SNAPSHOT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SNAPSHOT, GtkSnapshot))
 
#define GTK_IS_SNAPSHOT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SNAPSHOT))
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GtkSnapshotClass GtkSnapshotClass
 

Functions

GDK_AVAILABLE_IN_ALL GType gtk_snapshot_get_type (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL GtkSnapshotgtk_snapshot_new (void)
 
GDK_AVAILABLE_IN_ALL GskRenderNodegtk_snapshot_free_to_node (GtkSnapshot *snapshot)
 
GDK_AVAILABLE_IN_ALL GdkPaintable * gtk_snapshot_free_to_paintable (GtkSnapshot *snapshot, const graphene_size_t *size)
 
GDK_AVAILABLE_IN_ALL GskRenderNodegtk_snapshot_to_node (GtkSnapshot *snapshot)
 
GDK_AVAILABLE_IN_ALL GdkPaintable * gtk_snapshot_to_paintable (GtkSnapshot *snapshot, const graphene_size_t *size)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_debug (GtkSnapshot *snapshot, const char *message,...) G_GNUC_PRINTF(2
 
GDK_AVAILABLE_IN_ALL void GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_opacity (GtkSnapshot *snapshot, double opacity)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_blur (GtkSnapshot *snapshot, double radius)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_color_matrix (GtkSnapshot *snapshot, const graphene_matrix_t *color_matrix, const graphene_vec4_t *color_offset)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_repeat (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_rect_t *child_bounds)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_clip (GtkSnapshot *snapshot, const graphene_rect_t *bounds)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_rounded_clip (GtkSnapshot *snapshot, const GskRoundedRect *bounds)
 
GDK_AVAILABLE_IN_4_14 void gtk_snapshot_push_fill (GtkSnapshot *snapshot, GskPath *path, GskFillRule fill_rule)
 
GDK_AVAILABLE_IN_4_14 void gtk_snapshot_push_stroke (GtkSnapshot *snapshot, GskPath *path, const GskStroke *stroke)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_shadow (GtkSnapshot *snapshot, const GskShadow *shadow, gsize n_shadows)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_blend (GtkSnapshot *snapshot, GskBlendMode blend_mode)
 
GDK_AVAILABLE_IN_4_10 void gtk_snapshot_push_mask (GtkSnapshot *snapshot, GskMaskMode mask_mode)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_cross_fade (GtkSnapshot *snapshot, double progress)
 
G_GNUC_BEGIN_IGNORE_DEPRECATIONS void gtk_snapshot_push_gl_shader (GtkSnapshot *snapshot, GskGLShader *shader, const graphene_rect_t *bounds, GBytes *take_args)
 
void gtk_snapshot_gl_shader_pop_texture (GtkSnapshot *snapshot)
 
G_GNUC_END_IGNORE_DEPRECATIONS GDK_AVAILABLE_IN_ALL void gtk_snapshot_pop (GtkSnapshot *snapshot)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_save (GtkSnapshot *snapshot)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_restore (GtkSnapshot *snapshot)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_transform (GtkSnapshot *snapshot, GskTransform *transform)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_transform_matrix (GtkSnapshot *snapshot, const graphene_matrix_t *matrix)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_translate (GtkSnapshot *snapshot, const graphene_point_t *point)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_translate_3d (GtkSnapshot *snapshot, const graphene_point3d_t *point)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_rotate (GtkSnapshot *snapshot, float angle)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_rotate_3d (GtkSnapshot *snapshot, float angle, const graphene_vec3_t *axis)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_scale (GtkSnapshot *snapshot, float factor_x, float factor_y)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_scale_3d (GtkSnapshot *snapshot, float factor_x, float factor_y, float factor_z)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_perspective (GtkSnapshot *snapshot, float depth)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_node (GtkSnapshot *snapshot, GskRenderNode *node)
 
GDK_AVAILABLE_IN_ALL cairo_tgtk_snapshot_append_cairo (GtkSnapshot *snapshot, const graphene_rect_t *bounds)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_texture (GtkSnapshot *snapshot, GdkTexture *texture, const graphene_rect_t *bounds)
 
GDK_AVAILABLE_IN_4_10 void gtk_snapshot_append_scaled_texture (GtkSnapshot *snapshot, GdkTexture *texture, GskScalingFilter filter, const graphene_rect_t *bounds)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_color (GtkSnapshot *snapshot, const GdkRGBA *color, const graphene_rect_t *bounds)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_linear_gradient (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *start_point, const graphene_point_t *end_point, const GskColorStop *stops, gsize n_stops)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_repeating_linear_gradient (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *start_point, const graphene_point_t *end_point, const GskColorStop *stops, gsize n_stops)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_radial_gradient (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *center, float hradius, float vradius, float start, float end, const GskColorStop *stops, gsize n_stops)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_repeating_radial_gradient (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *center, float hradius, float vradius, float start, float end, const GskColorStop *stops, gsize n_stops)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_conic_gradient (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *center, float rotation, const GskColorStop *stops, gsize n_stops)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_border (GtkSnapshot *snapshot, const GskRoundedRect *outline, const float border_width[4], const GdkRGBA border_color[4])
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_inset_shadow (GtkSnapshot *snapshot, const GskRoundedRect *outline, const GdkRGBA *color, float dx, float dy, float spread, float blur_radius)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_outset_shadow (GtkSnapshot *snapshot, const GskRoundedRect *outline, const GdkRGBA *color, float dx, float dy, float spread, float blur_radius)
 
GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_layout (GtkSnapshot *snapshot, PangoLayout *layout, const GdkRGBA *color)
 
GDK_AVAILABLE_IN_4_14 void gtk_snapshot_append_fill (GtkSnapshot *snapshot, GskPath *path, GskFillRule fill_rule, const GdkRGBA *color)
 
GDK_AVAILABLE_IN_4_14 void gtk_snapshot_append_stroke (GtkSnapshot *snapshot, GskPath *path, const GskStroke *stroke, const GdkRGBA *color)
 

Macro Definition Documentation

◆ GTK_IS_SNAPSHOT

#define GTK_IS_SNAPSHOT ( obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SNAPSHOT))

Definition at line 43 of file gtksnapshot.h.

◆ GTK_SNAPSHOT

#define GTK_SNAPSHOT ( obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SNAPSHOT, GtkSnapshot))

Definition at line 42 of file gtksnapshot.h.

◆ GTK_TYPE_SNAPSHOT

#define GTK_TYPE_SNAPSHOT   (gtk_snapshot_get_type ())

Definition at line 40 of file gtksnapshot.h.

Typedef Documentation

◆ GtkSnapshotClass

typedef typedefG_BEGIN_DECLS struct _GtkSnapshotClass GtkSnapshotClass

Definition at line 38 of file gtksnapshot.h.

Function Documentation

◆ gtk_snapshot_append_border()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_border ( GtkSnapshot * snapshot,
const GskRoundedRect * outline,
const float border_width[4],
const GdkRGBA border_color[4] )

◆ gtk_snapshot_append_cairo()

GDK_AVAILABLE_IN_ALL cairo_t * gtk_snapshot_append_cairo ( GtkSnapshot * snapshot,
const graphene_rect_t * bounds )

◆ gtk_snapshot_append_color()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_color ( GtkSnapshot * snapshot,
const GdkRGBA * color,
const graphene_rect_t * bounds )

◆ gtk_snapshot_append_conic_gradient()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_conic_gradient ( GtkSnapshot * snapshot,
const graphene_rect_t * bounds,
const graphene_point_t * center,
float rotation,
const GskColorStop * stops,
gsize n_stops )

◆ gtk_snapshot_append_fill()

GDK_AVAILABLE_IN_4_14 void gtk_snapshot_append_fill ( GtkSnapshot * snapshot,
GskPath * path,
GskFillRule fill_rule,
const GdkRGBA * color )

◆ gtk_snapshot_append_inset_shadow()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_inset_shadow ( GtkSnapshot * snapshot,
const GskRoundedRect * outline,
const GdkRGBA * color,
float dx,
float dy,
float spread,
float blur_radius )

◆ gtk_snapshot_append_layout()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_layout ( GtkSnapshot * snapshot,
PangoLayout * layout,
const GdkRGBA * color )

◆ gtk_snapshot_append_linear_gradient()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_linear_gradient ( GtkSnapshot * snapshot,
const graphene_rect_t * bounds,
const graphene_point_t * start_point,
const graphene_point_t * end_point,
const GskColorStop * stops,
gsize n_stops )

◆ gtk_snapshot_append_node()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_node ( GtkSnapshot * snapshot,
GskRenderNode * node )

◆ gtk_snapshot_append_outset_shadow()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_outset_shadow ( GtkSnapshot * snapshot,
const GskRoundedRect * outline,
const GdkRGBA * color,
float dx,
float dy,
float spread,
float blur_radius )

◆ gtk_snapshot_append_radial_gradient()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_radial_gradient ( GtkSnapshot * snapshot,
const graphene_rect_t * bounds,
const graphene_point_t * center,
float hradius,
float vradius,
float start,
float end,
const GskColorStop * stops,
gsize n_stops )

◆ gtk_snapshot_append_repeating_linear_gradient()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_repeating_linear_gradient ( GtkSnapshot * snapshot,
const graphene_rect_t * bounds,
const graphene_point_t * start_point,
const graphene_point_t * end_point,
const GskColorStop * stops,
gsize n_stops )

◆ gtk_snapshot_append_repeating_radial_gradient()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_repeating_radial_gradient ( GtkSnapshot * snapshot,
const graphene_rect_t * bounds,
const graphene_point_t * center,
float hradius,
float vradius,
float start,
float end,
const GskColorStop * stops,
gsize n_stops )

◆ gtk_snapshot_append_scaled_texture()

GDK_AVAILABLE_IN_4_10 void gtk_snapshot_append_scaled_texture ( GtkSnapshot * snapshot,
GdkTexture * texture,
GskScalingFilter filter,
const graphene_rect_t * bounds )

◆ gtk_snapshot_append_stroke()

GDK_AVAILABLE_IN_4_14 void gtk_snapshot_append_stroke ( GtkSnapshot * snapshot,
GskPath * path,
const GskStroke * stroke,
const GdkRGBA * color )

◆ gtk_snapshot_append_texture()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_texture ( GtkSnapshot * snapshot,
GdkTexture * texture,
const graphene_rect_t * bounds )

◆ gtk_snapshot_free_to_node()

GDK_AVAILABLE_IN_ALL GskRenderNode * gtk_snapshot_free_to_node ( GtkSnapshot * snapshot)

◆ gtk_snapshot_free_to_paintable()

GDK_AVAILABLE_IN_ALL GdkPaintable * gtk_snapshot_free_to_paintable ( GtkSnapshot * snapshot,
const graphene_size_t * size )

◆ gtk_snapshot_get_type()

GDK_AVAILABLE_IN_ALL GType gtk_snapshot_get_type ( void )

◆ gtk_snapshot_gl_shader_pop_texture()

void gtk_snapshot_gl_shader_pop_texture ( GtkSnapshot * snapshot)

◆ gtk_snapshot_new()

GDK_AVAILABLE_IN_ALL GtkSnapshot * gtk_snapshot_new ( void )

◆ gtk_snapshot_perspective()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_perspective ( GtkSnapshot * snapshot,
float depth )

◆ gtk_snapshot_pop()

◆ gtk_snapshot_push_blend()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_blend ( GtkSnapshot * snapshot,
GskBlendMode blend_mode )

◆ gtk_snapshot_push_blur()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_blur ( GtkSnapshot * snapshot,
double radius )

◆ gtk_snapshot_push_clip()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_clip ( GtkSnapshot * snapshot,
const graphene_rect_t * bounds )

◆ gtk_snapshot_push_color_matrix()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_color_matrix ( GtkSnapshot * snapshot,
const graphene_matrix_t * color_matrix,
const graphene_vec4_t * color_offset )

◆ gtk_snapshot_push_cross_fade()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_cross_fade ( GtkSnapshot * snapshot,
double progress )

◆ gtk_snapshot_push_debug()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_debug ( GtkSnapshot * snapshot,
const char * message,
... )

◆ gtk_snapshot_push_fill()

GDK_AVAILABLE_IN_4_14 void gtk_snapshot_push_fill ( GtkSnapshot * snapshot,
GskPath * path,
GskFillRule fill_rule )

◆ gtk_snapshot_push_gl_shader()

G_GNUC_BEGIN_IGNORE_DEPRECATIONS void gtk_snapshot_push_gl_shader ( GtkSnapshot * snapshot,
GskGLShader * shader,
const graphene_rect_t * bounds,
GBytes * take_args )

◆ gtk_snapshot_push_mask()

GDK_AVAILABLE_IN_4_10 void gtk_snapshot_push_mask ( GtkSnapshot * snapshot,
GskMaskMode mask_mode )

◆ gtk_snapshot_push_opacity()

GDK_AVAILABLE_IN_ALL void GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_opacity ( GtkSnapshot * snapshot,
double opacity )

◆ gtk_snapshot_push_repeat()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_repeat ( GtkSnapshot * snapshot,
const graphene_rect_t * bounds,
const graphene_rect_t * child_bounds )

◆ gtk_snapshot_push_rounded_clip()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_rounded_clip ( GtkSnapshot * snapshot,
const GskRoundedRect * bounds )

◆ gtk_snapshot_push_shadow()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_shadow ( GtkSnapshot * snapshot,
const GskShadow * shadow,
gsize n_shadows )

◆ gtk_snapshot_push_stroke()

GDK_AVAILABLE_IN_4_14 void gtk_snapshot_push_stroke ( GtkSnapshot * snapshot,
GskPath * path,
const GskStroke * stroke )

◆ gtk_snapshot_restore()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_restore ( GtkSnapshot * snapshot)

◆ gtk_snapshot_rotate()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_rotate ( GtkSnapshot * snapshot,
float angle )

◆ gtk_snapshot_rotate_3d()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_rotate_3d ( GtkSnapshot * snapshot,
float angle,
const graphene_vec3_t * axis )

◆ gtk_snapshot_save()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_save ( GtkSnapshot * snapshot)

◆ gtk_snapshot_scale()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_scale ( GtkSnapshot * snapshot,
float factor_x,
float factor_y )

◆ gtk_snapshot_scale_3d()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_scale_3d ( GtkSnapshot * snapshot,
float factor_x,
float factor_y,
float factor_z )

◆ gtk_snapshot_to_node()

GDK_AVAILABLE_IN_ALL GskRenderNode * gtk_snapshot_to_node ( GtkSnapshot * snapshot)

◆ gtk_snapshot_to_paintable()

GDK_AVAILABLE_IN_ALL GdkPaintable * gtk_snapshot_to_paintable ( GtkSnapshot * snapshot,
const graphene_size_t * size )

◆ gtk_snapshot_transform()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_transform ( GtkSnapshot * snapshot,
GskTransform * transform )

◆ gtk_snapshot_transform_matrix()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_transform_matrix ( GtkSnapshot * snapshot,
const graphene_matrix_t * matrix )

◆ gtk_snapshot_translate()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_translate ( GtkSnapshot * snapshot,
const graphene_point_t * point )

◆ gtk_snapshot_translate_3d()

GDK_AVAILABLE_IN_ALL void gtk_snapshot_translate_3d ( GtkSnapshot * snapshot,
const graphene_point3d_t * point )