Graphviz
2.41.20171026.1811
|
#include "config.h"
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <inttypes.h>
#include "types.h"
#include "macros.h"
#include "const.h"
#include "globals.h"
#include "memory.h"
#include "colorprocs.h"
#include "geomprocs.h"
#include "agxbuf.h"
#include "utils.h"
#include "gvplugin.h"
#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
Go to the source code of this file.
Data Structures | |
struct | epsf_s |
Macros | |
#define | __USE_GNU |
Typedefs | |
typedef struct epsf_s | epsf_t |
Definition at line 352 of file splines.c.
References path::boxes, boxf::LL, path::nbox, boxf::UR, pointf_s::x, and pointf_s::y.
Definition at line 1355 of file splines.c.
References agraphof(), agtail(), APPROXEQPT, dist2(), dotneato_closest(), ED_label, ED_spl, EDGE_TYPE, ET_SPLINE, leftOf(), LEFTOF, makePortLabels(), MAXLABELWD, MILLIPOINT, MIN, TRUE, updateBB(), point::x, pointf_s::x, point::y, and pointf_s::y.
Referenced by makeSpline(), and makeStraightEdges().
Definition at line 691 of file arrows.c.
References ARROW_LENGTH, EPSILON, boxf::LL, MAX, MIN, boxf::UR, pointf_s::x, and pointf_s::y.
Definition at line 198 of file arrows.c.
References agfindedge, aghead(), agisdirected(), agraphof(), agtail(), agxget(), ARR_TYPE_NONE, ARR_TYPE_NORM, arrow_flags(), arrowdir_t::dir, E_arrowhead, E_arrowtail, E_dir, ED_conc_opp_flag, arrowdir_t::eflag, arrowdir_t::sflag, and streq.
Referenced by arrow_flags().
void arrow_gen | ( | GVJ_t * | job, |
emit_state_t | emit_state, | ||
pointf | p, | ||
pointf | u, | ||
double | arrowsize, | ||
double | penwidth, | ||
int | flag | ||
) |
Definition at line 729 of file arrows.c.
References ARR_TYPE_NONE, ARROW_LENGTH, BITS_PER_ARROW, GVC_s::defaultlinestyle, obj_state_s::emit_state, EPSILON, GVJ_s::gvc, gvrender_set_penwidth(), gvrender_set_style(), NUMB_OF_ARROW_HEADS, GVJ_s::obj, pointf_s::x, and pointf_s::y.
Definition at line 229 of file arrows.c.
References ARROW_LENGTH, BITS_PER_ARROW, BITS_PER_ARROW_TYPE, E_arrowsz, arrowtype_t::gen, late_double(), arrowtype_t::lenfact, NUMB_OF_ARROW_HEADS, and arrowtype_t::type.
Referenced by arrowEndClip(), arrowOrthoClip(), and arrowStartClip().
Definition at line 256 of file arrows.c.
References inside_t::a, arrow_length(), bezier_clip(), DIST2, bezier::eflag, bezier::ep, inside_t::p, inside_t::r, and TRUE.
Definition at line 323 of file arrows.c.
References arrow_length(), DIST, bezier::eflag, bezier::ep, bezier::sflag, bezier::sp, pointf_s::x, and pointf_s::y.
Definition at line 285 of file arrows.c.
References inside_t::a, arrow_length(), bezier_clip(), DIST2, FALSE, inside_t::p, inside_t::r, bezier::sflag, and bezier::sp.
Definition at line 393 of file splines.c.
References aghead(), agraphof(), agtail(), assert, BOTTOM, pathend_t::boxes, pathend_t::boxn, port::constrained, path::data, ED_edge_type, ED_head_port, ED_tail_port, ED_to_orig, FALSE, FLATEDGE, FUDGE, GD_ranksep, HT2, int, LEFT, boxf::LL, MAX, MIN, pathend_t::nb, path::nbox, ND_coord, ND_lw, ND_node_type, ND_rw, ND_shape, NORMAL, pathend_t::np, NULL, port::p, REGULAREDGE, resolvePort(), RIGHT, SELFEDGE, pathend_t::sidemask, path::start, port::theta, TOP, TRUE, boxf::UR, pointf_s::x, and pointf_s::y.
void bezier_clip | ( | inside_t * | inside_context, |
boolean(*)(inside_t *inside_context, pointf p) | insidefn, | ||
pointf * | sp, | ||
boolean | left_inside | ||
) |
Definition at line 106 of file splines.c.
References ABS, Bezier(), FALSE, left, NULL, right, TRUE, pointf_s::x, and pointf_s::y.
Referenced by arrowEndClip(), and arrowStartClip().
shape_desc* bind_shape | ( | char * | name, |
node_t * | |||
) |
Definition at line 3837 of file shapes.c.
References agget(), shape_desc::name, NULL, safefile(), str, and streq.
Referenced by common_init_node().
char* charsetToStr | ( | int | c | ) |
Definition at line 866 of file input.c.
References agerr(), AGERR, CHAR_BIG5, CHAR_LATIN1, and CHAR_UTF8.
Referenced by initHTMLlexer().
void clip_and_install | ( | edge_t * | fe, |
node_t * | hn, | ||
pointf * | ps, | ||
int | pn, | ||
splineInfo * | info | ||
) |
Definition at line 241 of file splines.c.
References agraphof(), agtail(), APPROXEQPT, inside_t::bp, ED_edge_type, ED_head_port, ED_tail_port, ED_to_orig, FALSE, GD_bb, splineInfo::ignoreSwap, bezier::list, MILLIPOINT, inside_t::n, ND_coord, ND_order, ND_rank, ND_shape, new_spline(), NORMAL, inside_t::s, bezier::size, TRUE, update_bb_bz(), pointf_s::x, and pointf_s::y.
Referenced by makeSpline(), and makeStraightEdges().
Definition at line 202 of file utils.c.
References ND_pos, POINTS_PER_INCH, pointf_s::x, and pointf_s::y.
Referenced by compute_bb(), QuadTree_get_supernodes_internal(), and right_of().
void do_graph_label | ( | graph_t * | sg | ) |
Definition at line 892 of file input.c.
References agfindgraphattr, agget(), aghtmlstr(), agroot(), BOTTOM_IX, DEFAULT_COLOR, DEFAULT_FONTNAME, DEFAULT_FONTSIZE, GD_border, GD_flip, GD_has_labels, GD_label, GD_label_pos, GRAPH_LABEL, LABEL_AT_BOTTOM, LABEL_AT_LEFT, LABEL_AT_RIGHT, LABEL_AT_TOP, late_double(), late_nnstring(), LEFT_IX, LT_HTML, LT_NONE, make_label(), MIN_FONTSIZE, PAD, RIGHT_IX, Agraph_s::root, str, TOP_IX, pointf_s::x, and pointf_s::y.
Referenced by graph_init().
Definition at line 224 of file input.c.
References agattr(), AGEDGE, agerr(), AGERR, AGMAX, AGNODE, AGRAPH, agseterr(), agxbfree(), agxbinit(), GVCOMMON_s::auto_outfile_names, GVCOMMON_s::cmdname, CmdName, GVC_s::common, GVCOMMON_s::config, dotneato_usage(), gvconfig(), GvExitOnUsage, Gvfilepath, gvjobs_output_filename(), gvjobs_output_langname(), gvlayout_select(), gvplugin_graph(), gvplugin_list(), HTTPServerEnVar, GVCOMMON_s::info, GVC_s::input_filenames, GVC_s::jobs, layout(), N_NEW, NO_SUPPORT, NODENAME_ESC, NULL, GVJ_s::output_langname, POINTS_PER_INCH, PSinputscale, Reduce, SMALLBUF, streq, TRUE, GVCOMMON_s::verbose, Verbose, and Y_invert.
Referenced by gvParseArgs().
void dotneato_postprocess | ( | Agraph_t * | ) |
Definition at line 693 of file postproc.c.
References gv_postprocess().
Referenced by circo_layout(), dot_layout(), osage_layout(), pack_graph(), patchwork_layout(), sfdp_layout(), and twopi_layout().
Definition at line 71 of file input.c.
References CmdName, and GvExitOnUsage.
Referenced by dotneato_args_initialize().
Definition at line 1321 of file splines.c.
References APPROXEQPT, dotneato_closest(), ED_spl, EDGE_TYPE, ET_CURVED, ET_SPLINE, MILLIPOINT, pointf_s::x, and pointf_s::y.
Ppolyline_t* ellipticWedge | ( | pointf | ctr, |
double | major, | ||
double | minor, | ||
double | angle0, | ||
double | angle1 | ||
) |
Definition at line 565 of file ellipse.c.
References pointf_s::x, and pointf_s::y.
Referenced by wedgedEllipse().
Definition at line 3660 of file emit.c.
References ag_xget, agerr(), agfstnode(), agfstout(), agget(), agnameof(), agnxtnode(), agnxtout(), AGPREV, DEFAULT_ACTIVEFILLCOLOR, DEFAULT_ACTIVEPENCOLOR, DEFAULT_COLOR, DEFAULT_DELETEDFILLCOLOR, DEFAULT_DELETEDPENCOLOR, DEFAULT_FILL, DEFAULT_SELECTEDFILLCOLOR, DEFAULT_SELECTEDPENCOLOR, DEFAULT_VISITEDFILLCOLOR, DEFAULT_VISITEDPENCOLOR, EMIT_CLABEL, emit_clusters(), emit_label(), emit_map_rect(), obj_state_s::explicit_tooltip, FALSE, FILL, FILLED, findStopColor(), G_activefillcolor, G_activepencolor, G_deletedfillcolor, G_deletedpencolor, G_gradientangle, G_penwidth, G_peripheries, G_visitedfillcolor, G_visitedpencolor, GD_bb, GD_clust, GD_gui_state, GD_label, GD_n_cluster, GRADIENT, gvrender_begin_anchor(), gvrender_box(), gvrender_end_anchor(), gvrender_set_fillcolor(), gvrender_set_gradient_vals(), gvrender_set_pencolor(), gvrender_set_penwidth(), gvrender_set_style(), obj_state_s::id, late_double(), late_int(), late_nnstring(), NULL, GVJ_s::obj, RADIAL, RGRADIENT, round_corners(), ROUNDED, setColorScheme(), STRIPED, stripedBox(), obj_state_s::target, obj_state_s::tooltip, TRUE, obj_state_s::url, pointf_s::x, and pointf_s::y.
Referenced by emit_clusters().
void emit_jobs_eof | ( | GVC_t * | gvc | ) |
void emit_label | ( | GVJ_t * | job, |
emit_state_t | emit_state, | ||
textlabel_t * | |||
) |
Definition at line 222 of file labels.c.
References textlabel_t::dimen, emit_html_label(), obj_state_s::emit_state, textlabel_t::fontcolor, textlabel_t::fontsize, gvrender_begin_label(), gvrender_end_label(), gvrender_set_pencolor(), gvrender_textspan(), textlabel_t::html, LABEL_PLAIN, obj_state_s::labeledgealigned, GVJ_s::obj, textlabel_t::pos, textlabel_t::space, textlabel_t::txt, textlabel_t::u, textlabel_t::valign, pointf_s::x, and pointf_s::y.
Referenced by emit_clusters().
Definition at line 671 of file emit.c.
References GVJ_s::flags, GVRENDER_DOES_MAPS, GVRENDER_DOES_TOOLTIPS, gvrender_ptf_A(), boxf::LL, MAP_POLYGON, MAP_RECTANGLE, N_NEW, GVJ_s::obj, rect2poly(), boxf::UR, obj_state_s::url_map_n, obj_state_s::url_map_p, and obj_state_s::url_map_shape.
Referenced by emit_clusters().
Definition at line 588 of file splines.c.
References aghead(), agraphof(), agtail(), assert, BOTTOM, pathend_t::boxes, pathend_t::boxn, port::constrained, ED_edge_type, ED_head_port, ED_tail_port, ED_to_orig, path::end, FALSE, FLATEDGE, FUDGE, GD_ranksep, HT2, int, LEFT, boxf::LL, M_PI, MAX, MIN, pathend_t::nb, ND_coord, ND_lw, ND_node_type, ND_rw, ND_shape, NORMAL, pathend_t::np, NULL, port::p, REGULAREDGE, resolvePort(), RIGHT, SELFEDGE, pathend_t::sidemask, path::start, port::theta, TOP, TRUE, boxf::UR, pointf_s::x, and pointf_s::y.
void epsf_free | ( | node_t * | n | ) |
Definition at line 121 of file psusershape.c.
References ND_shape_info.
void epsf_init | ( | node_t * | n | ) |
Definition at line 98 of file psusershape.c.
References agerr(), agget(), agnameof(), AGWARN, usershape_s::h, usershape_s::macro_id, epsf_s::macro_id, ND_height, ND_shape_info, ND_width, NEW, epsf_s::offset, PS2INCH, safefile(), str, usershape_s::w, point::x, usershape_s::x, point::y, and usershape_s::y.
Referenced by shapeOf().
shape_desc* find_user_shape | ( | const char * | ) |
Definition at line 3803 of file shapes.c.
Referenced by gvrender_usershape().
char* findAttrColor | ( | void * | obj, |
attrsym_t * | colorattr, | ||
char * | dflt | ||
) |
Definition at line 367 of file shapes.c.
References DEFAULT_FILL, late_nnstring(), and NULL.
void free_label | ( | textlabel_t * | ) |
Definition at line 209 of file labels.c.
References free_html_label(), free_textspan(), textlabel_t::html, textlabel_t::text, textlabel_t::txt, and textlabel_t::u.
Referenced by graph_cleanup(), gv_cleanup_edge(), and gv_cleanup_node().
void free_line | ( | textspan_t * | ) |
void free_textspan | ( | textspan_t * | tl, |
int | |||
) |
Definition at line 193 of file labels.c.
References textspan_t::free_layout, textspan_t::layout, and textspan_t::str.
Referenced by free_label().
void getdouble | ( | graph_t * | g, |
char * | name, | ||
double * | result | ||
) |
Definition at line 198 of file emit.c.
References AGEDGE, agget(), AGNODE, agobjkind(), AGRAPH, AGSEQ, agxbput(), agxbputc, agxbuse, GVC_s::g, GD_drawing, GVJ_s::gvc, and NULL.
Definition at line 1478 of file splines.c.
References agerr(), AGERR, aghead(), agnameof(), agtail(), ED_edge_type, ED_spl, ED_to_orig, le, NORMAL, and NULL.
Referenced by place_portlabel().
void gv_cleanup_edge | ( | Agedge_t * | e | ) |
Definition at line 1947 of file utils.c.
References agdelrec(), ED_head_label, ED_label, ED_path, ED_tail_label, ED_xlabel, free_label(), and gv_free_splines().
Referenced by circo_cleanup(), dot_cleanup(), fdp_cleanup(), neato_cleanup(), patchwork_cleanup(), sfdp_cleanup(), and twopi_cleanup().
void gv_cleanup_node | ( | Agnode_t * | n | ) |
Definition at line 1959 of file utils.c.
References agdelrec(), free_label(), ND_label, ND_pos, ND_shape, and ND_xlabel.
Referenced by circo_cleanup(), fdp_cleanup(), neato_cleanup(), osage_cleanup(), patchwork_cleanup(), sfdp_cleanup(), twopi_cleanup(), and undoClusterEdges().
void gv_free_splines | ( | edge_t * | e | ) |
Definition at line 1935 of file utils.c.
Referenced by gv_cleanup_edge().
Definition at line 603 of file postproc.c.
References GD_bb, GD_flip, GD_label, GD_label_pos, GD_rankdir, LABEL_AT_TOP, M1, M2, PAD, place_graph_label(), RANKDIR_BT, RANKDIR_LR, RANKDIR_RL, RANKDIR_TB, Show_boxes, pointf_s::x, and pointf_s::y.
Referenced by dotneato_postprocess(), fdp_layout(), and neato_layout().
void* init_xdot | ( | Agraph_t * | g | ) |
Definition at line 44 of file emit.c.
References agerr(), agget(), agnameof(), AGPREV, AGWARN, xdot_stats::cnt, elapsed_sec(), xdot_stats::n_bezier, xdot_stats::n_bezier_pts, xdot_stats::n_ellipse, xdot_stats::n_polygon, xdot_stats::n_polygon_pts, xdot_stats::n_polyline, xdot_stats::n_polyline_pts, xdot_stats::n_text, NULL, parseXDotF(), start_timer(), statXDot(), and Verbose.
Referenced by graph_init().
Definition at line 146 of file emit.c.
References obj_state_s::explicit_tooltip, GVJ_s::flags, GVRENDER_DOES_LABELS, GVRENDER_DOES_MAPS, GVRENDER_DOES_TARGETS, GVRENDER_DOES_TOOLTIPS, obj_state_s::id, obj_state_s::label, lbl, GVJ_s::obj, strdup_and_subst_obj(), obj_state_s::target, obj_state_s::tooltip, TRUE, and obj_state_s::url.
Definition at line 1840 of file shapes.c.
References ND_shape.
Referenced by attach_attrs_and_arrows().
textlabel_t* make_label | ( | void * | obj, |
char * | str, | ||
int | kind, | ||
double | fontsize, | ||
char * | fontname, | ||
char * | fontcolor | ||
) |
Definition at line 115 of file labels.c.
References AGEDGE, agerr(), aghead(), agisdirected(), agnameof(), AGNODE, agobjkind(), AGPREV, AGRAPH, agraphof(), agroot(), agtail(), assert, CHAR_LATIN1, textlabel_t::charset, textlabel_t::fontcolor, textlabel_t::fontname, textlabel_t::fontsize, GD_charset, GD_gvc, textlabel_t::html, htmlEntityUTF8(), latin1ToUTF8(), LT_HTML, LT_NONE, LT_RECD, make_html_label(), make_simple_label(), NEW, NULL, Agraph_s::root, textlabel_t::text, and TRUE.
Referenced by common_init_edge(), common_init_node(), and do_graph_label().
void make_simple_label | ( | GVC_t * | gvc, |
textlabel_t * | rv | ||
) |
Definition at line 51 of file labels.c.
References CHAR_BIG5, textlabel_t::charset, textlabel_t::dimen, N_GNEW, NULL, textlabel_t::space, str, textlabel_t::text, pointf_s::x, and pointf_s::y.
Referenced by make_html_label(), and make_label().
void makePortLabels | ( | edge_t * | e | ) |
Definition at line 1237 of file splines.c.
References agraphof(), agtail(), E_labelangle, E_labeldistance, ED_head_label, ED_tail_label, FALSE, place_portlabel(), TRUE, and updateBB().
Referenced by addEdgeLabels(), and makeSelfArcs().
void makeSelfEdge | ( | path * | P, |
edge_t * | edges[], | ||
int | ind, | ||
int | cnt, | ||
double | sizex, | ||
double | sizey, | ||
splineInfo * | sinfo | ||
) |
Definition at line 1191 of file splines.c.
References assert, BOTTOM, ED_head_port, ED_tail_port, LEFT, RIGHT, and TOP.
Referenced by makeSelfArcs().
void makeStraightEdge | ( | graph_t * | g, |
edge_t * | e, | ||
int | edgetype, | ||
splineInfo * | info | ||
) |
Definition at line 936 of file routespl.c.
References ED_to_virt, makeStraightEdges(), MAX_EDGE, and N_NEW.
void makeStraightEdges | ( | graph_t * | g, |
edge_t ** | edges, | ||
int | e_cnt, | ||
int | et, | ||
splineInfo * | sinfo | ||
) |
Definition at line 962 of file routespl.c.
References addEdgeLabels(), aghead(), agtail(), APPROXEQPT, clip_and_install(), Concentrate, ED_head_port, ED_tail_port, ET_CURVED, ET_PLINE, GD_nodesep, head, LEN, make_polyline(), MILLIPOINT, ND_coord, Ppoly_t::pn, Ppoly_t::ps, Agraph_s::root, pointf_s::x, and pointf_s::y.
Referenced by makeStraightEdge().
Definition at line 218 of file splines.c.
References ALLOC, ED_edge_type, ED_spl, ED_to_orig, bezier::eflag, bezier::ep, FALSE, bezier::list, N_NEW, NEW, NORMAL, NULL, bezier::sflag, bezier::size, bezier::sp, pointf_s::x, and pointf_s::y.
Referenced by clip_and_install().
char** parse_style | ( | char * | s | ) |
void place_graph_label | ( | Agraph_t * | ) |
Definition at line 736 of file postproc.c.
References agroot(), BOTTOM_IX, GD_bb, GD_border, GD_clust, GD_label, GD_label_pos, GD_n_cluster, place_graph_label(), TOP_IX, TRUE, pointf_s::x, and pointf_s::y.
Referenced by gv_postprocess(), and place_graph_label().
Definition at line 1425 of file splines.c.
References AGXGET, Bezier(), dist(), E_labelangle, E_labeldistance, ED_edge_type, ED_head_label, ED_tail_label, bezier::eflag, bezier::ep, getsplinepoints(), IGNORED, late_double(), bezier::list, splines::list, NULL, PORT_LABEL_ANGLE, PORT_LABEL_DISTANCE, textlabel_t::pos, RADIANS, textlabel_t::set, bezier::sflag, bezier::size, splines::size, bezier::sp, TRUE, pointf_s::x, and pointf_s::y.
Referenced by makePortLabels().
void pop_obj_state | ( | GVJ_t * | job | ) |
Definition at line 113 of file emit.c.
References assert, obj_state_s::headtarget, obj_state_s::headtooltip, obj_state_s::headurl, obj_state_s::id, obj_state_s::labeltarget, obj_state_s::labeltooltip, obj_state_s::labelurl, GVJ_s::obj, obj_state_s::parent, obj_state_s::tailtarget, obj_state_s::tailtooltip, obj_state_s::tailurl, obj_state_s::target, obj_state_s::tooltip, obj_state_s::url, obj_state_s::url_bsplinemap_n, obj_state_s::url_bsplinemap_p, and obj_state_s::url_map_p.
obj_state_t* push_obj_state | ( | GVJ_t * | job | ) |
Definition at line 84 of file emit.c.
References agerr(), AGERR, obj_state_s::fill, FILL_NONE, obj_state_s::fillcolor, obj_state_s::gradient_angle, GVJ_s::obj, parent, obj_state_s::parent, obj_state_s::pen, PEN_SOLID, obj_state_s::pencolor, obj_state_s::penwidth, PENWIDTH_NORMAL, obj_state_s::stopcolor, and zmalloc().
Definition at line 866 of file ns.c.
References agget(), rank2(), and SEARCHSIZE.
Referenced by dot_position(), rank1(), and sizeArray().
Definition at line 4196 of file shapes.c.
References port::bp, port::name, NULL, and port::side.
Referenced by beginpath(), endpath(), and resolvePorts().
void resolvePorts | ( | edge_t * | e | ) |
Definition at line 4208 of file shapes.c.
References aghead(), agtail(), ED_head_port, ED_tail_port, and resolvePort().
Referenced by splineEdges().
Definition at line 516 of file shapes.c.
References ASSEMBLY, assert, BOX3D, C, CDS, COMPONENT, CYLINDER, DIAGONALS, DOGEAR, FALSE, FIVEPOVERHANG, FOLDER, gvrender_beziercurve(), gvrender_polygon(), gvrender_polyline(), INSULATOR, LARROW, LPROMOTER, MIN, N_GNEW, N_NEW, NOVERHANG, PRIMERSITE, PROMOTER, PROTEASESITE, PROTEINSTAB, RARROW, RBCONST, RBCURVE, RESTRICTIONSITE, RIBOSITE, RNASTAB, ROUNDED, RPROMOTER, SHAPE_MASK, SIGNATURE, TAB, TERMINATOR, THREEPOVERHANG, UTR, pointf_s::x, and pointf_s::y.
Referenced by emit_clusters().
Definition at line 658 of file routespl.c.
Definition at line 653 of file routespl.c.
int routesplinesinit | ( | void | ) |
Definition at line 288 of file routespl.c.
References agerr(), AGERR, N_GNEW, NULL, PINC, Show_boxes, Show_cnt, start_timer(), and Verbose.
void routesplinesterm | ( | void | ) |
Definition at line 313 of file routespl.c.
References elapsed_sec(), NULL, and Verbose.
Definition at line 1163 of file splines.c.
References aghead(), agraphof(), BOTTOM, textlabel_t::dimen, ED_head_port, ED_label, ED_tail_port, GD_flip, LEFT, SELF_EDGE_SIZE, TOP, pointf_s::x, and pointf_s::y.
Definition at line 195 of file splines.c.
References inside_t::bp, inside_t::n, ND_coord, ND_rw, ND_shape, NULL, inside_t::s, pointf_s::x, and pointf_s::y.
shape_kind shapeOf | ( | node_t * | ) |
Definition at line 1820 of file shapes.c.
References epsf_init(), ND_shape, SH_EPSF, SH_POINT, SH_POLY, SH_RECORD, and SH_UNSET.
Referenced by common_init_node(), makeAddPoly(), makeObstacle(), and makePoly().
Definition at line 230 of file routespl.c.
References Pedge_t::a, ALLOC, Pedge_t::b, make_polyline(), NULL, Ppoly_t::pn, Proutespline(), Ppoly_t::ps, Pshortestpath(), Pxy_t::x, pointf_s::x, Pxy_t::y, and pointf_s::y.
Definition at line 625 of file emit.c.
References colorseg_t::color, DEFAULT_COLOR, FILL, gvrender_polygon(), gvrender_set_fillcolor(), gvrender_set_penwidth(), NULL, GVJ_s::obj, obj_state_s::penwidth, colorsegs_t::segs, colorseg_t::t, THIN_LINE, and pointf_s::x.
Referenced by emit_clusters().
stroke_t* taper | ( | bezier * | , |
double(*)(double, double, double) | radfunc_t, | ||
double | initwid, | ||
int | linejoin, | ||
int | linecap | ||
) |
Definition at line 271 of file taper.c.
References pathpoint::bevel, vararr_t::cnt, D2R, pathpoint::dir, pathpoint::dir2, dist(), FALSE, pathpoint::lengthsofar, lineto, pathpoint::lout, moveto, NEW, vararr_t::pts, TRUE, pathpoint::type, pathpoint::x, and pathpoint::y.
Referenced by taper0().
void textfont_dict_close | ( | GVC_t * | gvc | ) |
Definition at line 286 of file textspan.c.
Referenced by gvFreeContext().
Definition at line 279 of file textspan.c.
Referenced by gvconfig().
pointf textspan_size | ( | GVC_t * | gvc, |
textspan_t * | span | ||
) |
Definition at line 198 of file textspan.c.
References assert, emit_once(), textspan_t::font, gvtextlayout(), textfont_t::name, NULL, textfont_t::postscript_alias, textspan_t::size, and Verbose.
Referenced by xdotBB().
Definition at line 121 of file postproc.c.
References GD_bb, GD_clust, GD_label, GD_n_cluster, boxf::LL, RANKDIR_BT, RANKDIR_LR, translate_bb(), boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by translate_bb().
Definition at line 794 of file emit.c.
References Bezier(), left, boxf::LL, right, update_bb_bz(), boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by clip_and_install(), and update_bb_bz().
Definition at line 574 of file emit.c.
References colorseg_t::color, DEFAULT_COLOR, ellipticWedge(), freePath(), gvrender_beziercurve(), gvrender_set_fillcolor(), gvrender_set_penwidth(), M_PI, NULL, GVJ_s::obj, obj_state_s::penwidth, colorsegs_t::segs, colorseg_t::t, THIN_LINE, pointf_s::x, and pointf_s::y.
void write_attributed_dot | ( | graph_t * | g, |
FILE * | f | ||
) |
void write_canonical_dot | ( | graph_t * | g, |
FILE * | f | ||
) |
Definition at line 3005 of file emit.c.
References xdot_text::align, exdot_op::bb, xdot_polyline::cnt, xdot::cnt, dtinsert, _xdot_op::ellipse, textfont_t::flags, textspan_t::font, _xdot_op::font, _xdot_op::fontchar, xdot::freefunc, GD_bb, GD_drawing, GD_gvc, xdot_rect::h, textspan_t::just, _xdot_op::kind, boxf::LL, MAXDOUBLE, textfont_t::name, xdot_font::name, NEW, NULL, exdot_op::op, xdot::ops, _xdot_op::polygon, xdot_polyline::pts, textfont_t::size, xdot_font::size, exdot_op::span, textspan_t::str, xdot_text::text, _xdot_op::text, GVC_s::textfont_dt, textspan_size(), _xdot_op::u, boxf::UR, xdot_rect::w, pointf_s::x, xdot_rect::x, xdot_text::x, xd_filled_bezier, xd_filled_ellipse, xd_filled_polygon, xd_font, xd_fontchar, xd_polyline, xd_text, xd_unfilled_bezier, xd_unfilled_ellipse, xd_unfilled_polygon, pointf_s::y, xdot_rect::y, and xdot_text::y.
Referenced by init_nop().