summaryrefslogtreecommitdiff
path: root/gtk/gtksnapshot.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-02-11 14:20:23 -0500
committerMatthias Clasen <mclasen@redhat.com>2023-02-11 15:09:38 -0500
commit67c53e46f99aec91c6773f3e92a0cec1f8c9ada5 (patch)
treea54d148d4694057100b7db13a578bce802f53eb2 /gtk/gtksnapshot.h
parent238e7ec3519e55a8df6dd209a904329d6c22fbd9 (diff)
downloadgtk+-67c53e46f99aec91c6773f3e92a0cec1f8c9ada5.tar.gz
Add gtk_snapshot_append_scaled_texture
This is the snapshot api corresponding to gsk_texture_scale_node_new.
Diffstat (limited to 'gtk/gtksnapshot.h')
-rw-r--r--gtk/gtksnapshot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h
index 38cc0271aa..66d0d879f1 100644
--- a/gtk/gtksnapshot.h
+++ b/gtk/gtksnapshot.h
@@ -152,6 +152,11 @@ 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,