|
Graphviz
2.41.20171026.1811
|
#include "config.h"#include "gvc.h"#include "const.h"#include "gvcjob.h"#include "gvcint.h"#include "gvcproc.h"#include "gvconfig.h"#include "gvio.h"#include <stdlib.h>
Go to the source code of this file.
Macros | |
| #define | OUTPUT_DATA_INITIAL_ALLOCATION 4096 |
Functions | |
| GVC_t * | gvContext (void) |
| GVC_t * | gvContextPlugins (const lt_symlist_t *builtins, int demand_loading) |
| int | gvLayout (GVC_t *gvc, graph_t *g, const char *engine) |
| int | gvRender (GVC_t *gvc, graph_t *g, const char *format, FILE *out) |
| int | gvRenderFilename (GVC_t *gvc, graph_t *g, const char *format, const char *filename) |
| int | gvRenderContext (GVC_t *gvc, graph_t *g, const char *format, void *context) |
| int | gvRenderData (GVC_t *gvc, graph_t *g, const char *format, char **result, unsigned int *length) |
| void | gvFreeRenderData (char *data) |
| void | gvAddLibrary (GVC_t *gvc, gvplugin_library_t *lib) |
| char ** | gvcInfo (GVC_t *gvc) |
| char * | gvcVersion (GVC_t *gvc) |
| char * | gvcBuildDate (GVC_t *gvc) |
| #define OUTPUT_DATA_INITIAL_ALLOCATION 4096 |
Referenced by gvRenderData().
| void gvAddLibrary | ( | GVC_t * | gvc, |
| gvplugin_library_t * | lib | ||
| ) |
Add a library from your user application
| gvc | Graphviz context to add library to |
| lib | library to add |
Definition at line 237 of file gvc.c.
References gvconfig_plugin_install_from_library(), and NULL.
| char* gvcBuildDate | ( | GVC_t * | gvc | ) |
Definition at line 244 of file gvc.c.
References GVC_s::common, and GVCOMMON_s::info.
| char** gvcInfo | ( | GVC_t * | gvc | ) |
Definition at line 242 of file gvc.c.
References GVC_s::common, and GVCOMMON_s::info.
| GVC_t* gvContext | ( | void | ) |
Definition at line 25 of file gvc.c.
References agattr(), AGNODE, FALSE, gvc, gvconfig(), gvNEWcontext(), NODENAME_ESC, NULL, and TRUE.
| GVC_t* gvContextPlugins | ( | const lt_symlist_t * | builtins, |
| int | demand_loading | ||
| ) |
Definition at line 36 of file gvc.c.
References agattr(), AGNODE, FALSE, gvc, gvconfig(), gvNEWcontext(), NODENAME_ESC, and NULL.
Referenced by main(), and Tcldot_Init().
| char* gvcVersion | ( | GVC_t * | gvc | ) |
Definition at line 243 of file gvc.c.
References GVC_s::common, and GVCOMMON_s::info.
Definition at line 53 of file gvc.c.
References agerr(), AGERR, agsafeset(), GD_bb, GD_drawing, gvlayout_select(), gvLayoutJobs(), gvplugin_list(), NO_SUPPORT, and ROUND.
Referenced by layout().
Definition at line 85 of file gvc.c.
References agerr(), AGERR, agerrorf(), GVJ_s::flags, gvjobs_delete(), gvjobs_output_langname(), gvplugin_list(), gvrender_end_job(), gvrender_select(), gvRenderJobs(), GVC_s::job, LAYOUT_DONE, LAYOUT_NOT_REQUIRED, NO_SUPPORT, NULL, GVJ_s::output_file, GVJ_s::output_lang, GVJ_s::output_langname, OUTPUT_NOT_REQUIRED, and Agraph_s::root.
Referenced by render(), renderchannel(), and renderresult().
Definition at line 148 of file gvc.c.
References agerr(), AGERR, agerrorf(), GVJ_s::context, GVJ_s::external_context, GVJ_s::flags, gvdevice_finalize(), gvjobs_delete(), gvjobs_output_langname(), gvplugin_list(), gvrender_end_job(), gvrender_select(), gvRenderJobs(), GVC_s::job, LAYOUT_DONE, LAYOUT_NOT_REQUIRED, NO_SUPPORT, GVJ_s::output_lang, GVJ_s::output_langname, Agraph_s::root, and TRUE.
| int gvRenderData | ( | GVC_t * | gvc, |
| graph_t * | g, | ||
| const char * | format, | ||
| char ** | result, | ||
| unsigned int * | length | ||
| ) |
Definition at line 182 of file gvc.c.
References agerr(), AGERR, agerrorf(), GVJ_s::flags, gvjobs_delete(), gvjobs_output_langname(), gvplugin_list(), gvrender_end_job(), gvrender_select(), gvRenderJobs(), GVC_s::job, LAYOUT_DONE, LAYOUT_NOT_REQUIRED, NO_SUPPORT, GVJ_s::output_data, GVJ_s::output_data_allocated, OUTPUT_DATA_INITIAL_ALLOCATION, GVJ_s::output_data_position, GVJ_s::output_lang, GVJ_s::output_langname, and Agraph_s::root.
Referenced by renderdata().
Definition at line 117 of file gvc.c.
References agerr(), AGERR, agerrorf(), GVJ_s::flags, gvdevice_finalize(), gvjobs_delete(), gvjobs_output_filename(), gvjobs_output_langname(), gvplugin_list(), gvrender_end_job(), gvrender_select(), gvRenderJobs(), GVC_s::job, LAYOUT_DONE, LAYOUT_NOT_REQUIRED, NO_SUPPORT, GVJ_s::output_lang, GVJ_s::output_langname, and Agraph_s::root.
Referenced by render().
1.8.5