Graphviz  2.41.20171026.1811
Data Structures | Macros | Functions
htmltable.c File Reference
#include <assert.h>
#include "render.h"
#include "htmltable.h"
#include "agxbuf.h"
#include "pointset.h"
#include "intset.h"
#include "cdt.h"
Include dependency graph for htmltable.c:

Go to the source code of this file.

Data Structures

struct  htmlmap_data_t


#define DEFAULT_BORDER   1
#define RESET(fld)   if(obj->fld != save->fld) {free(obj->fld); obj->fld = save->fld;}
#define SPLIT(x, n, s)   (((x) - ((s)-1)*((n)-1)) / (n))


void emit_html_label (GVJ_t *job, htmllabel_t *lp, textlabel_t *tp)
void free_html_data (htmldata_t *dp)
void free_html_text (htmltxt_t *t)
void free_html_img (htmlimg_t *ip)
void free_html_label (htmllabel_t *lp, int root)
boxfhtml_port (node_t *n, char *pname, int *sides)
int html_path (node_t *n, port *p, int side, boxf *rv, int *k)
void sizeLinearArray (htmltbl_t *tbl)
char * nToName (int c)
void makeGraphs (htmltbl_t *tbl, graph_t *rowg, graph_t *colg)
void setSizes (htmltbl_t *tbl, graph_t *rowg, graph_t *colg)
void sizeArray (htmltbl_t *tbl)
int make_html_label (void *obj, textlabel_t *lp)

Macro Definition Documentation

#define DEFAULT_BORDER   1

Definition at line 42 of file htmltable.c.


Definition at line 43 of file htmltable.c.


Definition at line 44 of file htmltable.c.

#define RESET (   fld)    if(obj->fld != save->fld) {free(obj->fld); obj->fld = save->fld;}

Definition at line 419 of file htmltable.c.

#define SPLIT (   x,
)    (((x) - ((s)-1)*((n)-1)) / (n))

Definition at line 1328 of file htmltable.c.

Referenced by sizeLinearArray().

Function Documentation

void emit_html_label ( GVJ_t job,
htmllabel_t lp,
textlabel_t tp 
void free_html_data ( htmldata_t dp)
void free_html_img ( htmlimg_t ip)

Definition at line 831 of file htmltable.c.

References htmlimg_t::src.

Referenced by free_html_label().

void free_html_label ( htmllabel_t lp,
int  root 
void free_html_text ( htmltxt_t t)
int html_path ( node_t n,
port p,
int  side,
boxf rv,
int k 

Definition at line 959 of file htmltable.c.

References assert, BOTTOM, ED_head_port, ED_tail_port, GD_flip, GD_rankdir, INSIDE, ND_shape_info, and TOP.

boxf* html_port ( node_t n,
char *  pname,
int sides 
int make_html_label ( void *  obj,
textlabel_t lp 
void makeGraphs ( htmltbl_t tbl,
graph_t rowg,
graph_t colg 
char* nToName ( int  c)

Definition at line 1378 of file htmltable.c.

Referenced by makeGraphs().

void setSizes ( htmltbl_t tbl,
graph_t rowg,
graph_t colg 

Definition at line 1513 of file htmltable.c.

References GD_nlist, htmltbl_t::heights, ND_next, ND_rank, and htmltbl_t::widths.

Referenced by sizeArray().

void sizeArray ( htmltbl_t tbl)
void sizeLinearArray ( htmltbl_t tbl)