Graphviz  2.41.20170921.2350
Macros | Functions
gvrender.c File Reference
#include "config.h"
#include <string.h>
#include "memory.h"
#include "const.h"
#include "macros.h"
#include "colorprocs.h"
#include "gvplugin_render.h"
#include "cgraph.h"
#include "gvcint.h"
#include "geom.h"
#include "geomprocs.h"
#include "gvcproc.h"
Include dependency graph for gvrender.c:

Go to the source code of this file.

Macros

#define REGULAR   0
 
#define BOLD   1
 
#define ITALIC   2
 

Functions

int emit_once (char *str)
 
shape_descfind_user_shape (char *name)
 
boolean mapbool (char *s)
 
int strcasecmp (const char *s1, const char *s2)
 
int gvrender_select (GVJ_t *job, const char *str)
 
int gvrender_features (GVJ_t *job)
 
int gvrender_begin_job (GVJ_t *job)
 
void gvrender_end_job (GVJ_t *job)
 
pointf gvrender_ptf (GVJ_t *job, pointf p)
 
pointfgvrender_ptf_A (GVJ_t *job, pointf *af, pointf *AF, int n)
 
void gvrender_begin_graph (GVJ_t *job, graph_t *g)
 
void gvrender_end_graph (GVJ_t *job)
 
void gvrender_begin_page (GVJ_t *job)
 
void gvrender_end_page (GVJ_t *job)
 
void gvrender_begin_layer (GVJ_t *job)
 
void gvrender_end_layer (GVJ_t *job)
 
void gvrender_begin_cluster (GVJ_t *job, graph_t *sg)
 
void gvrender_end_cluster (GVJ_t *job, graph_t *g)
 
void gvrender_begin_nodes (GVJ_t *job)
 
void gvrender_end_nodes (GVJ_t *job)
 
void gvrender_begin_edges (GVJ_t *job)
 
void gvrender_end_edges (GVJ_t *job)
 
void gvrender_begin_node (GVJ_t *job, node_t *n)
 
void gvrender_end_node (GVJ_t *job)
 
void gvrender_begin_edge (GVJ_t *job, edge_t *e)
 
void gvrender_end_edge (GVJ_t *job)
 
void gvrender_begin_anchor (GVJ_t *job, char *href, char *tooltip, char *target, char *id)
 
void gvrender_end_anchor (GVJ_t *job)
 
void gvrender_begin_label (GVJ_t *job, label_type type)
 
void gvrender_end_label (GVJ_t *job)
 
void gvrender_textspan (GVJ_t *job, pointf p, textspan_t *span)
 
void gvrender_set_pencolor (GVJ_t *job, char *name)
 
void gvrender_set_fillcolor (GVJ_t *job, char *name)
 
void gvrender_set_gradient_vals (GVJ_t *job, char *stopcolor, int angle, float frac)
 
void gvrender_set_style (GVJ_t *job, char **s)
 
void gvrender_ellipse (GVJ_t *job, pointf *pf, int n, int filled)
 
void gvrender_polygon (GVJ_t *job, pointf *af, int n, int filled)
 
void gvrender_box (GVJ_t *job, boxf B, int filled)
 
void gvrender_beziercurve (GVJ_t *job, pointf *af, int n, int arrow_at_start, int arrow_at_end, boolean filled)
 
void gvrender_polyline (GVJ_t *job, pointf *af, int n)
 
void gvrender_comment (GVJ_t *job, char *str)
 
void gvrender_usershape (GVJ_t *job, char *name, pointf *a, int n, boolean filled, char *imagescale, char *imagepos)
 
void gvrender_set_penwidth (GVJ_t *job, double penwidth)
 

Macro Definition Documentation

#define BOLD   1

Definition at line 137 of file gvrender.c.

#define ITALIC   2

Definition at line 138 of file gvrender.c.

#define REGULAR   0

Definition at line 136 of file gvrender.c.

Function Documentation

int emit_once ( char *  str)

Definition at line 3621 of file emit.c.

References dtinsert, dtopen(), Dtoset, dtsearch, FALSE, and TRUE.

Referenced by textspan_size().

