Graphviz
2.41.20171026.1811
|
#include "config.h"
#include <string.h>
#include "memory.h"
#include "const.h"
#include "macros.h"
#include "colorprocs.h"
#include "gvplugin_render.h"
#include "cgraph.h"
#include "gvcint.h"
#include "geom.h"
#include "geomprocs.h"
#include "gvcproc.h"
Go to the source code of this file.
Macros | |
#define | REGULAR 0 |
#define | BOLD 1 |
#define | ITALIC 2 |
#define BOLD 1 |
Definition at line 137 of file gvrender.c.
#define ITALIC 2 |
Definition at line 138 of file gvrender.c.
#define REGULAR 0 |
Definition at line 136 of file gvrender.c.
int emit_once | ( | char * | str | ) |
shape_desc* find_user_shape | ( | char * | name | ) |
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 * | a, | ||
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.
int strcasecmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 21 of file strcasecmp.c.