Graphviz  2.41.20170921.2350
Data Structures | Macros | Typedefs | Enumerations
gvcjob.h File Reference
#include "gvcommon.h"
#include "color.h"
Include dependency graph for gvcjob.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gvrender_features_t
 
struct  gvdevice_features_t
 
struct  gvplugin_active_device_s
 
struct  gvplugin_active_render_s
 
struct  gvplugin_active_loadimage_t
 
struct  gv_argvlist_s
 
struct  gvdevice_callbacks_s
 
struct  gvevent_key_binding_s
 
struct  obj_state_s
 
struct  GVJ_s
 

Macros

#define ARRAY_SIZE(A)   (sizeof(A)/sizeof(A[0]))
 
#define PENWIDTH_NORMAL   1.
 
#define PENWIDTH_BOLD   2.
 
#define EMIT_SORTED   (1<<0)
 
#define EMIT_COLORS   (1<<1)
 
#define EMIT_CLUSTERS_LAST   (1<<2)
 
#define EMIT_PREORDER   (1<<3)
 
#define EMIT_EDGE_SORTED   (1<<4)
 
#define GVDEVICE_DOES_PAGES   (1<<5)
 
#define GVDEVICE_DOES_LAYERS   (1<<6)
 
#define GVDEVICE_EVENTS   (1<<7)
 
#define GVDEVICE_DOES_TRUECOLOR   (1<<8)
 
#define GVDEVICE_BINARY_FORMAT   (1<<9)
 
#define GVDEVICE_COMPRESSED_FORMAT   (1<<10)
 
#define GVDEVICE_NO_WRITER   (1<<11)
 
#define GVRENDER_Y_GOES_DOWN   (1<<12)
 
#define GVRENDER_DOES_TRANSFORM   (1<<13)
 
#define GVRENDER_DOES_ARROWS   (1<<14)
 
#define GVRENDER_DOES_LABELS   (1<<15)
 
#define GVRENDER_DOES_MAPS   (1<<16)
 
#define GVRENDER_DOES_MAP_RECTANGLE   (1<<17)
 
#define GVRENDER_DOES_MAP_CIRCLE   (1<<18)
 
#define GVRENDER_DOES_MAP_POLYGON   (1<<19)
 
#define GVRENDER_DOES_MAP_ELLIPSE   (1<<20)
 
#define GVRENDER_DOES_MAP_BSPLINE   (1<<21)
 
#define GVRENDER_DOES_TOOLTIPS   (1<<22)
 
#define GVRENDER_DOES_TARGETS   (1<<23)
 
#define GVRENDER_DOES_Z   (1<<24)
 
#define GVRENDER_NO_WHITE_BG   (1<<25)
 
#define LAYOUT_NOT_REQUIRED   (1<<26)
 
#define OUTPUT_NOT_REQUIRED   (1<<27)
 
#define LAYOUT_USES_RANKDIR   (1<<0)
 

Typedefs

typedef struct gvdevice_engine_s gvdevice_engine_t
 
typedef struct gvformatter_engine_s gvformatter_engine_t
 
typedef struct gvrender_engine_s gvrender_engine_t
 
typedef struct gvlayout_engine_s gvlayout_engine_t
 
typedef struct
gvtextlayout_engine_s 
gvtextlayout_engine_t
 
typedef struct gvloadimage_engine_s gvloadimage_engine_t
 
typedef struct
gvplugin_active_device_s 
gvplugin_active_device_t
 
typedef struct
gvplugin_active_render_s 
gvplugin_active_render_t
 
typedef struct
gvplugin_active_loadimage_t 
gvplugin_active_loadimage_t
 
typedef struct gv_argvlist_s gv_argvlist_t
 
typedef struct gvdevice_callbacks_s gvdevice_callbacks_t
 
typedef int(* gvevent_key_callback_t )(GVJ_t *job)
 
typedef struct
gvevent_key_binding_s 
gvevent_key_binding_t
 
