36 if (
color.u.rgba[3] == 0)
86 ObjType =
"graph label";
102 gvprintf(job,
" -tags {%d%s%p}", ObjFlag, ObjType, ObjId);
163 const double size = trunc(span->
font->
size * job->
zoom);
167 gvputs(job,
" create text ");
185 switch (span->
just) {
187 gvputs(job,
" -anchor w");
190 gvputs(job,
" -anchor e");
209 r.
x =
A[1].x -
A[0].x;
210 r.
y =
A[1].y -
A[0].y;
214 gvputs(job,
" create oval ");
230 gvputs(job,
" -outline ");
248 gvputs(job,
" create line ");
258 gvputs(job,
" -smooth bezier ");
269 gvputs(job,
" create polygon ");
285 gvputs(job,
" -outline ");
301 gvputs(job,
" create line ");
char * agnameof(void *)
returns a string descriptor for the object.
#define GVRENDER_NO_WHITE_BG
#define GVRENDER_Y_GOES_DOWN
static void color(Agraph_t *g)
int gvputs(GVJ_t *job, const char *s)
void gvprintpointflist(GVJ_t *job, pointf *p, size_t n)
void gvprintpointf(GVJ_t *job, pointf p)
void gvprintf(GVJ_t *job, const char *format,...)
void gvprintdouble(GVJ_t *job, double num)
static void tkgen_textspan(GVJ_t *job, pointf p, textspan_t *span)
static void tkgen_begin_graph(GVJ_t *job)
gvplugin_installed_t gvdevice_tk_types[]
static void tkgen_comment(GVJ_t *job, char *str)
gvplugin_installed_t gvrender_tk_types[]
static void tkgen_begin_edge(GVJ_t *job)
gvrender_engine_t tkgen_engine
gvdevice_features_t device_features_tk
static void tkgen_print_color(GVJ_t *job, gvcolor_t color)
gvrender_features_t render_features_tk
static void tkgen_print_tags(GVJ_t *job)
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_polyline(GVJ_t *job, pointf *A, size_t n)
static void tkgen_polygon(GVJ_t *job, pointf *A, size_t n, int filled)
static int first_periphery
static void tkgen_canvas(GVJ_t *job)
static void tkgen_begin_job(GVJ_t *job)
static void tkgen_begin_node(GVJ_t *job)
textitem scanner parser str
context used to convey information between commands and a renderer
const char * canvas
TCL canvas to render to.
PostscriptAlias * postscript_alias
data that is shared between the TK renderer and TCL bindings