]> granicus.if.org Git - graphviz/commitdiff
Add a helpful comment.
authornorth <devnull@localhost>
Fri, 8 Dec 2006 18:17:01 +0000 (18:17 +0000)
committernorth <devnull@localhost>
Fri, 8 Dec 2006 18:17:01 +0000 (18:17 +0000)
plugin/core/gvrender_core_svg.c

index c57dfddf98d26c4d5b718f459fb1f7895aa9c896..d4cda699178aba147987e8e527f88cdbc14569ee 100644 (file)
 *              AT&T Research, Florham Park NJ             *
 **********************************************************/
 
+/* Comments on the SVG coordinate system (SN 8 Dec 2006):
+   The initial <svg> element defines the SVG coordinate system so
+   that the graphviz canvas (in units of points) fits the intended
+   absolute size in inches.  After this, the situation should be
+   that "px" = "pt" in SVG, so we can dispense with stating units.
+   Also, the input units (such as fontsize) should be preserved
+   without scaling in the output SVG (as long as the graph size
+   was not constrained.)
+ */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif