NetSurf
|
Go to the source code of this file.
Functions | |
static void | convert_alpha (guchar *dest_data, int dest_stride, guchar *src_data, int src_stride, int width, int height) |
GdkPixbuf * | nsgdk_pixbuf_get_from_surface (cairo_surface_t *surface, int scwidth, int scheight) |
obtain a pixbuf of the specified size from a cairo surface. More... | |
|
static |
Definition at line 26 of file gdk.c.
Referenced by nsgdk_pixbuf_get_from_surface().
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().