Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Macros | |
#define | extern |
void gv_argvlist_free | ( | gv_argvlist_t * | list | ) |
Definition at line 128 of file gvjobs.c.
References gv_argvlist_s::argv.
void gv_argvlist_reset | ( | gv_argvlist_t * | list | ) |
Definition at line 119 of file gvjobs.c.
References gv_argvlist_s::alloc, gv_argvlist_s::argc, gv_argvlist_s::argv, and NULL.
Referenced by gvjobs_delete().
void gv_argvlist_set_item | ( | gv_argvlist_t * | list, |
int | index, | ||
char * | item | ||
) |
Definition at line 110 of file gvjobs.c.
References gv_argvlist_s::alloc, gv_argvlist_s::argv, and grealloc().
Definition at line 479 of file gvconfig.c.
References agerr(), AGERR, GVC_s::common, GVC_s::config_found, GVC_s::config_path, GVCOMMON_s::demand_loading, DIRSEP, FALSE, gmalloc(), gvconfig_libdir(), gvtextlayout_select(), NULL, textfont_dict_open(), and TRUE.
Referenced by dotneato_args_initialize(), gvContext(), and gvContextPlugins().
char* gvconfig_libdir | ( | GVC_t * | gvc | ) |
Referenced by gvconfig(), gvconfig_plugin_install_from_library(), and gvplugin_library_load().
void gvdevice_finalize | ( | GVJ_t * | job | ) |
Definition at line 323 of file gvdevice.c.
References GVJ_s::common, GVJ_s::device, gvplugin_active_device_s::engine, GVCOMMON_s::errorfn, FALSE, gvdevice_engine_s::finalize, GVJ_s::flags, GVDEVICE_COMPRESSED_FORMAT, gvflush(), and TRUE.
Referenced by graphcmd(), gvrender_end_job(), gvRenderContext(), and gvRenderFilename().
void gvdevice_format | ( | GVJ_t * | job | ) |
Definition at line 314 of file gvdevice.c.
References GVJ_s::device, gvplugin_active_device_s::engine, gvdevice_engine_s::format, and gvflush().
Referenced by gvrender_end_graph().
Definition at line 126 of file gvdevice.c.
References GVCOMMON_s::auto_outfile_names, GVC_s::common, GVJ_s::common, GVJ_s::device, gvplugin_active_device_s::engine, GVCOMMON_s::errorfn, GVJ_s::flags, gvc, GVJ_s::gvc, GVDEVICE_BINARY_FORMAT, GVDEVICE_COMPRESSED_FORMAT, gvdevice_engine_s::initialize, NULL, GVJ_s::output_data, GVJ_s::output_file, and GVJ_s::output_filename.
Referenced by gvrender_begin_job().
Definition at line 102 of file gvlayout.c.
References agbindrec(), GD_cleanup, GD_drawing, graph_cleanup(), NULL, and TRUE.
char* gvhostname | ( | void | ) |
void gvjobs_delete | ( | GVC_t * | gvc | ) |
Definition at line 135 of file gvjobs.c.
References GVC_s::active_jobs, GVJ_s::active_tooltip, GVC_s::common, gv_argvlist_reset(), GVC_s::job, GVC_s::jobs, GVJ_s::next, NULL, GVJ_s::selected_href, GVJ_s::selected_obj_attributes, GVJ_s::selected_obj_type_name, and GVCOMMON_s::viewNum.
Referenced by graphcmd(), gvFreeCloneGVC(), gvFreeContext(), gvRender(), gvRenderContext(), gvRenderData(), and gvRenderFilename().
Definition at line 87 of file gvjobs.c.
References GVC_s::job, and GVC_s::jobs.
Referenced by gvRenderJobs().
Definition at line 92 of file gvjobs.c.
References GVC_s::job, GVJ_s::next, and GVJ_s::output_langname.
Referenced by gvRenderJobs().
void gvjobs_output_filename | ( | GVC_t * | gvc, |
const char * | name | ||
) |
Definition at line 45 of file gvjobs.c.
References gvc, GVJ_s::gvc, GVC_s::job, GVC_s::jobs, GVJ_s::next, GVJ_s::output_filename, and zmalloc().
Referenced by dotneato_args_initialize(), and gvRenderFilename().
Definition at line 64 of file gvjobs.c.
References FALSE, gvc, GVJ_s::gvc, gvplugin_load(), GVC_s::job, GVC_s::jobs, GVJ_s::next, GVJ_s::output_langname, TRUE, and zmalloc().
Referenced by dotneato_args_initialize(), graphcmd(), gvRender(), gvRenderContext(), gvRenderData(), and gvRenderFilename().
Definition at line 33 of file gvlayout.c.
References gvplugin_active_layout_s::engine, gvplugin_installed_t::engine, gvplugin_active_layout_s::features, gvplugin_installed_t::features, gvplugin_load(), GVRENDER_PLUGIN, gvplugin_active_layout_s::id, gvplugin_installed_t::id, GVC_s::layout, NO_SUPPORT, gvplugin_active_layout_s::type, gvplugin_installed_t::type, and gvplugin_available_s::typeptr.
Referenced by dotneato_args_initialize(), gvLayout(), gvLayoutJobs(), and tcldot_layout().
Definition at line 55 of file gvlayout.c.
References agbindrec(), agerr(), AGERR, agget(), agroot(), gvlayout_engine_s::cleanup, gvplugin_active_layout_s::engine, gvplugin_active_layout_s::features, gvlayout_features_t::flags, GD_cleanup, GD_drawing, GD_gvc, graph_init(), gv_fixLocale(), gv_initShapes(), gvc, gvlayout_select(), gvplugin_list(), gvlayout_engine_s::layout, GVC_s::layout, LAYOUT_USES_RANKDIR, NO_SUPPORT, NULL, and TRUE.
void gvloadimage | ( | GVJ_t * | job, |
usershape_t * | us, | ||
boxf | b, | ||
boolean | filled, | ||
const char * | target | ||
) |
Definition at line 47 of file gvloadimage.c.
References agerr(), AGWARN, assert, gvplugin_active_loadimage_t::engine, gvloadimage_engine_s::loadimage, GVJ_s::loadimage, usershape_s::name, NO_SUPPORT, SMALLBUF, and usershape_s::stringtype.
Referenced by gvrender_usershape().
gv_argvlist_t* gvNEWargvlist | ( | void | ) |
api_t gvplugin_api | ( | char * | str | ) |
Definition at line 59 of file gvplugin.c.
References ARRAY_SIZE.
char* gvplugin_api_name | ( | api_t | api | ) |
Definition at line 71 of file gvplugin.c.
References ARRAY_SIZE, and NULL.
Referenced by gvconfig_plugin_install_from_library().
Definition at line 490 of file gvplugin.c.
References agattr(), Agdirected, AGEDGE, agedge(), agfindedge, agfindedgeattr, agfindgraphattr, agfindnode, agfindnodeattr, AGNODE, agnode(), agopen(), AGRAPH, agsubg(), agxset(), GVC_s::apis, ARRAY_SIZE, gvplugin_package_s::name, gvplugin_package_s::next, NIL, NODENAME_ESC, NULL, and GVC_s::packages.
Referenced by dotneato_args_initialize().
boolean gvplugin_install | ( | GVC_t * | gvc, |
api_t | api, | ||
const char * | typestr, | ||
int | quality, | ||
gvplugin_package_t * | package, | ||
gvplugin_installed_t * | typeptr | ||
) |
Definition at line 83 of file gvplugin.c.
References GVC_s::apis, GNEW, gvplugin_available_s::next, gvplugin_available_s::package, gvplugin_available_s::quality, TRUE, gvplugin_available_s::typeptr, gvplugin_available_s::typestr, and TYPSIZ.
Referenced by gvconfig_plugin_install_from_library().
gvplugin_library_t* gvplugin_library_load | ( | GVC_t * | gvc, |
char * | path | ||
) |
Definition at line 158 of file gvplugin.c.
References agerr(), AGERR, AGWARN, GVC_s::common, GVCOMMON_s::demand_loading, DIRSEP, gmalloc(), grealloc(), gvconfig_libdir(), NULL, and GVCOMMON_s::verbose.
Referenced by gvconfig_plugin_install_from_library(), and gvplugin_load().
Definition at line 342 of file gvplugin.c.
References agxbinit(), agxbput(), agxbputc, agxbuse, GVC_s::apis, FALSE, NULL, strcasecmp(), and TRUE.
Referenced by dotneato_args_initialize(), graphcmd(), gvLayout(), gvLayoutJobs(), gvplugin_write_status(), gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), and tcldot_layout().
gvplugin_available_t* gvplugin_load | ( | GVC_t * | gvc, |
api_t | api, | ||
const char * | type | ||
) |
Definition at line 262 of file gvplugin.c.
References gvplugin_api_t::api, GVC_s::api, gvplugin_library_t::apis, GVC_s::apis, GVC_s::common, gvplugin_library_load(), gvplugin_load(), gvplugin_package_s::name, NULL, gvplugin_available_s::package, gvplugin_library_t::packagename, gvplugin_package_s::path, TYPBUFSIZ, gvplugin_installed_t::type, gvplugin_available_s::typeptr, gvplugin_api_t::types, gvplugin_available_s::typestr, and GVCOMMON_s::verbose.
Referenced by gvconfig_plugin_install_from_library(), gvjobs_output_langname(), gvlayout_select(), gvplugin_load(), gvrender_select(), and gvtextlayout_select().
void gvplugin_write_status | ( | GVC_t * | gvc | ) |
Definition at line 465 of file gvplugin.c.
References ARRAY_SIZE, GVC_s::common, GVC_s::config_found, GVC_s::config_path, GVCOMMON_s::demand_loading, gvplugin_list(), and GVCOMMON_s::verbose.
Referenced by gvParseArgs().
void gvrender_begin_anchor | ( | GVJ_t * | job, |
char * | href, | ||
char * | tooltip, | ||
char * | target, | ||
char * | id | ||
) |
Definition at line 404 of file gvrender.c.
References gvrender_engine_s::begin_anchor, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_clusters().
Definition at line 304 of file gvrender.c.
References gvrender_engine_s::begin_cluster, gvplugin_active_render_s::engine, and GVJ_s::render.
Definition at line 384 of file gvrender.c.
References gvrender_engine_s::begin_edge, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_begin_edges | ( | GVJ_t * | job | ) |
Definition at line 344 of file gvrender.c.
References gvrender_engine_s::begin_edges, gvplugin_active_render_s::engine, and GVJ_s::render.
Definition at line 228 of file gvrender.c.
References agget(), gvrender_engine_s::begin_graph, GVC_s::bgcolor, gvplugin_active_render_s::engine, gvplugin_active_render_s::features, gvc, GVJ_s::render, and gvrender_engine_s::resolve_color.
Definition at line 110 of file gvrender.c.
References gvrender_engine_s::begin_job, gvplugin_active_render_s::engine, gvdevice_initialize(), and GVJ_s::render.
Referenced by gvRenderJobs().
void gvrender_begin_label | ( | GVJ_t * | job, |
label_type | type | ||
) |
Definition at line 425 of file gvrender.c.
References gvrender_engine_s::begin_label, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_label().
void gvrender_begin_layer | ( | GVJ_t * | job | ) |
Definition at line 283 of file gvrender.c.
References gvrender_engine_s::begin_layer, gvplugin_active_render_s::engine, GVJ_s::gvc, GVC_s::layerIDs, GVJ_s::layerNum, GVJ_s::numLayers, and GVJ_s::render.
Referenced by emit_graph().
Definition at line 364 of file gvrender.c.
References gvrender_engine_s::begin_node, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_begin_nodes | ( | GVJ_t * | job | ) |
Definition at line 324 of file gvrender.c.
References gvrender_engine_s::begin_nodes, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_begin_page | ( | GVJ_t * | job | ) |
Definition at line 263 of file gvrender.c.
References gvrender_engine_s::begin_page, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_beziercurve | ( | GVJ_t * | job, |
pointf * | AF, | ||
int | n, | ||
int | arrow_at_start, | ||
int | arrow_at_end, | ||
boolean | filled | ||
) |
Definition at line 617 of file gvrender.c.
References gvrender_engine_s::beziercurve, gvplugin_active_render_s::engine, GVJ_s::flags, grealloc(), GVRENDER_DOES_TRANSFORM, gvrender_ptf_A(), GVJ_s::obj, obj_state_s::pen, PEN_NONE, and GVJ_s::render.
Referenced by round_corners(), and wedgedEllipse().
Definition at line 603 of file gvrender.c.
References gvrender_polygon(), boxf::LL, boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by emit_clusters().
void gvrender_comment | ( | GVJ_t * | job, |
char * | str | ||
) |
Definition at line 661 of file gvrender.c.
References gvrender_engine_s::comment, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_graph().
Definition at line 551 of file gvrender.c.
References gvrender_engine_s::ellipse, gvplugin_active_render_s::engine, GVJ_s::flags, GVRENDER_DOES_TRANSFORM, gvrender_ptf_A(), GVJ_s::obj, obj_state_s::pen, PEN_NONE, GVJ_s::render, pointf_s::x, and pointf_s::y.
void gvrender_end_anchor | ( | GVJ_t * | job | ) |
Definition at line 415 of file gvrender.c.
References gvrender_engine_s::end_anchor, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_clusters().
Definition at line 314 of file gvrender.c.
References gvrender_engine_s::end_cluster, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_end_edge | ( | GVJ_t * | job | ) |
Definition at line 394 of file gvrender.c.
References gvrender_engine_s::end_edge, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_end_edges | ( | GVJ_t * | job | ) |
Definition at line 354 of file gvrender.c.
References gvrender_engine_s::end_edges, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_end_graph | ( | GVJ_t * | job | ) |
Definition at line 252 of file gvrender.c.
References gvrender_engine_s::end_graph, gvplugin_active_render_s::engine, gvdevice_format(), and GVJ_s::render.
void gvrender_end_job | ( | GVJ_t * | job | ) |
Definition at line 123 of file gvrender.c.
References GVC_s::common, gvrender_engine_s::end_job, gvplugin_active_render_s::engine, GVJ_s::gvc, gvdevice_finalize(), GVCOMMON_s::lib, NULL, and GVJ_s::render.
Referenced by graphcmd(), gvFinalize(), gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), and gvRenderJobs().
void gvrender_end_label | ( | GVJ_t * | job | ) |
Definition at line 435 of file gvrender.c.
References gvrender_engine_s::end_label, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_label().
void gvrender_end_layer | ( | GVJ_t * | job | ) |
Definition at line 294 of file gvrender.c.
References gvrender_engine_s::end_layer, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_graph().
void gvrender_end_node | ( | GVJ_t * | job | ) |
Definition at line 374 of file gvrender.c.
References gvrender_engine_s::end_node, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_end_nodes | ( | GVJ_t * | job | ) |
Definition at line 334 of file gvrender.c.
References gvrender_engine_s::end_nodes, gvplugin_active_render_s::engine, and GVJ_s::render.
void gvrender_end_page | ( | GVJ_t * | job | ) |
Definition at line 273 of file gvrender.c.
References gvrender_engine_s::end_page, gvplugin_active_render_s::engine, and GVJ_s::render.
Definition at line 96 of file gvrender.c.
References gvplugin_active_render_s::engine, gvplugin_active_render_s::features, gvrender_features_t::flags, and GVJ_s::render.
Definition at line 572 of file gvrender.c.
References gvplugin_active_render_s::engine, obj_state_s::fillcolor, GVJ_s::flags, grealloc(), GVRENDER_DOES_TRANSFORM, gvrender_ptf_A(), NO_POLY, GVJ_s::obj, obj_state_s::pen, PEN_NONE, obj_state_s::pencolor, gvrender_engine_s::polygon, and GVJ_s::render.
Referenced by gvrender_box(), round_corners(), and stripedBox().
Definition at line 641 of file gvrender.c.
References gvplugin_active_render_s::engine, GVJ_s::flags, grealloc(), GVRENDER_DOES_TRANSFORM, gvrender_ptf_A(), GVJ_s::obj, obj_state_s::pen, PEN_NONE, gvrender_engine_s::polyline, and GVJ_s::render.
Referenced by round_corners().
Definition at line 140 of file gvrender.c.
References GVJ_s::devscale, GVJ_s::rotation, GVJ_s::translation, pointf_s::x, pointf_s::y, and GVJ_s::zoom.
Referenced by gvrender_textspan(), and gvrender_usershape().
Definition at line 161 of file gvrender.c.
References GVJ_s::devscale, GVJ_s::rotation, GVJ_s::translation, pointf_s::x, pointf_s::y, and GVJ_s::zoom.
Referenced by emit_map_rect(), gvrender_beziercurve(), gvrender_ellipse(), gvrender_polygon(), and gvrender_polyline().
Definition at line 47 of file gvrender.c.
References GVC_s::api, GVJ_s::device, gvplugin_installed_t::engine, gvplugin_active_device_s::engine, gvplugin_active_render_s::engine, gvplugin_installed_t::features, gvplugin_active_device_s::features, gvplugin_active_render_s::features, gvrender_features_t::flags, gvdevice_features_t::flags, GVJ_s::flags, gvc, GVJ_s::gvc, gvplugin_load(), GVRENDER_PLUGIN, gvplugin_installed_t::id, gvplugin_active_device_s::id, gvplugin_active_render_s::id, NO_SUPPORT, NULL, GVJ_s::render, gvplugin_active_device_s::type, gvplugin_active_render_s::type, gvplugin_available_s::typeptr, and gvplugin_available_s::typestr.
Referenced by graphcmd(), gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), and gvRenderJobs().
void gvrender_set_fillcolor | ( | GVJ_t * | job, |
char * | name | ||
) |
Definition at line 481 of file gvrender.c.
References gvplugin_active_render_s::engine, gvplugin_active_render_s::features, obj_state_s::fillcolor, NULL, GVJ_s::obj, GVJ_s::render, and gvrender_engine_s::resolve_color.
Referenced by emit_clusters(), stripedBox(), and wedgedEllipse().
Definition at line 498 of file gvrender.c.
References gvplugin_active_render_s::engine, gvplugin_active_render_s::features, obj_state_s::gradient_angle, obj_state_s::gradient_frac, GVJ_s::obj, GVJ_s::render, gvrender_engine_s::resolve_color, and obj_state_s::stopcolor.
Referenced by emit_clusters().
void gvrender_set_pencolor | ( | GVJ_t * | job, |
char * | name | ||
) |
Definition at line 464 of file gvrender.c.
References gvplugin_active_render_s::engine, gvplugin_active_render_s::features, NULL, GVJ_s::obj, obj_state_s::pencolor, GVJ_s::render, and gvrender_engine_s::resolve_color.
Referenced by emit_clusters(), emit_html_label(), and emit_label().
void gvrender_set_penwidth | ( | GVJ_t * | job, |
double | penwidth | ||
) |
Definition at line 848 of file gvrender.c.
References gvplugin_active_render_s::engine, GVJ_s::obj, obj_state_s::penwidth, and GVJ_s::render.
Referenced by arrow_gen(), emit_clusters(), stripedBox(), and wedgedEllipse().
void gvrender_set_style | ( | GVJ_t * | job, |
char ** | s | ||
) |
Definition at line 512 of file gvrender.c.
References agerr(), AGWARN, gvplugin_active_render_s::engine, obj_state_s::fill, FILL_NONE, FILL_SOLID, GVJ_s::obj, obj_state_s::pen, PEN_DASHED, PEN_DOTTED, PEN_NONE, PEN_SOLID, obj_state_s::penwidth, PENWIDTH_BOLD, obj_state_s::rawstyle, GVJ_s::render, and streq.
Referenced by arrow_gen(), emit_clusters(), and emit_html_label().
void gvrender_textspan | ( | GVJ_t * | job, |
pointf | p, | ||
textspan_t * | span | ||
) |
Definition at line 445 of file gvrender.c.
References gvplugin_active_render_s::engine, GVJ_s::flags, GVRENDER_DOES_TRANSFORM, gvrender_ptf(), GVJ_s::obj, obj_state_s::pen, PEN_NONE, GVJ_s::render, textspan_t::str, and gvrender_engine_s::textspan.
Referenced by emit_label().
void gvrender_usershape | ( | GVJ_t * | job, |
char * | name, | ||
pointf * | AF, | ||
int | n, | ||
boolean | filled, | ||
char * | imagescale, | ||
char * | imagepos | ||
) |
Definition at line 718 of file gvrender.c.
References assert, GVJ_s::dpi, gvplugin_active_render_s::engine, EXPANDBP, find_user_shape(), GVJ_s::flags, gvloadimage(), GVRENDER_DOES_TRANSFORM, gvrender_ptf(), gvusershape_find(), gvusershape_size_dpi(), IMAGEPOS_BOTTOM_CENTER, IMAGEPOS_BOTTOM_LEFT, IMAGEPOS_BOTTOM_RIGHT, IMAGEPOS_MIDDLE_LEFT, IMAGEPOS_MIDDLE_RIGHT, IMAGEPOS_TOP_CENTER, IMAGEPOS_TOP_LEFT, IMAGEPOS_TOP_RIGHT, IMAGESCALE_BOTH, IMAGESCALE_FALSE, IMAGESCALE_HEIGHT, IMAGESCALE_TRUE, IMAGESCALE_WIDTH, gvrender_engine_s::library_shape, boxf::LL, GVJ_s::render, gvplugin_active_render_s::type, boxf::UR, point::x, pointf_s::x, point::y, and pointf_s::y.
boolean gvtextlayout | ( | GVC_t * | gvc, |
textspan_t * | span, | ||
char ** | fontpath | ||
) |
Definition at line 39 of file gvtextlayout.c.
References gvplugin_active_textlayout_s::engine, FALSE, gvtextlayout_engine_s::textlayout, and GVC_s::textlayout.
Referenced by textspan_size().
Definition at line 25 of file gvtextlayout.c.
References gvplugin_active_textlayout_s::engine, gvplugin_installed_t::engine, gvplugin_load(), GVRENDER_PLUGIN, NO_SUPPORT, GVC_s::textlayout, and gvplugin_available_s::typeptr.
Referenced by gvconfig().
usershape_t* gvusershape_find | ( | char * | name | ) |
Referenced by gvrender_usershape().
Definition at line 730 of file gvusershape.c.
References dtclose(), GD_drawing, Gvimagepath, gvusershape_size_dpi(), HTTPServerEnVar, NULL, point::x, pointf_s::x, point::y, and pointf_s::y.
point gvusershape_size_dpi | ( | usershape_t * | us, |
pointf | dpi | ||
) |
Definition at line 709 of file gvusershape.c.
References usershape_s::dpi, usershape_s::h, POINTS_PER_INCH, usershape_s::w, point::x, pointf_s::x, point::y, and pointf_s::y.
Referenced by gvrender_usershape(), and gvusershape_size().