|
Graphviz
2.31.20130524.0447
|
#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.
Defines | |
| #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 | 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 256 of file gvc.c.
References gvconfig_plugin_install_from_library(), and NULL.
| char* gvcBuildDate | ( | GVC_t * | gvc | ) |
Definition at line 263 of file gvc.c.
References GVC_s::common, and GVCOMMON_s::info.
| char** gvcInfo | ( | GVC_t * | gvc | ) |
Definition at line 261 of file gvc.c.
References GVC_s::common, and GVCOMMON_s::info.
| GVC_t* gvContext | ( | void | ) |
Definition at line 43 of file gvc.c.
References aginit, agnodeattr, NULL, NODENAME_ESC, agattr(), AGNODE, gvNEWcontext(), TRUE, gvconfig(), and FALSE.
| GVC_t* gvContextPlugins | ( | const lt_symlist_t * | builtins, |
| int | demand_loading | ||
| ) |
Definition at line 59 of file gvc.c.
References aginit, agnodeattr, NULL, NODENAME_ESC, agattr(), AGNODE, gvNEWcontext(), gvconfig(), and FALSE.
Referenced by main().
| char* gvcVersion | ( | GVC_t * | gvc | ) |
Definition at line 262 of file gvc.c.
References GVC_s::common, and GVCOMMON_s::info.
Definition at line 81 of file gvc.c.
References gvlayout_select(), NO_SUPPORT, agerr(), AGERR, gvplugin_list(), gvLayoutJobs(), GD_drawing, ROUND, GD_bb, and agsafeset().
Referenced by layout().
Definition at line 112 of file gvc.c.
References gvjobs_output_langname(), GVC_s::job, NO_SUPPORT, agerr(), AGERR, gvplugin_list(), GVJ_s::output_lang, gvrender_select(), GVJ_s::output_langname, GD_drawing, GVJ_s::flags, LAYOUT_NOT_REQUIRED, GVJ_s::output_file, NULL, OUTPUT_NOT_REQUIRED, gvRenderJobs(), gvrender_end_job(), and gvjobs_delete().
Referenced by render(), renderchannel(), and renderresult().
Definition at line 175 of file gvc.c.
References gvjobs_output_langname(), GVC_s::job, NO_SUPPORT, agerr(), AGERR, gvplugin_list(), GVJ_s::output_lang, gvrender_select(), GVJ_s::output_langname, GD_drawing, GVJ_s::flags, LAYOUT_NOT_REQUIRED, GVJ_s::context, GVJ_s::external_context, TRUE, gvRenderJobs(), gvrender_end_job(), gvdevice_finalize(), and gvjobs_delete().
| int gvRenderData | ( | GVC_t * | gvc, |
| graph_t * | g, | ||
| const char * | format, | ||
| char ** | result, | ||
| unsigned int * | length | ||
| ) |
Definition at line 209 of file gvc.c.
References gvjobs_output_langname(), GVC_s::job, NO_SUPPORT, agerr(), AGERR, gvplugin_list(), GVJ_s::output_lang, gvrender_select(), GVJ_s::output_langname, GD_drawing, GVJ_s::flags, LAYOUT_NOT_REQUIRED, malloc(), OUTPUT_DATA_INITIAL_ALLOCATION, GVJ_s::output_data, GVJ_s::output_data_allocated, GVJ_s::output_data_position, gvRenderJobs(), gvrender_end_job(), and gvjobs_delete().
Referenced by renderdata().
Definition at line 144 of file gvc.c.
References gvjobs_output_langname(), GVC_s::job, NO_SUPPORT, agerr(), AGERR, gvplugin_list(), GVJ_s::output_lang, gvrender_select(), GVJ_s::output_langname, GD_drawing, GVJ_s::flags, LAYOUT_NOT_REQUIRED, gvjobs_output_filename(), gvRenderJobs(), gvrender_end_job(), gvdevice_finalize(), and gvjobs_delete().
Referenced by render().
1.7.5