#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <util/alloc.h>
#include <util/agxbuf.h>
#include <util/gv_ftell.h>
#include <gvc/gvplugin_loadimage.h>
#include <gvc/gvio.h>
#include <cairo.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
Go to the source code of this file.
◆ anonymous enum
Enumerator |
---|
FORMAT_BMP_CAIRO | |
FORMAT_JPEG_CAIRO | |
FORMAT_PNG_CAIRO | |
FORMAT_ICO_CAIRO | |
Definition at line 26 of file gvloadimage_gdk.c.
◆ gdk_freeimage()
◆ gdk_loadimage()
Definition at line 104 of file gvloadimage_gdk.c.
References GVJ_s::context, usershape_s::data, usershape_s::datafree, FT_BMP, FT_ICO, FT_JPEG, FT_PNG, FT_TIFF, gdk_freeimage(), gdk_set_mimedata(), gv_alloc(), gvusershape_file_access(), gvusershape_file_release(), image, usershape_s::name, NULL, and usershape_s::type.
Referenced by gdk_loadimage_cairo().
◆ gdk_loadimage_cairo()
◆ gdk_set_mimedata()
static void gdk_set_mimedata |
( |
cairo_surface_t * |
image, |
|
|
usershape_t * |
us |
|
) |
| |
|
static |
◆ gdk_set_mimedata_from_file()
static void gdk_set_mimedata_from_file |
( |
cairo_surface_t * |
image, |
|
|
const char * |
mime_type, |
|
|
const char * |
file |
|
) |
| |
|
static |
◆ engine_gdk
Initial value:= {
}
static void gdk_loadimage_cairo(GVJ_t *job, usershape_t *us, boxf b, bool filled)
Definition at line 177 of file gvloadimage_gdk.c.
◆ gvloadimage_gdk_types
Initial value:= {
}
static gvloadimage_engine_t engine_gdk
Definition at line 181 of file gvloadimage_gdk.c.