]> granicus.if.org Git - graphviz/commitdiff
remove debug fprintf
authorellson <devnull@localhost>
Thu, 30 Dec 2004 04:10:32 +0000 (04:10 +0000)
committerellson <devnull@localhost>
Thu, 30 Dec 2004 04:10:32 +0000 (04:10 +0000)
lib/gvc/gvemit.c

index a73dec992d2688667e1db5462f1367ce78d268f0..c72dd370ee173e6877864c8b2444fd30c2d9f0f4 100644 (file)
@@ -373,6 +373,8 @@ static void win_reconfigure_normal(win_t * win, unsigned int width,
 
     if (width > win->gvc->width || height > win->gvc->height)
        has_grown = 1;
+/* Adjust focus to keep image fixed during window resizing */
+/* FIXME - causes FP error on size reduction */
 //    win->gvc->focus.x +=  ((double)(width - win->gvc->width))
 //             / (2. * win->gvc->zoom);
 //    win->gvc->focus.y += -((double)(height - win->gvc->height))
@@ -570,5 +572,4 @@ void gvemit_graph(GVC_t * gvc, graph_t * g, int flags)
    else {
        emit_graph(gvc, g, flags);
    }
-fprintf(stderr,"gvemit_graph\n");
 }