diff options
Diffstat (limited to 'gtk/gdkpixbufutilsprivate.h')
-rw-r--r-- | gtk/gdkpixbufutilsprivate.h | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/gtk/gdkpixbufutilsprivate.h b/gtk/gdkpixbufutilsprivate.h index 10801722e4..77e21a4c75 100644 --- a/gtk/gdkpixbufutilsprivate.h +++ b/gtk/gdkpixbufutilsprivate.h @@ -21,49 +21,48 @@ G_BEGIN_DECLS -GdkPixbuf *_gdk_pixbuf_new_from_stream (GInputStream *stream, +GdkPixbuf *gtk_make_symbolic_pixbuf_from_data (const char *data, + gsize len, + int width, + int height, + double scale, + const char *debug_output_to, + GError **error); + +GdkTexture *gdk_texture_new_from_stream (GInputStream *stream, GCancellable *cancellable, GError **error); -GdkPixbuf *_gdk_pixbuf_new_from_stream_at_scale (GInputStream *stream, +GdkTexture *gdk_texture_new_from_stream_at_scale (GInputStream *stream, int width, int height, gboolean aspect, GCancellable *cancellable, GError **error); -GdkPixbuf *_gdk_pixbuf_new_from_resource_at_scale (const char *resource_path, +GdkTexture *gdk_texture_new_from_resource_at_scale (const char *path, int width, int height, - gboolean preserve_aspect, + gboolean aspect, GError **error); -GdkPixbuf *gtk_make_symbolic_pixbuf_from_data (const char *data, - gsize len, + +GdkTexture *gdk_texture_new_from_path_symbolic (const char *path, int width, int height, double scale, - const char *debug_output_to, GError **error); -GdkPixbuf *gtk_make_symbolic_pixbuf_from_path (const char *path, +GdkTexture *gdk_texture_new_from_file_symbolic (GFile *file, int width, int height, double scale, GError **error); -GdkPixbuf *gtk_make_symbolic_pixbuf_from_resource (const char *path, +GdkTexture *gdk_texture_new_from_resource_symbolic (const char *path, int width, int height, double scale, GError **error); + GdkTexture *gtk_load_symbolic_texture_from_file (GFile *file); -GdkTexture *gtk_make_symbolic_texture_from_file (GFile *file, - int width, - int height, - double scale, - GError **error); GdkTexture *gtk_load_symbolic_texture_from_resource (const char *data); -GdkTexture *gtk_make_symbolic_texture_from_resource (const char *path, - int width, - int height, - double scale, - GError **error); + GdkPaintable *gdk_paintable_new_from_path_scaled (const char *path, int scale_factor); GdkPaintable *gdk_paintable_new_from_resource_scaled (const char *path, @@ -72,4 +71,3 @@ GdkPaintable *gdk_paintable_new_from_file_scaled (GFile *file, int scale_factor); G_END_DECLS - |