Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Functions
htmltable.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  htextspan_t
 
struct  htmltxt_t
 
struct  htmlimg_t
 
struct  htmldata_t
 
struct  htmltbl_t
 
struct  htmllabel_t
 
struct  htmlcell_t
 
struct  pitem
 
struct  htmlenv_t
 

Macros

#define TABLE_H
 
#define FIXED_FLAG   1
 
#define HALIGN_RIGHT   (1 << 1)
 
#define HALIGN_LEFT   (1 << 2)
 
#define HALIGN_MASK   (HALIGN_RIGHT | HALIGN_LEFT)
 
#define HALIGN_TEXT   HALIGN_MASK
 
#define VALIGN_TOP   (1 << 3)
 
#define VALIGN_BOTTOM   (1 << 4)
 
#define VALIGN_MASK   (VALIGN_TOP | VALIGN_BOTTOM)
 
#define BORDER_SET   (1 << 5)
 
#define PAD_SET   (1 << 6)
 
#define SPACE_SET   (1 << 7)
 
#define BALIGN_RIGHT   (1 << 8)
 
#define BALIGN_LEFT   (1 << 9)
 
#define BALIGN_MASK   (BALIGN_RIGHT | BALIGN_LEFT)
 
#define BORDER_LEFT   (1 << 10)
 
#define BORDER_TOP   (1 << 11)
 
#define BORDER_RIGHT   (1 << 12)
 
#define BORDER_BOTTOM   (1 << 13)
 
#define BORDER_MASK   (BORDER_LEFT|BORDER_TOP|BORDER_RIGHT|BORDER_BOTTOM)
 
#define UNSET_ALIGN   0
 
#define HTML_UNSET   0
 
#define HTML_TBL   1
 
#define HTML_TEXT   2
 
#define HTML_IMAGE   3
 
#define HTML_VRULE   1
 
#define HTML_HRULE   2
 

Typedefs

typedef struct htmlcell_t htmlcell_t
 
typedef struct htmltbl_t htmltbl_t
 

Functions

htmllabel_tparseHTML (char *, int *, htmlenv_t *)
 
int make_html_label (void *obj, textlabel_t *lp)
 
void emit_html_label (GVJ_t *job, htmllabel_t *lp, textlabel_t *)
 
void free_html_label (htmllabel_t *, int)
 
void free_html_data (htmldata_t *)
 
void free_html_text (htmltxt_t *)
 
boxfhtml_port (node_t *n, char *pname, int *sides)
 
int html_path (node_t *n, port *p, int side, boxf *rv, int *k)
 
int html_inside (node_t *n, pointf p, edge_t *e)
 

Macro Definition Documentation

#define BALIGN_LEFT   (1 << 9)

Definition at line 33 of file htmltable.h.

#define BALIGN_MASK   (BALIGN_RIGHT | BALIGN_LEFT)

Definition at line 34 of file htmltable.h.

#define BALIGN_RIGHT   (1 << 8)

Definition at line 32 of file htmltable.h.

#define BORDER_BOTTOM   (1 << 13)

Definition at line 38 of file htmltable.h.

#define BORDER_LEFT   (1 << 10)

Definition at line 35 of file htmltable.h.

#define BORDER_MASK   (BORDER_LEFT|BORDER_TOP|BORDER_RIGHT|BORDER_BOTTOM)

Definition at line 39 of file htmltable.h.

#define BORDER_RIGHT   (1 << 12)

Definition at line 37 of file htmltable.h.

#define BORDER_SET   (1 << 5)

Definition at line 29 of file htmltable.h.

#define BORDER_TOP   (1 << 11)

Definition at line 36 of file htmltable.h.

#define FIXED_FLAG   1

Definition at line 21 of file htmltable.h.

#define HALIGN_LEFT   (1 << 2)

Definition at line 23 of file htmltable.h.

#define HALIGN_MASK   (HALIGN_RIGHT | HALIGN_LEFT)

Definition at line 24 of file htmltable.h.

#define HALIGN_RIGHT   (1 << 1)

Definition at line 22 of file htmltable.h.

#define HALIGN_TEXT   HALIGN_MASK

Definition at line 25 of file htmltable.h.

#define HTML_HRULE   2

Definition at line 96 of file htmltable.h.

#define HTML_IMAGE   3

Definition at line 93 of file htmltable.h.

Referenced by free_html_label(), and switch().

#define HTML_TBL   1

Definition at line 91 of file htmltable.h.

Referenced by emit_html_label(), free_html_label(), make_html_label(), and switch().

#define HTML_TEXT   2

Definition at line 92 of file htmltable.h.

Referenced by html_port(), and switch().

#define HTML_UNSET   0

Definition at line 90 of file htmltable.h.

#define HTML_VRULE   1

Definition at line 95 of file htmltable.h.

Referenced by switch().

#define PAD_SET   (1 << 6)

Definition at line 30 of file htmltable.h.

#define SPACE_SET   (1 << 7)

Definition at line 31 of file htmltable.h.

#define TABLE_H

Definition at line 19 of file htmltable.h.

#define UNSET_ALIGN   0

Definition at line 41 of file htmltable.h.

#define VALIGN_BOTTOM   (1 << 4)

Definition at line 27 of file htmltable.h.

#define VALIGN_MASK   (VALIGN_TOP | VALIGN_BOTTOM)

Definition at line 28 of file htmltable.h.

#define VALIGN_TOP   (1 << 3)

Definition at line 26 of file htmltable.h.

Typedef Documentation

typedef struct htmlcell_t htmlcell_t

Definition at line 98 of file htmltable.h.

typedef struct htmltbl_t htmltbl_t

Definition at line 99 of file htmltable.h.

Function Documentation

void emit_html_label ( GVJ_t job,
htmllabel_t lp,
textlabel_t  
)
void free_html_data ( htmldata_t )
void free_html_label ( htmllabel_t ,
int   
)
void free_html_text ( htmltxt_t )
int html_inside ( node_t n,
pointf  p,
edge_t e 
)
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 
)
htmllabel_t* parseHTML ( char *  ,
int ,
htmlenv_t  
)