#include "config.h"
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "macros.h"
#include "const.h"
#include "gvplugin_render.h"
#include "gvplugin_device.h"
#include "agxbuf.h"
#include "utils.h"
#include "gvio.h"
Go to the source code of this file.
|
enum | format_type {
FORMAT_PNG_XDOT,
FORMAT_GIF_XDOT,
FORMAT_JPEG_XDOT,
FORMAT_SVG_XDOT,
FORMAT_PS_XDOT,
FORMAT_PNG_DOT,
FORMAT_GIF_DOT,
FORMAT_JPEG_DOT,
FORMAT_SVG_DOT,
FORMAT_PS_DOT,
FORMAT_PNG_MAP,
FORMAT_GIF_MAP,
FORMAT_JPEG_MAP,
FORMAT_SVG_MAP,
FORMAT_PS_MAP,
FORMAT_PNG_SVG,
FORMAT_GIF_SVG,
FORMAT_JPEG_SVG,
FORMAT_SVG_SVG,
FORMAT_PNG_FIG,
FORMAT_GIF_FIG,
FORMAT_JPEG_FIG,
FORMAT_PNG_VRML,
FORMAT_GIF_VRML,
FORMAT_JPEG_VRML,
FORMAT_PS_PS,
FORMAT_PSLIB_PS,
FORMAT_PNG_VML,
FORMAT_GIF_VML,
FORMAT_JPEG_VML,
FORMAT_GIF_TK,
FORMAT_DIA,
FORMAT_DOT,
FORMAT_CANON,
FORMAT_PLAIN,
FORMAT_PLAIN_EXT,
FORMAT_XDOT,
FORMAT_XDOT12,
FORMAT_XDOT14,
FORMAT_FIG,
FORMAT_HPGL,
FORMAT_JSON,
FORMAT_JSON0,
FORMAT_DOT_JSON,
FORMAT_XDOT_JSON,
FORMAT_IMAP,
FORMAT_ISMAP,
FORMAT_CMAP,
FORMAT_CMAPX,
FORMAT_MIF,
FORMAT_MP,
FORMAT_PIC,
FORMAT_POV,
FORMAT_PS,
FORMAT_PS2,
FORMAT_EPS,
FORMAT_SVG,
FORMAT_SVGZ,
FORMAT_TK,
FORMAT_VML,
FORMAT_VMLZ,
FORMAT_VTX,
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,
FORMAT_GIF,
FORMAT_JPEG,
FORMAT_PNG,
FORMAT_WBMP,
FORMAT_GD,
FORMAT_GD2,
FORMAT_XBM,
FORMAT_PS_PS,
FORMAT_PS,
FORMAT_PS2,
FORMAT_EPS,
FORMAT_PNG_CAIRO,
FORMAT_PNG_PS,
FORMAT_CAIRO,
FORMAT_PNG,
FORMAT_PS,
FORMAT_PDF,
FORMAT_SVG
} |
|
#define GNEW |
( |
|
t | ) |
(t*)malloc(sizeof(t)) |
#define XDOTVERSION "1.7" |
typedef int(* flushfn)(void *chan) |
typedef int(* putstrfn)(void *chan, const char *str) |
Enumerator |
---|
FORMAT_PNG_XDOT |
|
FORMAT_GIF_XDOT |
|
FORMAT_JPEG_XDOT |
|
FORMAT_SVG_XDOT |
|
FORMAT_PS_XDOT |
|
FORMAT_PNG_DOT |
|
FORMAT_GIF_DOT |
|
FORMAT_JPEG_DOT |
|
FORMAT_SVG_DOT |
|
FORMAT_PS_DOT |
|
FORMAT_PNG_MAP |
|
FORMAT_GIF_MAP |
|
FORMAT_JPEG_MAP |
|
FORMAT_SVG_MAP |
|
FORMAT_PS_MAP |
|
FORMAT_PNG_SVG |
|
FORMAT_GIF_SVG |
|
FORMAT_JPEG_SVG |
|
FORMAT_SVG_SVG |
|
FORMAT_PNG_FIG |
|
FORMAT_GIF_FIG |
|
FORMAT_JPEG_FIG |
|
FORMAT_PNG_VRML |
|
FORMAT_GIF_VRML |
|
FORMAT_JPEG_VRML |
|
FORMAT_PS_PS |
|
FORMAT_PSLIB_PS |
|
FORMAT_PNG_VML |
|
FORMAT_GIF_VML |
|
FORMAT_JPEG_VML |
|
FORMAT_GIF_TK |
|
FORMAT_DIA |
|
FORMAT_DOT |
|
FORMAT_CANON |
|
FORMAT_PLAIN |
|
FORMAT_PLAIN_EXT |
|
FORMAT_XDOT |
|
FORMAT_XDOT12 |
|
FORMAT_XDOT14 |
|
FORMAT_FIG |
|
FORMAT_HPGL |
|
FORMAT_JSON |
|
FORMAT_JSON0 |
|
FORMAT_DOT_JSON |
|
FORMAT_XDOT_JSON |
|
FORMAT_IMAP |
|
FORMAT_ISMAP |
|
FORMAT_CMAP |
|
FORMAT_CMAPX |
|
FORMAT_MIF |
|
FORMAT_MP |
|
FORMAT_PIC |
|
FORMAT_POV |
|
FORMAT_PS |
|
FORMAT_PS2 |
|
FORMAT_EPS |
|
FORMAT_SVG |
|
FORMAT_SVGZ |
|
FORMAT_TK |
|
FORMAT_VML |
|
FORMAT_VMLZ |
|
FORMAT_VTX |
|
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 |
|
FORMAT_GIF |
|
FORMAT_JPEG |
|
FORMAT_PNG |
|
FORMAT_WBMP |
|
FORMAT_GD |
|
FORMAT_GD2 |
|
FORMAT_XBM |
|
FORMAT_PS_PS |
|
FORMAT_PS |
|
FORMAT_PS2 |
|
FORMAT_EPS |
|
FORMAT_PNG_CAIRO |
|
FORMAT_PNG_PS |
|
FORMAT_CAIRO |
|
FORMAT_PNG |
|
FORMAT_PS |
|
FORMAT_PDF |
|
FORMAT_SVG |
|
Definition at line 39 of file gvrender_core_dot.c.
Initial value:= {
{0.,0.},
{0.,0.},
{72.,72.},
}
#define LAYOUT_NOT_REQUIRED
Definition at line 825 of file gvrender_core_dot.c.
Initial value:= {
}
gvdevice_features_t device_features_canon
gvdevice_features_t device_features_dot
Definition at line 845 of file gvrender_core_dot.c.
Initial value:= {
}
gvrender_engine_t xdot_engine
gvrender_features_t render_features_dot
gvrender_engine_t dot_engine
gvrender_features_t render_features_xdot
Definition at line 839 of file gvrender_core_dot.c.
Initial value:= {
0.,
0,
}
#define GVRENDER_DOES_TRANSFORM
Definition at line 806 of file gvrender_core_dot.c.
Initial value:= {
0.,
0,
}
#define GVRENDER_DOES_TRANSFORM
#define GVRENDER_DOES_TARGETS
#define GVRENDER_DOES_TOOLTIPS
#define GVRENDER_DOES_MAPS
Definition at line 814 of file gvrender_core_dot.c.