Graphviz 13.0.0~dev.20241220.2304
|
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
Go to the source code of this file.
void gvconfig | ( | GVC_t * | gvc, |
bool | rescan | ||
) |
Definition at line 552 of file gvconfig.c.
References agerrorf(), agxbdisown(), agxbprint(), GVC_s::common, GVC_s::config_found, GVC_s::config_path, GVCOMMON_s::demand_loading, DIRSEP, free(), gv_alloc(), gv_fopen(), gvc, gvconfig_libdir(), gvconfig_plugin_install_builtins(), gvtextlayout_select(), NULL, textfont_dict_open(), and GVC_s::textfont_dt.
Referenced by dotneato_args_initialize(), gvContext(), and gvContextPlugins().
char * gvconfig_libdir | ( | GVC_t * | gvc | ) |
void gvdevice_finalize | ( | GVJ_t * | job | ) |
Definition at line 334 of file gvdevice.c.
References cnt(), GVJ_s::common, GVJ_s::device, gvplugin_active_device_s::engine, GVCOMMON_s::errorfn, gvdevice_engine_s::finalize, GVJ_s::flags, graphviz_exit(), gvdevice_close(), GVDEVICE_COMPRESSED_FORMAT, gvflush(), gvwrite_no_z(), out(), and z.
Referenced by gvrender_end_job(), gvRenderContext(), and gvRenderFilename().
void gvdevice_format | ( | GVJ_t * | job | ) |
Definition at line 325 of file gvdevice.c.
References GVJ_s::device, gvplugin_active_device_s::engine, gvdevice_engine_s::format, and gvflush().
Referenced by gvrender_end_graph().
int gvdevice_initialize | ( | GVJ_t * | job | ) |
Definition at line 116 of file gvdevice.c.
References GVCOMMON_s::auto_outfile_names, auto_output_filename(), GVC_s::common, GVJ_s::common, GVJ_s::device, gvplugin_active_device_s::engine, GVCOMMON_s::errorfn, GVJ_s::flags, gv_fopen(), GVJ_s::gvc, gvc, GVDEVICE_BINARY_FORMAT, GVDEVICE_COMPRESSED_FORMAT, gvwrite_no_z(), gvdevice_engine_s::initialize, L, NULL, GVJ_s::output_data, GVJ_s::output_file, GVJ_s::output_filename, and z.
Referenced by gvrender_begin_job().
char * gvhostname | ( | void | ) |
void gvjobs_delete | ( | GVC_t * | gvc | ) |
Definition at line 104 of file gvjobs.c.
References GVC_s::active_jobs, GVJ_s::active_tooltip, GVC_s::common, free(), gvc, GVC_s::job, GVC_s::jobs, GVJ_s::next, NULL, output_filename_job, output_langname_job, GVJ_s::selected_href, and GVCOMMON_s::viewNum.
Referenced by gvFreeCloneGVC(), gvFreeContext(), gvRender(), gvRenderContext(), gvRenderData(), and gvRenderFilename().
Definition at line 86 of file gvjobs.c.
References gvc, GVC_s::job, and GVC_s::jobs.
Referenced by gvRenderJobs().
Definition at line 91 of file gvjobs.c.
References gvc, 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 44 of file gvjobs.c.
References gv_alloc(), GVJ_s::gvc, gvc, GVC_s::job, GVC_s::jobs, GVJ_s::next, GVJ_s::output_filename, and output_filename_job.
Referenced by dotneato_args_initialize(), and gvRenderFilename().
bool gvjobs_output_langname | ( | GVC_t * | gvc, |
const char * | name | ||
) |
Definition at line 63 of file gvjobs.c.
References gv_alloc(), GVJ_s::gvc, gvc, gvplugin_load(), GVC_s::job, GVC_s::jobs, GVJ_s::next, NULL, GVJ_s::output_langname, and output_langname_job.
Referenced by dotneato_args_initialize(), gvRender(), gvRenderContext(), gvRenderData(), and gvRenderFilename().
int gvlayout_select | ( | GVC_t * | gvc, |
const char * | str | ||
) |
Definition at line 31 of file gvlayout.c.
References gvplugin_active_layout_s::engine, gvplugin_installed_t::engine, gvplugin_active_layout_s::features, gvplugin_installed_t::features, gvc, gvplugin_load(), GVRENDER_PLUGIN, gvplugin_active_layout_s::id, gvplugin_installed_t::id, layout(), GVC_s::layout, NO_SUPPORT, NULL, gvplugin_active_layout_s::type, gvplugin_installed_t::type, and gvplugin_available_s::typeptr.
Referenced by dotneato_args_initialize(), gvLayout(), and gvLayoutJobs().
void gvloadimage | ( | GVJ_t * | job, |
usershape_t * | us, | ||
boxf | b, | ||
bool | filled, | ||
const char * | target | ||
) |
Definition at line 44 of file gvloadimage.c.
References agwarningf(), agxbfree(), agxbprint(), agxbuse(), gvplugin_active_loadimage_t::engine, gvloadimage_select(), GVJ_s::loadimage, gvloadimage_engine_s::loadimage, usershape_s::name, NO_SUPPORT, usershape_s::stringtype, and type.
Referenced by gvrender_usershape().
api_t gvplugin_api | ( | const char * | str | ) |
Definition at line 50 of file gvplugin.c.
References api_names, ARRAY_SIZE, and str.
Referenced by gvplugin_package_record().
char * gvplugin_api_name | ( | api_t | api | ) |
Definition at line 60 of file gvplugin.c.
References api_names, ARRAY_SIZE, and NULL.
Definition at line 484 of file gvplugin.c.
References agattr(), Agdirected, AGEDGE, agedge(), agfindedge, agfindedgeattr, agfindgraphattr, agfindnode, agfindnodeattr, AGNODE, agnode(), agopen(), AGRAPH, agsubg(), agxbfree(), agxbprint(), agxbuse(), agxset(), api_names, GVC_s::apis, ARRAY_SIZE, free(), gv_strdup(), gvc, gvplugin_package_s::name, gvplugin_available_s::next, NODENAME_ESC, NULL, gvplugin_available_s::package, GVC_s::packages, render(), startswith(), and gvplugin_available_s::typestr.
Referenced by dotneato_args_initialize().
bool gvplugin_install | ( | GVC_t * | gvc, |
api_t | api, | ||
const char * | typestr, | ||
int | quality, | ||
gvplugin_package_t * | package, | ||
gvplugin_installed_t * | typeptr | ||
) |
Definition at line 72 of file gvplugin.c.
References GVC_s::apis, gv_alloc(), gvc, gvplugin_available_s::next, NULL, gvplugin_available_s::package, gvplugin_available_s::quality, strview(), strview_cmp(), strview_eq(), type, gvplugin_available_s::typeptr, and gvplugin_available_s::typestr.
Referenced by gvconfig_plugin_install_from_library(), and gvplugin_package_record().
gvplugin_library_t * gvplugin_library_load | ( | GVC_t * | gvc, |
const char * | pathname | ||
) |
Definition at line 153 of file gvplugin.c.
References agerrorf(), agwarningf(), agxbfree(), agxbprint(), agxbput(), agxbuse(), GVC_s::common, GVCOMMON_s::demand_loading, DIRSEP, free(), gv_alloc(), gvc, gvconfig_libdir(), len(), NULL, suffix, and GVCOMMON_s::verbose.
Referenced by gvplugin_load().
Definition at line 356 of file gvplugin.c.
References agxbprint(), agxbuse(), GVC_s::apis, strview_t::data, gvc, gvplugin_package_s::name, gvplugin_available_s::next, NULL, gvplugin_available_s::package, agxbuf::size, strview_t::size, str, strview(), strview_case_eq(), type, and gvplugin_available_s::typestr.
Referenced by dotneato_args_initialize(), gvLayout(), gvLayoutJobs(), gvplugin_write_status(), gvRender(), gvRenderContext(), gvRenderData(), and gvRenderFilename().
gvplugin_available_t * gvplugin_load | ( | GVC_t * | gvc, |
api_t | api, | ||
const char * | type, | ||
FILE * | debug | ||
) |
load a plugin
debug | An optional sink to print debug comments to explaining failures |
Definition at line 250 of file gvplugin.c.
References agxbfree(), agxbprint(), agxbuse(), GVC_s::api, gvplugin_api_t::api, api_names, gvplugin_library_t::apis, apis, GVC_s::apis, GVC_s::common, strview_t::data, gvc, gvplugin_activate(), gvplugin_library_load(), gvplugin_load(), gvplugin_package_s::name, gvplugin_available_s::next, NULL, gvplugin_available_s::package, gvplugin_library_t::packagename, gvplugin_package_s::path, strview_t::size, str, strview(), strview_eq(), strview_str_eq(), gvplugin_installed_t::type, gvplugin_available_s::typeptr, gvplugin_api_t::types, gvplugin_available_s::typestr, and GVCOMMON_s::verbose.
Referenced by gvjobs_output_langname(), gvlayout_select(), gvloadimage_select(), gvplugin_load(), gvrender_select(), and gvtextlayout_select().
void gvplugin_write_status | ( | GVC_t * | gvc | ) |
Definition at line 459 of file gvplugin.c.
References api_names, ARRAY_SIZE, GVC_s::common, GVC_s::config_found, GVC_s::config_path, GVCOMMON_s::demand_loading, gvc, 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 373 of file gvrender.c.
References gvrender_engine_s::begin_anchor, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_begin_edge(), emit_clusters(), emit_edge_label(), emit_end_edge(), emit_page(), epsf_gencode(), initAnchor(), point_gencode(), poly_gencode(), and record_gencode().
void gvrender_begin_cluster | ( | GVJ_t * | job | ) |
Definition at line 277 of file gvrender.c.
References gvrender_engine_s::begin_cluster, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_begin_cluster().
void gvrender_begin_edge | ( | GVJ_t * | job | ) |
Definition at line 354 of file gvrender.c.
References gvrender_engine_s::begin_edge, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_begin_edge().
void gvrender_begin_edges | ( | GVJ_t * | job | ) |
Definition at line 315 of file gvrender.c.
References gvrender_engine_s::begin_edges, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_view().
void gvrender_begin_graph | ( | GVJ_t * | job | ) |
Definition at line 215 of file gvrender.c.
References gvrender_engine_s::begin_graph, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_begin_graph().
int gvrender_begin_job | ( | GVJ_t * | job | ) |
Definition at line 103 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 394 of file gvrender.c.
References gvrender_engine_s::begin_label, gvplugin_active_render_s::engine, GVJ_s::render, and type.
Referenced by emit_htextspans(), and emit_label().
void gvrender_begin_layer | ( | GVJ_t * | job | ) |
Definition at line 256 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().
void gvrender_begin_node | ( | GVJ_t * | job | ) |
Definition at line 335 of file gvrender.c.
References gvrender_engine_s::begin_node, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_begin_node().
void gvrender_begin_nodes | ( | GVJ_t * | job | ) |
Definition at line 295 of file gvrender.c.
References gvrender_engine_s::begin_nodes, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_view().
void gvrender_begin_page | ( | GVJ_t * | job | ) |
Definition at line 236 of file gvrender.c.
References gvrender_engine_s::begin_page, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_page().
Definition at line 579 of file gvrender.c.
References gvrender_engine_s::beziercurve, gvplugin_active_render_s::engine, GVJ_s::flags, free(), gv_calloc(), GVRENDER_DOES_TRANSFORM, gvrender_ptf_A(), GVJ_s::obj, obj_state_s::pen, PEN_NONE, and GVJ_s::render.
Referenced by arrow_type_curve(), cylinder_draw(), emit_edge_graphics(), emit_xdot(), multicolor(), rounded_draw(), and wedgedEllipse().
Definition at line 565 of file gvrender.c.
References A, B, gvrender_polygon(), and pointf_s::x.
Referenced by doBorder(), doSide(), emit_background(), emit_clusters(), emit_html_cell(), emit_html_tbl(), and record_gencode().
void gvrender_comment | ( | GVJ_t * | job, |
char * | str | ||
) |
Definition at line 613 of file gvrender.c.
References gvrender_engine_s::comment, gvplugin_active_render_s::engine, GVJ_s::render, and str.
Referenced by emit_edge(), emit_graph(), and emit_node().
Definition at line 520 of file gvrender.c.
References gvrender_engine_s::ellipse, gvplugin_active_render_s::engine, GVJ_s::flags, GVRENDER_DOES_TRANSFORM, gvrender_ptf_A(), mid_pointf(), GVJ_s::obj, obj_state_s::pen, PEN_NONE, and GVJ_s::render.
Referenced by arrow_type_dot(), emit_xdot(), point_gencode(), and poly_gencode().
void gvrender_end_anchor | ( | GVJ_t * | job | ) |
Definition at line 384 of file gvrender.c.
References gvrender_engine_s::end_anchor, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_clusters(), emit_edge_label(), emit_end_edge(), emit_page(), endAnchor(), epsf_gencode(), point_gencode(), poly_gencode(), and record_gencode().
void gvrender_end_cluster | ( | GVJ_t * | job | ) |
Definition at line 286 of file gvrender.c.
References gvrender_engine_s::end_cluster, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_end_cluster().
void gvrender_end_edge | ( | GVJ_t * | job | ) |
Definition at line 363 of file gvrender.c.
References gvrender_engine_s::end_edge, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_end_edge().
void gvrender_end_edges | ( | GVJ_t * | job | ) |
Definition at line 325 of file gvrender.c.
References gvrender_engine_s::end_edges, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_view().
void gvrender_end_graph | ( | GVJ_t * | job | ) |
Definition at line 225 of file gvrender.c.
References gvrender_engine_s::end_graph, gvplugin_active_render_s::engine, gvdevice_format(), and GVJ_s::render.
Referenced by emit_end_graph().
void gvrender_end_job | ( | GVJ_t * | job | ) |
Definition at line 116 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 gvFinalize(), gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), and gvRenderJobs().
void gvrender_end_label | ( | GVJ_t * | job | ) |
Definition at line 404 of file gvrender.c.
References gvrender_engine_s::end_label, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_htextspans(), and emit_label().
void gvrender_end_layer | ( | GVJ_t * | job | ) |
Definition at line 267 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 344 of file gvrender.c.
References gvrender_engine_s::end_node, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_end_node().
void gvrender_end_nodes | ( | GVJ_t * | job | ) |
Definition at line 305 of file gvrender.c.
References gvrender_engine_s::end_nodes, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_view().
void gvrender_end_page | ( | GVJ_t * | job | ) |
Definition at line 246 of file gvrender.c.
References gvrender_engine_s::end_page, gvplugin_active_render_s::engine, and GVJ_s::render.
Referenced by emit_page().
int gvrender_features | ( | GVJ_t * | job | ) |
Definition at line 89 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 537 of file gvrender.c.
References gvplugin_active_render_s::engine, obj_state_s::fillcolor, GVJ_s::flags, free(), gv_calloc(), 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 arrow_type_box(), arrow_type_crow(), arrow_type_diamond(), arrow_type_normal(), arrow_type_tee(), diagonals_draw(), emit_edge_graphics(), emit_xdot(), gvrender_box(), poly_gencode(), round_corners(), and stripedBox().
Definition at line 596 of file gvrender.c.
References gvplugin_active_render_s::engine, GVJ_s::flags, free(), gv_calloc(), 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 arrow_type_box(), arrow_type_curve(), arrow_type_gap(), arrow_type_tee(), diagonals_draw(), doBorder(), emit_attachment(), emit_xdot(), gen_fields(), Mcircle_hack(), poly_gencode(), and round_corners().
Definition at line 133 of file gvrender.c.
References GVJ_s::devscale, GVJ_s::rotation, scale(), GVJ_s::translation, pointf_s::x, pointf_s::y, and GVJ_s::zoom.
Referenced by gvrender_textspan(), and gvrender_usershape().
Definition at line 154 of file gvrender.c.
References GVJ_s::devscale, GVJ_s::rotation, scale(), GVJ_s::translation, pointf_s::x, pointf_s::y, and GVJ_s::zoom.
Referenced by emit_begin_edge(), emit_begin_node(), emit_map_rect(), emit_page(), gvrender_beziercurve(), gvrender_ellipse(), gvrender_polygon(), gvrender_polyline(), map_label(), and map_point().
int gvrender_select | ( | GVJ_t * | job, |
const char * | lang | ||
) |
Definition at line 40 of file gvrender.c.
References GVC_s::api, GVJ_s::device, gvplugin_active_device_s::engine, gvplugin_active_render_s::engine, gvplugin_installed_t::engine, gvplugin_active_device_s::features, gvplugin_active_render_s::features, gvplugin_installed_t::features, gvrender_features_t::flags, gvdevice_features_t::flags, GVJ_s::flags, GVJ_s::gvc, gvc, gvplugin_load(), GVRENDER_PLUGIN, gvplugin_active_device_s::id, gvplugin_active_render_s::id, gvplugin_installed_t::id, NO_SUPPORT, NULL, GVJ_s::render, str, gvplugin_active_device_s::type, gvplugin_active_render_s::type, gvplugin_available_s::typeptr, and gvplugin_available_s::typestr.
Referenced by gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), and gvRenderJobs().
void gvrender_set_fillcolor | ( | GVJ_t * | job, |
char * | name | ||
) |
Definition at line 450 of file gvrender.c.
References color(), gvplugin_active_render_s::engine, gvplugin_active_render_s::features, obj_state_s::fillcolor, gvrender_resolve_color(), NULL, GVJ_s::obj, GVJ_s::render, and gvrender_engine_s::resolve_color.
Referenced by emit_background(), emit_cluster_colors(), emit_clusters(), emit_colors(), emit_edge_graphics(), emit_html_rules(), emit_page(), emit_xdot(), multicolor(), point_gencode(), poly_gencode(), record_gencode(), setFill(), stripedBox(), and wedgedEllipse().
void gvrender_set_gradient_vals | ( | GVJ_t * | job, |
char * | stopcolor, | ||
int | angle, | ||
double | frac | ||
) |
Definition at line 467 of file gvrender.c.
References color(), gvplugin_active_render_s::engine, gvplugin_active_render_s::features, obj_state_s::gradient_angle, obj_state_s::gradient_frac, gvrender_resolve_color(), GVJ_s::obj, GVJ_s::render, gvrender_engine_s::resolve_color, and obj_state_s::stopcolor.
Referenced by emit_background(), emit_clusters(), emit_xdot(), poly_gencode(), record_gencode(), and setFill().
void gvrender_set_pencolor | ( | GVJ_t * | job, |
char * | name | ||
) |
Definition at line 433 of file gvrender.c.
References color(), gvplugin_active_render_s::engine, gvplugin_active_render_s::features, gvrender_resolve_color(), NULL, GVJ_s::obj, obj_state_s::pencolor, GVJ_s::render, and gvrender_engine_s::resolve_color.
Referenced by doBorder(), emit_attachment(), emit_background(), emit_cluster_colors(), emit_clusters(), emit_colors(), emit_edge_graphics(), emit_htextspans(), emit_html_label(), emit_html_rules(), emit_label(), emit_page(), emit_xdot(), multicolor(), penColor(), point_gencode(), poly_gencode(), and setFill().
void gvrender_set_penwidth | ( | GVJ_t * | job, |
double | penwidth | ||
) |
Definition at line 798 of file gvrender.c.
References gvplugin_active_render_s::engine, GVJ_s::obj, obj_state_s::penwidth, penwidth, and GVJ_s::render.
Referenced by arrow_gen(), doBorder(), emit_begin_edge(), emit_clusters(), emit_html_tbl(), point_gencode(), stripedBox(), stylenode(), and wedgedEllipse().
void gvrender_set_style | ( | GVJ_t * | job, |
char ** | s | ||
) |
Definition at line 481 of file gvrender.c.
References agwarningf(), 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(), doBorder(), emit_attachment(), emit_begin_edge(), emit_clusters(), emit_edge_graphics(), emit_html_label(), emit_xdot(), multicolor(), point_gencode(), and stylenode().
void gvrender_textspan | ( | GVJ_t * | job, |
pointf | p, | ||
textspan_t * | span | ||
) |
Definition at line 414 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_htextspans(), emit_label(), and emit_xdot().
void gvrender_usershape | ( | GVJ_t * | job, |
char * | name, | ||
pointf * | AF, | ||
size_t | n, | ||
bool | filled, | ||
char * | imagescale, | ||
char * | imagepos | ||
) |
Definition at line 670 of file gvrender.c.
References GVJ_s::dpi, gvplugin_active_render_s::engine, EXPANDBP, find_user_shape(), GVJ_s::flags, get_imagepos(), get_imagescale(), 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.
Referenced by emit_html_img(), and poly_gencode().
bool gvtextlayout | ( | GVC_t * | gvc, |
textspan_t * | span, | ||
char ** | fontpath | ||
) |
Definition at line 38 of file gvtextlayout.c.
References gvplugin_active_textlayout_s::engine, gvc, GVC_s::textlayout, and gvtextlayout_engine_s::textlayout.
Referenced by textspan_size().
int gvtextlayout_select | ( | GVC_t * | gvc | ) |
Definition at line 24 of file gvtextlayout.c.
References gvplugin_active_textlayout_s::engine, gvplugin_installed_t::engine, gvc, gvplugin_load(), GVRENDER_PLUGIN, NO_SUPPORT, NULL, GVC_s::textlayout, and gvplugin_available_s::typeptr.
Referenced by gvconfig().
usershape_t * gvusershape_find | ( | const char * | name | ) |
Definition at line 609 of file gvusershape.c.
References dtmatch, ImageDict, and NULL.
Referenced by gvrender_usershape(), and gvusershape_open().
Definition at line 762 of file gvusershape.c.
References dtclose(), GD_drawing, Gvimagepath, gvusershape_open(), gvusershape_size_dpi(), HTTPServerEnVar, ImageDict, NULL, point::x, pointf_s::x, point::y, and pointf_s::y.
Referenced by poly_init(), and size_html_img().
point gvusershape_size_dpi | ( | usershape_t * | us, |
pointf | dpi | ||
) |
Definition at line 741 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().