typedef struct obj_state_s obj_state_t
 

Enumerations

enum  pen_type { PEN_NONE, PEN_DASHED, PEN_DOTTED, PEN_SOLID }
 
enum  fill_type { FILL_NONE, FILL_SOLID, FILL_LINEAR, FILL_RADIAL }
 
enum  font_type { FONT_REGULAR, FONT_BOLD, FONT_ITALIC }
 
enum  label_type { LABEL_PLAIN, LABEL_HTML }
 
enum  gvattr_t { GVATTR_STRING, GVATTR_BOOL, GVATTR_COLOR }
 
enum  map_shape_t { MAP_RECTANGLE, MAP_CIRCLE, MAP_POLYGON }
 
enum  obj_type { ROOTGRAPH_OBJTYPE, CLUSTER_OBJTYPE, NODE_OBJTYPE, EDGE_OBJTYPE }
 
enum  emit_state_t {
  EMIT_GDRAW, EMIT_CDRAW, EMIT_TDRAW, EMIT_HDRAW,
  EMIT_GLABEL, EMIT_CLABEL, EMIT_TLABEL, EMIT_HLABEL,
  EMIT_NDRAW, EMIT_EDRAW, EMIT_NLABEL, EMIT_ELABEL
}
 

Macro Definition Documentation

#define ARRAY_SIZE (   A)    (sizeof(A)/sizeof(A[0]))
#define EMIT_CLUSTERS_LAST   (1<<2)

Definition at line 86 of file gvcjob.h.

#define EMIT_COLORS   (1<<1)

Definition at line 85 of file gvcjob.h.

Referenced by emit_graph().

#define EMIT_EDGE_SORTED   (1<<4)

Definition at line 88 of file gvcjob.h.

#define EMIT_PREORDER   (1<<3)

Definition at line 87 of file gvcjob.h.

#define EMIT_SORTED   (1<<0)

Definition at line 84 of file gvcjob.h.

Referenced by gvRenderJobs().

#define GVDEVICE_BINARY_FORMAT   (1<<9)

Definition at line 93 of file gvcjob.h.

Referenced by gvdevice_initialize(), and gvRenderJobs().

#define GVDEVICE_COMPRESSED_FORMAT   (1<<10)

Definition at line 94 of file gvcjob.h.

Referenced by gvdevice_finalize(), gvdevice_initialize(), and gvwrite().

#define GVDEVICE_DOES_LAYERS   (1<<6)

Definition at line 90 of file gvcjob.h.

#define GVDEVICE_DOES_PAGES   (1<<5)

Definition at line 89 of file gvcjob.h.

Referenced by gvRenderJobs().

#define GVDEVICE_DOES_TRUECOLOR   (1<<8)

Definition at line 92 of file gvcjob.h.

#define GVDEVICE_EVENTS   (1<<7)

Definition at line 91 of file gvcjob.h.

Referenced by gvRenderJobs().

#define GVDEVICE_NO_WRITER   (1<<11)

Definition at line 95 of file gvcjob.h.

#define GVRENDER_DOES_ARROWS   (1<<14)

Definition at line 98 of file gvcjob.h.

#define GVRENDER_DOES_LABELS   (1<<15)

Definition at line 99 of file gvcjob.h.

Referenced by initMapData().

#define GVRENDER_DOES_MAP_BSPLINE   (1<<21)

Definition at line 105 of file gvcjob.h.

#define GVRENDER_DOES_MAP_CIRCLE   (1<<18)

Definition at line 102 of file gvcjob.h.

#define GVRENDER_DOES_MAP_ELLIPSE   (1<<20)

Definition at line 104 of file gvcjob.h.

#define GVRENDER_DOES_MAP_POLYGON   (1<<19)

Definition at line 103 of file gvcjob.h.

#define GVRENDER_DOES_MAP_RECTANGLE   (1<<17)

Definition at line 101 of file gvcjob.h.

#define GVRENDER_DOES_MAPS   (1<<16)

