Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvdevice_devil.c File Reference
#include "config.h"
#include <gvc/gvplugin_device.h>
#include <IL/il.h>
#include <IL/ilu.h>
Include dependency graph for gvdevice_devil.c:

Go to the source code of this file.

Functions

static void Y_inv (unsigned width, unsigned height, unsigned char *data)
 
static void devil_format (GVJ_t *job)
 

Variables

static gvdevice_engine_t devil_engine
 
static gvdevice_features_t device_features_devil
 
gvplugin_installed_t gvdevice_devil_types []
 

Function Documentation

◆ devil_format()

static void devil_format ( GVJ_t job)
static

Definition at line 32 of file gvdevice_devil.c.

References GVJ_s::device, Error, GVJ_s::height, gvplugin_active_device_s::id, GVJ_s::imagedata, GVJ_s::output_file, GVJ_s::width, and Y_inv().

Here is the call graph for this function:

◆ Y_inv()

static void Y_inv ( unsigned  width,
unsigned  height,
unsigned char *  data 
)
static

Definition at line 17 of file gvdevice_devil.c.

Referenced by devil_format().

Here is the caller graph for this function:

Variable Documentation

◆ device_features_devil

gvdevice_features_t device_features_devil
static
Initial value:
= {
{0.,0.},
{0.,0.},
{96.,96.},
}
#define GVDEVICE_NO_WRITER
Definition gvcjob.h:93
#define GVDEVICE_DOES_TRUECOLOR
Definition gvcjob.h:90
#define GVDEVICE_BINARY_FORMAT
Definition gvcjob.h:91

Definition at line 86 of file gvdevice_devil.c.

◆ devil_engine

gvdevice_engine_t devil_engine
static
Initial value:
= {
NULL,
NULL,
}
node NULL
Definition grammar.y:163
static void devil_format(GVJ_t *job)

Definition at line 80 of file gvdevice_devil.c.

◆ gvdevice_devil_types

gvplugin_installed_t gvdevice_devil_types[]
Initial value:
= {
{IL_BMP, "bmp:cairo", -1, &devil_engine, &device_features_devil},
{IL_JPG, "jpg:cairo", -1, &devil_engine, &device_features_devil},
{IL_JPG, "jpe:cairo", -1, &devil_engine, &device_features_devil},
{IL_JPG, "jpeg:cairo", -1, &devil_engine, &device_features_devil},
{IL_PNG, "png:cairo", -1, &devil_engine, &device_features_devil},
{IL_TIF, "tif:cairo", -1, &devil_engine, &device_features_devil},
{IL_TIF, "tiff:cairo", -1, &devil_engine, &device_features_devil},
{IL_TGA, "tga:cairo", -1, &devil_engine, &device_features_devil},
{0, NULL, 0, NULL, NULL}
}
static gvdevice_engine_t devil_engine
static gvdevice_features_t device_features_devil

Definition at line 95 of file gvdevice_devil.c.