Graphviz 13.0.0~dev.20241220.2304
|
#include "config.h"
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <util/alloc.h>
#include <gvc/gvplugin_loadimage.h>
#include <gvc/gvio.h>
#include <gd.h>
Go to the source code of this file.
Enumerations | |
enum | format_type { FORMAT_PNG_GD , FORMAT_GIF_GD , FORMAT_JPG_GD , FORMAT_GD_GD , FORMAT_GD2_GD , FORMAT_XPM_GD , FORMAT_WBMP_GD , FORMAT_XBM_GD , FORMAT_PNG_PS , FORMAT_GIF_PS , FORMAT_JPG_PS , FORMAT_GD_PS , FORMAT_GD2_PS , FORMAT_XPM_PS , FORMAT_WBMP_PS , FORMAT_XBM_PS , FORMAT_PNG_CAIRO , FORMAT_GIF_CAIRO , FORMAT_JPG_CAIRO , FORMAT_GD_CAIRO , FORMAT_GD2_CAIRO , FORMAT_XPM_CAIRO , FORMAT_WBMP_CAIRO , FORMAT_XBM_CAIRO } |
Functions | |
static void | gd_freeimage (usershape_t *us) |
static gdImagePtr | gd_loadimage (GVJ_t *job, usershape_t *us) |
static gdImagePtr | gd_rotateimage (gdImagePtr im, int rotation) |
static void | gd_loadimage_gd (GVJ_t *job, usershape_t *us, boxf b, bool filled) |
static void | gd_loadimage_ps (GVJ_t *job, usershape_t *us, boxf b, bool filled) |
Variables | |
static gvloadimage_engine_t | engine |
static gvloadimage_engine_t | engine_ps |
gvplugin_installed_t | gvloadimage_gd_types [] |
enum format_type |
Definition at line 27 of file gvloadimage_gd.c.
|
static |
Definition at line 34 of file gvloadimage_gd.c.
References usershape_s::data.
Referenced by gd_loadimage().
|
static |
Definition at line 39 of file gvloadimage_gd.c.
References usershape_s::data, usershape_s::datafree, usershape_s::f, FT_GIF, FT_JPEG, FT_PNG, gd_freeimage(), gvusershape_file_access(), gvusershape_file_release(), usershape_s::name, NULL, and usershape_s::type.
Referenced by gd_loadimage_gd(), and gd_loadimage_ps().
|
static |
Definition at line 92 of file gvloadimage_gd.c.
References GVJ_s::context, usershape_s::data, gd_loadimage(), gd_rotateimage(), boxf::LL, GVJ_s::rotation, ROUND, boxf::UR, pointf_s::x, and pointf_s::y.
|
static |
Definition at line 180 of file gvloadimage_gd.c.
References GVJ_s::dpi, gd_loadimage(), gvprintf(), gvputs(), boxf::LL, NULL, boxf::UR, pointf_s::x, X, pointf_s::y, and Y.
|
static |
Definition at line 82 of file gvloadimage_gd.c.
Referenced by gd_loadimage_gd().
|
static |
Definition at line 244 of file gvloadimage_gd.c.
Referenced by gvLayout(), layout(), and tcldot_layout().
|
static |
Definition at line 248 of file gvloadimage_gd.c.
gvplugin_installed_t gvloadimage_gd_types[] |
Definition at line 258 of file gvloadimage_gd.c.