From d43ae8a47f5f9086387a474a843c7ec71a5326dd Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Thu, 1 Aug 2013 13:27:17 -0400 Subject: [PATCH] Update documentation to record change to xdot --- ChangeLog | 4 ++++ doc/info/output.html | 19 +++++++++++++++++++ doc/infosrc/outputs | 19 +++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/ChangeLog b/ChangeLog index bf649ff40..fa050a071 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +August 1, 2013 + - New version of xdot format, annotating gradient color schemes + - Support for reading pdf images using poppler + - Lefty/dotty/lneato now accept anonymous graphs July 2, 2013 - Add star node shape - Add two-tone (non-gradient) fill diff --git a/doc/info/output.html b/doc/info/output.html index 761250d50..0e10f156d 100644 --- a/doc/info/output.html +++ b/doc/info/output.html @@ -215,6 +215,24 @@ appear in xdot output. In particular, the style values will not appear. Indeed, if style contains invis, there will not be any xdot output at all.

+With version 1.3 of xdot, color strings may now encode linear and radial gradients. Linear +gradients have the form
+    '[' x0 y0 x1 y1 n [color-stop]+ ']'
+where (x0,y0) and (x1,y1) define the starting and +ending points of the gradient line segment, and n gives the number of color-stops. Each +color-stop has the form
+    v m -b1b2...bm
+where v is a number in the range [0,1] defining a position on the gradient line segment, with +color specified by the m byte string b1b2...bm, +the same format as used for colors in the 'c' and 'C' operations. +

+Radial gradients have the form
+    '(' x0 y0 r0 x1 y1 r1 n [color-stop]+ ')'
+where xj yj rj, for j=0,1, specify +the center and radius of the start and ending circle, and n gives the number of color-stops. +A color-stop has the same format as defined for linear gradients, again given the fractional +offset and its associated color. +

In handling text alignment, the application may want to recompute the string width using its own rendering primitives.

@@ -236,6 +254,7 @@ Version info: 1.01.9 1.12.8 1.22.13 +1.32.31

cmap diff --git a/doc/infosrc/outputs b/doc/infosrc/outputs index a9a025efc..7a0f0a2a6 100644 --- a/doc/infosrc/outputs +++ b/doc/infosrc/outputs @@ -265,6 +265,24 @@ appear in xdot output. In particular, the style values will not appear. Indeed, if style contains invis, there will not be any xdot output at all.

+With version 1.3 of xdot, color strings may now encode linear and radial gradients. Linear +gradients have the form
+    '[' x0 y0 x1 y1 n [color-stop]+ ']'
+where (x0,y0) and (x1,y1) define the starting and +ending points of the gradient line segment, and n gives the number of color-stops. Each +color-stop has the form
+    v m -b1b2...bm
+where v is a number in the range [0,1] defining a position on the gradient line segment, with +color specified by the m byte string b1b2...bm, +the same format as used for colors in the 'c' and 'C' operations. +

+Radial gradients have the form
+    '(' x0 y0 r0 x1 y1 r1 n [color-stop]+ ')'
+where xj yj rj, for j=0,1, specify +the center and radius of the start and ending circle, and n gives the number of color-stops. +A color-stop has the same format as defined for linear gradients, again given the fractional +offset and its associated color. +

In handling text alignment, the application may want to recompute the string width using its own rendering primitives.

@@ -286,6 +304,7 @@ Version info: 1.01.9 1.12.8 1.22.13 +1.32.31 :plain/plain-ext:Simple text format The plain and plain-ext formats produce output using -- 2.40.0