diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-02-05 20:13:20 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-02-06 01:16:32 -0500 |
commit | 4c150d8eb518c35c484802e5cd7da572e4030f25 (patch) | |
tree | 8867f973fd6c9737b5d7f05d6945817f354a37e2 /gtk/gtksnapshot.h | |
parent | 2616e6857cc136c654b64dd16839ddf89f4b5c62 (diff) | |
download | gtk+-4c150d8eb518c35c484802e5cd7da572e4030f25.tar.gz |
The big versioning cleanup
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
Diffstat (limited to 'gtk/gtksnapshot.h')
-rw-r--r-- | gtk/gtksnapshot.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h index 5d9657d01b..8a02345f11 100644 --- a/gtk/gtksnapshot.h +++ b/gtk/gtksnapshot.h @@ -36,129 +36,129 @@ G_BEGIN_DECLS -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push (GtkSnapshot *snapshot, gboolean keep_coordinates, const char *name, ...) G_GNUC_PRINTF (3, 4); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_transform (GtkSnapshot *snapshot, const graphene_matrix_t*transform, const char *name, ...) G_GNUC_PRINTF (3, 4); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_opacity (GtkSnapshot *snapshot, double opacity, const char *name, ...) G_GNUC_PRINTF (3, 4); -GDK_AVAILABLE_IN_3_92 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_blur (GtkSnapshot *snapshot, double radius, const char *name, ...) G_GNUC_PRINTF (3, 4); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_color_matrix (GtkSnapshot *snapshot, const graphene_matrix_t*color_matrix, const graphene_vec4_t *color_offset, const char *name, ...) G_GNUC_PRINTF (4, 5); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_repeat (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_rect_t *child_bounds, const char *name, ...) G_GNUC_PRINTF (4, 5); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_clip (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const char *name, ...) G_GNUC_PRINTF (3, 4); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_rounded_clip (GtkSnapshot *snapshot, const GskRoundedRect *bounds, const char *name, ...) G_GNUC_PRINTF (3, 4); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_shadow (GtkSnapshot *snapshot, const GskShadow *shadow, gsize n_shadows, const char *name, ...) G_GNUC_PRINTF (4, 5); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_blend (GtkSnapshot *snapshot, GskBlendMode blend_mode, const char *name, ...) G_GNUC_PRINTF (3, 4); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_push_cross_fade (GtkSnapshot *snapshot, double progress, const char *name, ...) G_GNUC_PRINTF (3, 4); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_pop (GtkSnapshot *snapshot); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_offset (GtkSnapshot *snapshot, int x, int y); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_get_offset (GtkSnapshot *snapshot, int *x, int *y); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_node (GtkSnapshot *snapshot, GskRenderNode *node); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL cairo_t * gtk_snapshot_append_cairo (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const char *name, ...) G_GNUC_PRINTF(3, 4); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_texture (GtkSnapshot *snapshot, GdkTexture *texture, const graphene_rect_t *bounds, const char *name, ...) G_GNUC_PRINTF (4, 5); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_color (GtkSnapshot *snapshot, const GdkRGBA *color, const graphene_rect_t *bounds, const char *name, ...) G_GNUC_PRINTF (4, 5); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL gboolean gtk_snapshot_clips_rect (GtkSnapshot *snapshot, const cairo_rectangle_int_t *bounds); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_render_background (GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_render_frame (GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_render_focus (GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height); -GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_render_layout (GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, PangoLayout *layout); -GDK_AVAILABLE_IN_3_90 /* in gtkstylecontext.c */ +GDK_AVAILABLE_IN_ALL /* in gtkstylecontext.c */ void gtk_snapshot_render_insertion_cursor (GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, @@ -166,7 +166,7 @@ void gtk_snapshot_render_insertion_cursor (GtkSnapshot PangoLayout *layout, int index, PangoDirection direction); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_linear_gradient (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *start_point, @@ -175,7 +175,7 @@ void gtk_snapshot_append_linear_gradient (GtkSnapshot gsize n_stops, const char *name, ...) G_GNUC_PRINTF (7, 8); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL void gtk_snapshot_append_repeating_linear_gradient (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *start_point, |