38 if (
color.u.rgba[3] == 0)
88 ObjType =
"graph label";
104 gvprintf(job,
" -tags {%d%s0x%" PRIx64
"}", ObjFlag, ObjType, ObjId);
165 const double size = trunc(span->
font->
size * job->
zoom);
169 gvputs(job,
" create text ");
187 switch (span->
just) {
189 gvputs(job,
" -anchor w");
192 gvputs(job,
" -anchor e");
211 r.
x =
A[1].x -
A[0].x;
212 r.
y =
A[1].y -
A[0].y;
216 gvputs(job,
" create oval ");
232 gvputs(job,
" -outline ");
250 gvputs(job,
" create line ");
260 gvputs(job,
" -smooth bezier ");
271 gvputs(job,
" create polygon ");
287 gvputs(job,
" -outline ");
303 gvputs(job,
" create line ");
char * agnameof(void *)
returns a string descriptor for the object.
#define AGID(obj)
returns the unique integer ID associated with 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)
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