Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
gvrender_core_dot.c File Reference
#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"
Include dependency graph for gvrender_core_dot.c:

Go to the source code of this file.

Data Structures

struct  xdot_state_t
 

Macros

#define GNEW(t)   (t*)malloc(sizeof(t))
 
#define XDOTVERSION   "1.7"
 
#define NUMXBUFS   (EMIT_HLABEL+1)
 

Typedefs

typedef int(* putstrfn )(void *chan, const char *str)
 
typedef int(* flushfn )(void *chan)
 

Enumerations

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
}
 

Functions

void core_loadimage_xdot (GVJ_t *job, usershape_t *us, boxf b, boolean filled)
 

Variables

gvrender_engine_t dot_engine
 
gvrender_engine_t xdot_engine
 
gvrender_features_t render_features_dot
 
gvrender_features_t render_features_xdot
 
gvdevice_features_t device_features_canon
 
gvdevice_features_t device_features_dot
 
gvplugin_installed_t gvrender_dot_types []
 
gvplugin_installed_t gvdevice_dot_types []
 

Macro Definition Documentation

#define GNEW (   t)    (t*)malloc(sizeof(t))

Definition at line 35 of file gvrender_core_dot.c.

#define NUMXBUFS   (EMIT_HLABEL+1)

Definition at line 51 of file gvrender_core_dot.c.

#define XDOTVERSION   "1.7"

Definition at line 49 of file gvrender_core_dot.c.

Typedef Documentation

typedef int(* flushfn)(void *chan)

Definition at line 497 of file gvrender_core_dot.c.

typedef int(* putstrfn)(void *chan, const char *str)

Definition at line 496 of file gvrender_core_dot.c.

Enumeration Type Documentation

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.

Function Documentation

void core_loadimage_xdot ( GVJ_t job,
usershape_t us,
boxf  b,
boolean  filled 
)

Variable Documentation

gvdevice_features_t device_features_canon
Initial value:
= {
{0.,0.},
{0.,0.},
{72.,72.},
}
#define LAYOUT_NOT_REQUIRED
Definition: gvcjob.h:110

Definition at line 825 of file gvrender_core_dot.c.

gvdevice_features_t device_features_dot
Initial value:
= {
0,
{0.,0.},
{0.,0.},
{72.,72.},
}

Definition at line 832 of file gvrender_core_dot.c.

gvrender_engine_t dot_engine

Definition at line 735 of file gvrender_core_dot.c.

gvplugin_installed_t gvdevice_dot_types[]
Initial value:
= {
{FORMAT_DOT, "dot:dot", 1, NULL, &device_features_dot},
{FORMAT_DOT, "gv:dot", 1, NULL, &device_features_dot},
{FORMAT_CANON, "canon:dot", 1, NULL, &device_features_canon},
{FORMAT_PLAIN, "plain:dot", 1, NULL, &device_features_dot},
{FORMAT_PLAIN_EXT, "plain-ext:dot", 1, NULL, &device_features_dot},
{FORMAT_XDOT, "xdot:xdot", 1, NULL, &device_features_dot},
{FORMAT_XDOT12, "xdot1.2:xdot", 1, NULL, &device_features_dot},
{FORMAT_XDOT14, "xdot1.4:xdot", 1, NULL, &device_features_dot},
{0, NULL, 0, NULL, NULL}
}
gvdevice_features_t device_features_canon
gvdevice_features_t device_features_dot
#define NULL
Definition: logic.h:39

Definition at line 845 of file gvrender_core_dot.c.

gvplugin_installed_t gvrender_dot_types[]
Initial value:
= {
{0, NULL, 0, NULL, NULL}
}
gvrender_engine_t xdot_engine
gvrender_features_t render_features_dot
gvrender_engine_t dot_engine
#define NULL
Definition: logic.h:39
gvrender_features_t render_features_xdot

Definition at line 839 of file gvrender_core_dot.c.

gvrender_features_t render_features_dot
Initial value:
= {
0.,
NULL,
0,
}
#define GVRENDER_DOES_TRANSFORM
Definition: gvcjob.h:97
#define NULL
Definition: logic.h:39

Definition at line 806 of file gvrender_core_dot.c.

gvrender_features_t render_features_xdot
Initial value:
= {
0.,
NULL,
0,
}
#define GVRENDER_DOES_TRANSFORM
Definition: gvcjob.h:97
#define GVRENDER_DOES_TARGETS
Definition: gvcjob.h:107
#define GVRENDER_DOES_TOOLTIPS
Definition: gvcjob.h:106
#define GVRENDER_DOES_MAPS
Definition: gvcjob.h:100
#define NULL
Definition: logic.h:39

Definition at line 814 of file gvrender_core_dot.c.

gvrender_engine_t xdot_engine

Definition at line 768 of file gvrender_core_dot.c.