From dd53a4caa98efb4081ee4267f0f82fdd41298101 Mon Sep 17 00:00:00 2001 From: erg Date: Fri, 2 Nov 2007 22:46:14 +0000 Subject: [PATCH] Update info files --- doc/info/attrs.html | 11 +++++++---- doc/info/shapes.html | 28 +++++++++++++++++++++------- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/doc/info/attrs.html b/doc/info/attrs.html index a69a8ca5c..98e56095c 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -807,8 +807,9 @@ This field indicates which graph component uses the attribute. (cf. dpi), and the node size is made large enough to contain its image, its label, its margin, and its peripheries. - Its width and height will also be at least as large as it - minimum width and height. If, however, fixedsize=true, + Its width and height will also be at least as large as its + minimum width and height. + If, however, fixedsize=true, the width and height attributes specify the exact size of the node.

During rendering, in the default case (imagescale=false), @@ -824,8 +825,10 @@ This field indicates which graph component uses the attribute. both the height and the width are scaled separately to fill the node.

In all cases, if a dimension of the image is larger than the - corresponding dimension of the image, that dimension of the - image is scaled down to fit the node. + corresponding dimension of the node, that dimension of the + image is scaled down to fit the node. As with the case of + expansion, if imagescale=true, width and height are + scaled uniformly.

label
Text label attached to objects. diff --git a/doc/info/shapes.html b/doc/info/shapes.html index f29d19fd2..b546defb2 100644 --- a/doc/info/shapes.html +++ b/doc/info/shapes.html @@ -435,13 +435,6 @@ Attribute values must appear in double quotes. >

-

<TR
-
->
-
-

<TD
   ALIGN="CENTER|LEFT|RIGHT|TEXT"
   BALIGN="CENTER|LEFT|RIGHT"
@@ -479,6 +472,7 @@ Attribute values must appear in double quotes.
 
 

<IMG
+  SCALE="FALSE|TRUE|WIDTH|HEIGHT|BOTH"
   SRC="value"
 >
 
@@ -634,6 +628,26 @@ specifies the number of rows spanned by the cell. The default is 1. The maximum value is 65535. +SCALE +
+specifies how an image will use any extra space available in its cell. +Allowed values are +
    +
  • FALSE : keep image its natural size. (Default)
  • +
  • TRUE : scale image uniformly to fit.
  • +
  • WIDTH : expand image width to fill
  • +
  • HEIGHT : expand image height to fill
  • +
  • BOTH : expand both image width height to fill
  • +
+If this attribute is undefined, +the image inherits the imagescale +attribute of the graph object being drawn. +As with the imagescale +attribute, if the cell has a fixed size and the image is too large, +any offending dimension will be shrunk to fit the space, the +scaling being uniform in width and height if SCALE="true". +
+ SRC="value"
specifies the image file to be displayed in the cell. -- 2.40.0