NetSurf
|
GDK support functions for missing interfaces. More...
#include <gtk/gtk.h>
Go to the source code of this file.
Functions | |
GdkPixbuf * | nsgdk_pixbuf_get_from_surface (cairo_surface_t *surface, int width, int height) |
obtain a pixbuf of the specified size from a cairo surface. More... | |
GDK support functions for missing interfaces.
Definition in file gdk.h.
GdkPixbuf * nsgdk_pixbuf_get_from_surface | ( | cairo_surface_t * | surface, |
int | width, | ||
int | height | ||
) |
obtain a pixbuf of the specified size from a cairo surface.
This is the same as the GTK+ 3 gdk_pixbuf_get_from_surface but actually works and is available on gtk 2
Definition at line 61 of file gdk.c.
References convert_alpha(), height, NSLOG, and width.
Referenced by gui_search_web_provider_update(), gui_window_set_icon(), and make_toolbar_item_websearch().