#include <assert.h>
#include <gvc/gvplugin_device.h>
#include <gvc/gvio.h>
#include <limits.h>
#include <util/gv_math.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <util/agxbuf.h>
Go to the source code of this file.
◆ anonymous enum
Enumerator |
---|
FORMAT_BMP | |
FORMAT_ICO | |
FORMAT_JPEG | |
FORMAT_PNG | |
FORMAT_TIFF | |
Definition at line 19 of file gvdevice_gdk.c.
◆ gdk_format()
static void gdk_format |
( |
GVJ_t * |
job | ) |
|
|
static |
Definition at line 33 of file gvdevice_gdk.c.
References agxbfree(), agxbprint(), agxbuse(), argb2rgba(), BYTES_PER_PIXEL, GVJ_s::device, GVJ_s::dpi, FORMAT_BMP, FORMAT_ICO, FORMAT_JPEG, FORMAT_PNG, FORMAT_TIFF, GVJ_s::height, gvplugin_active_device_s::id, GVJ_s::imagedata, NULL, GVJ_s::width, writer(), pointf_s::x, and pointf_s::y.
◆ writer()
static gboolean writer |
( |
const char * |
buf, |
|
|
gsize |
count, |
|
|
GError ** |
error, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ device_features_gdk
Initial value:= {
{0.,0.},
{0.,0.},
{96.,96.},
}
#define GVDEVICE_DOES_TRUECOLOR
#define GVDEVICE_BINARY_FORMAT
Definition at line 84 of file gvdevice_gdk.c.
◆ gdk_engine
Initial value:= {
}
static void gdk_format(GVJ_t *job)
Definition at line 78 of file gvdevice_gdk.c.
◆ gvdevice_gdk_types
Initial value:= {
}
static gvdevice_engine_t gdk_engine
static gvdevice_features_t device_features_gdk
Definition at line 92 of file gvdevice_gdk.c.