Graphviz  2.41.20170921.2350
Data Structures | Macros | Functions
postproc.c File Reference
#include "render.h"
#include "xlabels.h"
Include dependency graph for postproc.c:

Go to the source code of this file.

Data Structures

struct  cinfo_t
 

Macros

#define M1   "/pathbox {\n\ /Y exch %.5g sub def\n\ /X exch %.5g sub def\n\ /y exch %.5g sub def\n\ /x exch %.5g sub def\n\ newpath x y moveto\n\ X y lineto\n\ X Y lineto\n\ x Y lineto\n\ closepath stroke\n \} def\n\/dbgstart { gsave %.5g %.5g translate } def\n\/arrowlength 10 def\n\/arrowwidth arrowlength 2 div def\n\/arrowhead {\n\ gsave\n\ rotate\n\ currentpoint\n\ newpath\n\ moveto\n\ arrowlength arrowwidth 2 div rlineto\n\ 0 arrowwidth neg rlineto\n\ closepath fill\n\ grestore\n\} bind def\n\/makearrow {\n\ currentpoint exch pop sub exch currentpoint pop sub atan\n\ arrowhead\n\} bind def\n\/point {\ newpath\ 2 0 360 arc fill\} def\/makevec {\n\ /Y exch def\n\ /X exch def\n\ /y exch def\n\ /x exch def\n\ newpath x y moveto\n\ X Y lineto stroke\n\ X Y moveto\n\ x y makearrow\n\} def\n"
 
#define M2   "/pathbox {\n\ /X exch neg %.5g sub def\n\ /Y exch %.5g sub def\n\ /x exch neg %.5g sub def\n\ /y exch %.5g sub def\n\ newpath x y moveto\n\ X y lineto\n\ X Y lineto\n\ x Y lineto\n\ closepath stroke\n\} def\n"
 
#define HAVE_EDGE(ep)   ((et != ET_NONE) && (ED_spl(ep) != NULL))
 

Functions

void translate_bb (graph_t *g, int rankdir)
 
void gv_postprocess (Agraph_t *g, int allowTranslation)
 
void dotneato_postprocess (Agraph_t *g)
 
void place_graph_label (graph_t *g)
 

Macro Definition Documentation

#define HAVE_EDGE (   ep)    ((et != ET_NONE) && (ED_spl(ep) != NULL))

Definition at line 404 of file postproc.c.

#define M1   "/pathbox {\n\ /Y exch %.5g sub def\n\ /X exch %.5g sub def\n\ /y exch %.5g sub def\n\ /x exch %.5g sub def\n\ newpath x y moveto\n\ X y lineto\n\ X Y lineto\n\ x Y lineto\n\ closepath stroke\n \} def\n\/dbgstart { gsave %.5g %.5g translate } def\n\/arrowlength 10 def\n\/arrowwidth arrowlength 2 div def\n\/arrowhead {\n\ gsave\n\ rotate\n\ currentpoint\n\ newpath\n\ moveto\n\ arrowlength arrowwidth 2 div rlineto\n\ 0 arrowwidth neg rlineto\n\ closepath fill\n\ grestore\n\} bind def\n\/makearrow {\n\ currentpoint exch pop sub exch currentpoint pop sub atan\n\ arrowhead\n\} bind def\n\/point {\ newpath\ 2 0 360 arc fill\} def\/makevec {\n\ /Y exch def\n\ /X exch def\n\ /y exch def\n\ /x exch def\n\ newpath x y moveto\n\ X Y lineto stroke\n\ X Y moveto\n\ x y makearrow\n\} def\n"

Definition at line 24 of file postproc.c.

Referenced by gv_postprocess().

#define M2   "/pathbox {\n\ /X exch neg %.5g sub def\n\ /Y exch %.5g sub def\n\ /x exch neg %.5g sub def\n\ /y exch %.5g sub def\n\ newpath x y moveto\n\ X y lineto\n\ X Y lineto\n\ x Y lineto\n\ closepath stroke\n\} def\n"

Definition at line 69 of file postproc.c.

Referenced by gv_postprocess().

Function Documentation

void dotneato_postprocess ( Agraph_t g)
void gv_postprocess ( Agraph_t g,
int  allowTranslation 
)
void place_graph_label ( graph_t g)
void translate_bb ( graph_t g,
int  rankdir 
)