Graphviz 13.0.0~dev.20241220.2304
|
#include "config.h"
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <common/macros.h>
#include <common/const.h>
#include <gvc/gvplugin_render.h>
#include <gvc/gvplugin_device.h>
#include <gvc/gvio.h>
#include <gvc/gvcint.h>
#include <util/unreachable.h>
#include "tcl_context.h"
Go to the source code of this file.
Enumerations | |
enum | format_type { FORMAT_TK } |
Functions | |
static void | tkgen_print_color (GVJ_t *job, gvcolor_t color) |
static void | tkgen_print_tags (GVJ_t *job) |
static void | tkgen_canvas (GVJ_t *job) |
static void | tkgen_comment (GVJ_t *job, char *str) |
static void | tkgen_begin_job (GVJ_t *job) |
static void | tkgen_begin_graph (GVJ_t *job) |
static void | tkgen_begin_node (GVJ_t *job) |
static void | tkgen_begin_edge (GVJ_t *job) |
static void | tkgen_textspan (GVJ_t *job, pointf p, textspan_t *span) |
static void | tkgen_ellipse (GVJ_t *job, pointf *A, int filled) |
static void | tkgen_bezier (GVJ_t *job, pointf *A, size_t n, int filled) |
static void | tkgen_polygon (GVJ_t *job, pointf *A, size_t n, int filled) |
static void | tkgen_polyline (GVJ_t *job, pointf *A, size_t n) |
enum format_type |
Enumerator | |
---|---|
FORMAT_TK |
Definition at line 27 of file gvrender_core_tk.c.
|
static |
Definition at line 147 of file gvrender_core_tk.c.
References first_periphery.
|
static |
Definition at line 127 of file gvrender_core_tk.c.
References agnameof(), first_periphery, obj_state_s::g, gvprintf(), gvputs(), GVJ_s::obj, GVJ_s::pagesArraySize, obj_state_s::u, point::x, and point::y.
|
static |
Definition at line 119 of file gvrender_core_tk.c.
References GVJ_s::common, gvprintf(), and GVCOMMON_s::info.
|
static |
Definition at line 140 of file gvrender_core_tk.c.
References first_periphery.
Definition at line 241 of file gvrender_core_tk.c.
References A, gvprintdouble(), gvprintpointflist(), gvputs(), GVJ_s::obj, obj_state_s::pen, PEN_DASHED, PEN_DOTTED, PEN_NONE, obj_state_s::pencolor, obj_state_s::penwidth, tkgen_canvas(), tkgen_print_color(), and tkgen_print_tags().
|
static |
Definition at line 105 of file gvrender_core_tk.c.
References tcldot_context_t::canvas, GVJ_s::context, GVJ_s::external_context, and gvputs().
Referenced by tkgen_bezier(), tkgen_ellipse(), tkgen_polygon(), tkgen_polyline(), and tkgen_textspan().
|
static |
Definition at line 114 of file gvrender_core_tk.c.
References gvprintf(), and str.
Definition at line 202 of file gvrender_core_tk.c.
References A, obj_state_s::fillcolor, first_periphery, gvprintdouble(), gvprintpointflist(), gvputs(), GVJ_s::obj, obj_state_s::pen, PEN_DASHED, PEN_DOTTED, PEN_NONE, obj_state_s::pencolor, obj_state_s::penwidth, tkgen_canvas(), tkgen_print_color(), tkgen_print_tags(), pointf_s::x, and pointf_s::y.
Definition at line 264 of file gvrender_core_tk.c.
References A, obj_state_s::fillcolor, first_periphery, gvprintdouble(), gvprintpointflist(), gvputs(), GVJ_s::obj, obj_state_s::pen, PEN_DASHED, PEN_DOTTED, PEN_NONE, obj_state_s::pencolor, obj_state_s::penwidth, tkgen_canvas(), tkgen_print_color(), and tkgen_print_tags().
Definition at line 296 of file gvrender_core_tk.c.
References A, gvprintpointflist(), gvputs(), GVJ_s::obj, obj_state_s::pen, PEN_DASHED, PEN_DOTTED, PEN_NONE, obj_state_s::pencolor, tkgen_canvas(), tkgen_print_color(), and tkgen_print_tags().
Definition at line 29 of file gvrender_core_tk.c.
References color(), COLOR_STRING, gvprintf(), gvputs(), RGBA_BYTE, and UNREACHABLE.
Referenced by tkgen_bezier(), tkgen_ellipse(), tkgen_polygon(), tkgen_polyline(), and tkgen_textspan().
|
static |
Definition at line 47 of file gvrender_core_tk.c.
References AGTAG, obj_state_s::e, EMIT_CDRAW, EMIT_CLABEL, EMIT_EDRAW, EMIT_ELABEL, EMIT_GDRAW, EMIT_GLABEL, EMIT_HDRAW, EMIT_HLABEL, EMIT_NDRAW, EMIT_NLABEL, obj_state_s::emit_state, EMIT_TDRAW, EMIT_TLABEL, obj_state_s::g, gvprintf(), obj_state_s::n, GVJ_s::obj, obj_state_s::sg, obj_state_s::u, and UNREACHABLE.
Referenced by tkgen_bezier(), tkgen_ellipse(), tkgen_polygon(), tkgen_polyline(), and tkgen_textspan().
|
static |
Definition at line 154 of file gvrender_core_tk.c.
References _PostscriptAlias::family, font, textspan_t::font, gvprintf(), gvprintpointf(), gvputs(), textspan_t::just, textfont_t::name, GVJ_s::obj, obj_state_s::pen, PEN_NONE, obj_state_s::pencolor, textfont_t::postscript_alias, textfont_t::size, textspan_t::str, tkgen_canvas(), tkgen_print_color(), tkgen_print_tags(), pointf_s::y, and GVJ_s::zoom.
gvdevice_features_t device_features_tk |
Definition at line 356 of file gvrender_core_tk.c.
|
static |
Definition at line 125 of file gvrender_core_tk.c.
Referenced by tkgen_begin_edge(), tkgen_begin_graph(), tkgen_begin_node(), tkgen_ellipse(), and tkgen_polygon().
gvplugin_installed_t gvdevice_tk_types[] |
Definition at line 368 of file gvrender_core_tk.c.
gvplugin_installed_t gvrender_tk_types[] |
Definition at line 363 of file gvrender_core_tk.c.
gvrender_features_t render_features_tk |
Definition at line 347 of file gvrender_core_tk.c.
gvrender_engine_t tkgen_engine |
Definition at line 314 of file gvrender_core_tk.c.