shape_desc* find_user_shape ( char *  name)
void gvrender_begin_anchor ( GVJ_t job,
char *  href,
char *  tooltip,
char *  target,
char *  id 
)
void gvrender_begin_cluster ( GVJ_t job,
graph_t sg 
)
void gvrender_begin_edge ( GVJ_t job,
edge_t e 
)
void gvrender_begin_edges ( GVJ_t job)
void gvrender_begin_graph ( GVJ_t job,
graph_t g 
)
int gvrender_begin_job ( GVJ_t job)
void gvrender_begin_label ( GVJ_t job,
label_type  type 
)

Definition at line 425 of file gvrender.c.

References gvrender_engine_s::begin_label, gvplugin_active_render_s::engine, and GVJ_s::render.

Referenced by emit_label().

void gvrender_begin_layer ( GVJ_t job)
void gvrender_begin_node ( GVJ_t job,
node_t n 
)
void gvrender_begin_nodes ( GVJ_t job)
void gvrender_begin_page ( GVJ_t job)
void gvrender_beziercurve ( GVJ_t job,
pointf af,
int  n,
int  arrow_at_start,
int  arrow_at_end,
boolean  filled 
)
void gvrender_box ( GVJ_t job,
boxf  B,
int  filled 
)

Definition at line 603 of file gvrender.c.

References gvrender_polygon(), boxf::LL, boxf::UR, pointf_s::x, and pointf_s::y.

Referenced by emit_clusters().

void gvrender_comment ( GVJ_t job,
char *  str 
)

Definition at line 661 of file gvrender.c.

References gvrender_engine_s::comment, gvplugin_active_render_s::engine, and GVJ_s::render.

Referenced by emit_graph().

void gvrender_ellipse ( GVJ_t job,
pointf pf,
int  n,
int  filled 
)
void gvrender_end_anchor ( GVJ_t job)

Definition at line 415 of file gvrender.c.

References gvrender_engine_s::end_anchor, gvplugin_active_render_s::engine, and GVJ_s::render.

Referenced by emit_clusters().

void gvrender_end_cluster ( GVJ_t job,
graph_t g 
)
void gvrender_end_edge ( GVJ_t job)
void gvrender_end_edges ( GVJ_t job)
void gvrender_end_graph ( GVJ_t job)
void gvrender_end_job ( GVJ_t job)
void gvrender_end_label ( GVJ_t job)

Definition at line 435 of file gvrender.c.

References gvrender_engine_s::end_label, gvplugin_active_render_s::engine, and GVJ_s::render.

Referenced by emit_label().

void gvrender_end_layer ( GVJ_t job)

Definition at line 294 of file gvrender.c.

References gvrender_engine_s::end_layer, gvplugin_active_render_s::engine, and GVJ_s::render.

Referenced by emit_graph().

void gvrender_end_node ( GVJ_t job)
void gvrender_end_nodes ( GVJ_t job)
void gvrender_end_page ( GVJ_t job)
int gvrender_features ( GVJ_t job)
void gvrender_polygon ( GVJ_t job,
pointf af,
int  n,
int  filled 
)
void gvrender_polyline ( GVJ_t job,
pointf af,
int  n 
)
pointf gvrender_ptf ( GVJ_t job,
pointf  p 
)
pointf* gvrender_ptf_A ( GVJ_t job,
pointf af,
pointf AF,
int  n 
)
int gvrender_select ( GVJ_t job,
const char *  str 
)
void gvrender_set_fillcolor ( GVJ_t job,
char *  name 
)
void gvrender_set_gradient_vals ( GVJ_t job,
char *  stopcolor,
int  angle,
float  frac 
)
void gvrender_set_pencolor ( GVJ_t job,
char *  name 
)
void gvrender_set_penwidth ( GVJ_t job,
double  penwidth 
)
void gvrender_set_style ( GVJ_t job,
char **  s 
)
void gvrender_textspan ( GVJ_t job,
pointf  p,
textspan_t span 
)
void gvrender_usershape ( GVJ_t job,
char *  name,
pointf a,
int  n,
boolean  filled,
char *  imagescale,
char *  imagepos 
)
boolean mapbool ( char *  s)

Definition at line 472 of file utils.c.

int strcasecmp ( const char *  s1,
const char *  s2 
)

Definition at line 21 of file strcasecmp.c.