]> granicus.if.org Git - graphviz/commitdiff
Call gvdevice_... plugin entry points from emit.c, rather than from another plugin.
authorellson <devnull@localhost>
Thu, 30 Aug 2007 20:59:31 +0000 (20:59 +0000)
committerellson <devnull@localhost>
Thu, 30 Aug 2007 20:59:31 +0000 (20:59 +0000)
Rename job-surface to job->context.
Add job->imagedata.

tclpkg/tcldot/tkgen.c

index 3c23c4b8279c5371ea8fb770887d7ba693258b35..f37fa20e959458e2bf7afec6d349e45819952db5 100644 (file)
@@ -188,7 +188,7 @@ static void tk_begin_graph(GVC_t * gvc, graph_t * g, box bb, point pb)
 {
     double dpi = GD_drawing(g)->dpi;
 
-    Tkgendata = (tkgendata_t *)gvc->job->surface;
+    Tkgendata = (tkgendata_t *)gvc->job->context;
 
     if (dpi < 1.0)
        dpi = DEFAULT_DPI;