Graphviz
2.41.20171026.1811
|
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | xdot_color_stop |
struct | xdot_linear_grad |
struct | xdot_radial_grad |
struct | xdot_color |
struct | xdot_point |
struct | xdot_rect |
struct | xdot_polyline |
struct | xdot_text |
struct | xdot_image |
struct | xdot_font |
struct | _xdot_op |
struct | xdot |
struct | xdot_stats |
Macros | |
#define | XDOT_API extern |
#define | INITIAL_XDOT_CAPACITY 512 |
#define | XDOT_PARSE_ERROR 1 |
Typedefs | |
typedef struct _xdot_op | xdot_op |
typedef void(* | drawfunc_t )(xdot_op *, int) |
typedef void(* | freefunc_t )(xdot_op *) |
Enumerations | |
enum | xdot_grad_type { xd_none, xd_linear, xd_radial } |
enum | xdot_align { xd_left, xd_center, xd_right } |
enum | xdot_kind { xd_filled_ellipse, xd_unfilled_ellipse, xd_filled_polygon, xd_unfilled_polygon, xd_filled_bezier, xd_unfilled_bezier, xd_polyline, xd_text, xd_fill_color, xd_pen_color, xd_font, xd_style, xd_image, xd_grad_fill_color, xd_grad_pen_color, xd_fontchar } |
enum | xop_kind { xop_ellipse, xop_polygon, xop_bezier, xop_polyline, xop_text, xop_fill_color, xop_pen_color, xop_font, xop_style, xop_image, xop_grad_color, xop_fontchar } |
Functions | |
XDOT_API xdot * | parseXDotF (char *, drawfunc_t opfns[], int sz) |
XDOT_API xdot * | parseXDotFOn (char *, drawfunc_t opfns[], int sz, xdot *) |
XDOT_API xdot * | parseXDot (char *) |
XDOT_API char * | sprintXDot (xdot *) |
XDOT_API void | fprintXDot (FILE *, xdot *) |
XDOT_API void | jsonXDot (FILE *, xdot *) |
XDOT_API void | freeXDot (xdot *) |
XDOT_API int | statXDot (xdot *, xdot_stats *) |
XDOT_API xdot_grad_type | colorTypeXDot (char *) |
XDOT_API char * | parseXDotColor (char *cp, xdot_color *clr) |
XDOT_API void | freeXDotColor (xdot_color *) |
#define XDOT_PARSE_ERROR 1 |
Definition at line 146 of file xdot.h.
Referenced by parseXDotFOn().
enum xdot_align |
enum xdot_grad_type |
enum xdot_kind |
enum xop_kind |
XDOT_API xdot_grad_type colorTypeXDot | ( | char * | ) |
Definition at line 945 of file xdot.c.
References xdot::cnt, xdot::freefunc, xdot::ops, and xdot::sz.
Referenced by graph_cleanup().
XDOT_API void freeXDotColor | ( | xdot_color * | ) |
Definition at line 1158 of file xdot.c.
References xdot_color_stop::color, xdot_color::ling, xdot_linear_grad::n_stops, xdot_radial_grad::n_stops, xdot_color::ring, xdot_linear_grad::stops, xdot_radial_grad::stops, xdot_color::type, xdot_color::u, xd_linear, and xd_radial.
Definition at line 496 of file xdot.c.
References parseXDotF().
XDOT_API char* parseXDotColor | ( | char * | cp, |
xdot_color * | clr | ||
) |
Definition at line 1130 of file xdot.c.
References xdot_color::clr, NULL, xdot_color::type, xdot_color::u, and xd_none.
XDOT_API xdot* parseXDotF | ( | char * | , |
drawfunc_t | opfns[], | ||
int | sz | ||
) |
Definition at line 491 of file xdot.c.
References NULL, and parseXDotFOn().
Referenced by init_xdot(), and parseXDot().
XDOT_API xdot* parseXDotFOn | ( | char * | , |
drawfunc_t | opfns[], | ||
int | sz, | ||
xdot * | |||
) |
Definition at line 433 of file xdot.c.
References xdot::cnt, xdot::flags, NEW, NULL, xdot::ops, xdot::sz, XDBSIZE, and XDOT_PARSE_ERROR.
Referenced by parseXDotF().
Definition at line 881 of file xdot.c.
References agxbfree(), agxbinit(), agxbput(), and agxbuse.
XDOT_API int statXDot | ( | xdot * | , |
xdot_stats * | |||
) |
Definition at line 963 of file xdot.c.
References _xdot_op::bezier, xdot_polyline::cnt, xdot::cnt, xdot_stats::cnt, _xdot_op::kind, xdot_stats::n_bezier, xdot_stats::n_bezier_pts, xdot_stats::n_color, xdot_stats::n_ellipse, xdot_stats::n_font, xdot_stats::n_fontchar, xdot_stats::n_gradcolor, xdot_stats::n_image, xdot_stats::n_polygon, xdot_stats::n_polygon_pts, xdot_stats::n_polyline, xdot_stats::n_polyline_pts, xdot_stats::n_style, xdot_stats::n_text, xdot::ops, _xdot_op::polygon, _xdot_op::polyline, xdot::sz, _xdot_op::u, xd_fill_color, xd_filled_bezier, xd_filled_ellipse, xd_filled_polygon, xd_font, xd_fontchar, xd_grad_fill_color, xd_grad_pen_color, xd_image, xd_pen_color, xd_polyline, xd_style, xd_text, xd_unfilled_bezier, xd_unfilled_ellipse, and xd_unfilled_polygon.
Referenced by init_xdot().