Definition at line 100 of file gvcjob.h.

Referenced by emit_map_rect(), and initMapData().

#define GVRENDER_DOES_TARGETS   (1<<23)

Definition at line 107 of file gvcjob.h.

Referenced by initMapData().

#define GVRENDER_DOES_TOOLTIPS   (1<<22)

Definition at line 106 of file gvcjob.h.

Referenced by emit_map_rect(), and initMapData().

#define GVRENDER_DOES_TRANSFORM   (1<<13)
#define GVRENDER_DOES_Z   (1<<24)

Definition at line 108 of file gvcjob.h.

#define GVRENDER_NO_WHITE_BG   (1<<25)

Definition at line 109 of file gvcjob.h.

#define GVRENDER_Y_GOES_DOWN   (1<<12)

Definition at line 96 of file gvcjob.h.

Referenced by emit_graph().

#define LAYOUT_NOT_REQUIRED   (1<<26)

Definition at line 110 of file gvcjob.h.

Referenced by graphcmd(), gvRender(), gvRenderContext(), gvRenderData(), and gvRenderFilename().

#define LAYOUT_USES_RANKDIR   (1<<0)

Definition at line 128 of file gvcjob.h.

Referenced by gvLayoutJobs().

#define OUTPUT_NOT_REQUIRED   (1<<27)

Definition at line 111 of file gvcjob.h.

Referenced by gvRender().

#define PENWIDTH_BOLD   2.

Definition at line 41 of file gvcjob.h.

Referenced by gvrender_set_style().

#define PENWIDTH_NORMAL   1.

Definition at line 40 of file gvcjob.h.

Referenced by push_obj_state().

Typedef Documentation

typedef struct gv_argvlist_s gv_argvlist_t

Definition at line 28 of file gvcjob.h.

typedef int(* gvevent_key_callback_t)(GVJ_t *job)

Definition at line 168 of file gvcjob.h.

typedef struct gvformatter_engine_s gvformatter_engine_t

Definition at line 29 of file gvcjob.h.

Definition at line 31 of file gvcjob.h.

Definition at line 33 of file gvcjob.h.

Definition at line 30 of file gvcjob.h.

Definition at line 32 of file gvcjob.h.

typedef struct obj_state_s obj_state_t

Definition at line 188 of file gvcjob.h.

Enumeration Type Documentation

Enumerator
EMIT_GDRAW 
EMIT_CDRAW 
EMIT_TDRAW 
EMIT_HDRAW 
EMIT_GLABEL 
EMIT_CLABEL 
EMIT_TLABEL 
EMIT_HLABEL 
EMIT_NDRAW 
EMIT_EDRAW 
EMIT_NLABEL 
EMIT_ELABEL 

Definition at line 182 of file gvcjob.h.

enum fill_type
Enumerator
FILL_NONE 
FILL_SOLID 
FILL_LINEAR 
FILL_RADIAL 

Definition at line 36 of file gvcjob.h.

enum font_type
Enumerator
FONT_REGULAR 
FONT_BOLD 
FONT_ITALIC 

Definition at line 37 of file gvcjob.h.

enum gvattr_t
Enumerator
GVATTR_STRING 
GVATTR_BOOL 
GVATTR_COLOR 

Definition at line 42 of file gvcjob.h.

enum label_type
Enumerator
LABEL_PLAIN 
LABEL_HTML 

Definition at line 38 of file gvcjob.h.

Enumerator
MAP_RECTANGLE 
MAP_CIRCLE 
MAP_POLYGON 

Definition at line 175 of file gvcjob.h.

enum obj_type
Enumerator
ROOTGRAPH_OBJTYPE 
CLUSTER_OBJTYPE 
NODE_OBJTYPE 
EDGE_OBJTYPE 

Definition at line 177 of file gvcjob.h.

enum pen_type
Enumerator
PEN_NONE 
PEN_DASHED 
PEN_DOTTED 
PEN_SOLID 

Definition at line 35 of file gvcjob.h.