Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Functions | Variables
diagen.c File Reference
#include "config.h"
#include "render.h"
#include <stdarg.h>
Include dependency graph for diagen.c:

Go to the source code of this file.

Data Structures

struct  context_t
 

Macros

#define REGULAR   0
 
#define BOLD   1
 
#define ITALIC   2
 
#define P_SOLID   0
 
#define P_NONE   15
 
#define P_DOTTED   4 /* i wasn't sure about this */
 
#define P_DASHED   11 /* or this */
 
#define WIDTH_NORMAL   1
 
#define WIDTH_BOLD   3
 
#define DIA_RESOLUTION   1.0
 
#define SCALE   (DIA_RESOLUTION/15.0)
 
#define NODE   1
 
#define EDGE   2
 
#define CLST   3
 
#define MAXNEST   4
 
#define SVG_COLORS_P   0
 

Typedefs

typedef struct context_t context_t
 

Functions

int ellipse_connection (pointf cp, pointf p)
 
int box_connection (node_t *n, pointf p)
 

Variables

codegen_t DIA_CodeGen
 

Macro Definition Documentation

#define BOLD   1

Definition at line 28 of file diagen.c.

#define CLST   3

Definition at line 46 of file diagen.c.

#define DIA_RESOLUTION   1.0

Definition at line 41 of file diagen.c.

#define EDGE   2

Definition at line 45 of file diagen.c.

#define ITALIC   2

Definition at line 29 of file diagen.c.

#define MAXNEST   4

Definition at line 77 of file diagen.c.

#define NODE   1

Definition at line 44 of file diagen.c.

#define P_DASHED   11 /* or this */

Definition at line 35 of file diagen.c.

#define P_DOTTED   4 /* i wasn't sure about this */

Definition at line 34 of file diagen.c.

#define P_NONE   15

Definition at line 33 of file diagen.c.

#define P_SOLID   0

Definition at line 32 of file diagen.c.

#define REGULAR   0

Definition at line 27 of file diagen.c.

#define SCALE   (DIA_RESOLUTION/15.0)

Definition at line 42 of file diagen.c.

#define SVG_COLORS_P   0

Definition at line 132 of file diagen.c.

#define WIDTH_BOLD   3

Definition at line 39 of file diagen.c.

#define WIDTH_NORMAL   1

Definition at line 38 of file diagen.c.

Typedef Documentation

typedef struct context_t context_t

Function Documentation

int box_connection ( node_t n,
pointf  p 
)
int ellipse_connection ( pointf  cp,
pointf  p 
)

Definition at line 652 of file diagen.c.

References pointf_s::x, and pointf_s::y.

Variable Documentation

codegen_t DIA_CodeGen
Initial value:
= {
dia_reset,
dia_begin_job, dia_end_job,
dia_begin_graph, dia_end_graph,
dia_begin_page, dia_end_page,
0, 0,
dia_begin_cluster, dia_end_cluster,
0, 0,
0, 0,
dia_begin_node, dia_end_node,
dia_begin_edge, dia_end_edge,
dia_begin_context, dia_end_context,
0, 0,
dia_set_font, dia_textpara,
dia_set_pencolor, dia_set_fillcolor, dia_set_style,
dia_ellipse, dia_polygon,
dia_bezier, dia_polyline,
1,
dia_comment,
dia_usershape
}

Definition at line 998 of file diagen.c.