]> granicus.if.org Git - graphviz/commitdiff
use "COLOR_STRING" and "-smooth bezier"
authorellson <devnull@localhost>
Fri, 25 Apr 2008 20:28:25 +0000 (20:28 +0000)
committerellson <devnull@localhost>
Fri, 25 Apr 2008 20:28:25 +0000 (20:28 +0000)
plugin/core/gvrender_core_tk.c

index b55a8474125a88d54c758182e3d216eb278b5c8a..d14e3952d2ca632be7acfb9c9652b88f2ff9110a 100644 (file)
@@ -233,7 +233,7 @@ tkgen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start,
     tkgen_print_color(job, obj->pencolor);
     gvdevice_fputs(job, " -width ");
     gvdevice_printnum(job, obj->penwidth);
-    gvdevice_fputs(job, " -smooth true");
+    gvdevice_fputs(job, " -smooth bezier");
     gvdevice_fputs(job, " -state disabled");
     tkgen_print_tags(job, NOHIGHLIGHT);
     gvdevice_fputs(job, "\n");
@@ -308,7 +308,7 @@ gvrender_features_t render_features_tk = {
     4.,                         /* default pad - graph units */
     NULL,                      /* knowncolors */
     0,                         /* sizeof knowncolors */
-    RGBA_BYTE,                 /* color_type */
+    COLOR_STRING,              /* color_type */
 };
 
 gvdevice_features_t device_features_tk = {