From: erg Date: Fri, 16 Nov 2007 22:50:03 +0000 (+0000) Subject: Update info files X-Git-Tag: LAST_LIBGRAPH~32^2~5016 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d9ed9fc302aac4a4e26847a2cd9ba7b3e761408;p=graphviz Update info files --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index ee4205c0e..1f741fff2 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -1846,20 +1846,23 @@ the given types. equivalent to style="setlinewidth(2)".
viewPort -
"%lf,%lf,%lf,%lf,%lf" The viewPort "W,H,Z,x,y" +
"%lf,%lf,%lf,%lf,%lf" or "%lf,%lf,%lf,'%s'" +

+ The viewPort W,H,Z,x,y or W,H,Z,N specifies a viewport for the final image. The pair (W,H) gives the dimensions (width and height) of the viewport image, in points, in the original graph drawing. The optional Z is the zoom factor, i.e., the resulting image will be Z*W by Z*H points in size. By default, Z is 1. - The optional pair (x,y) give the position in the graph, in - points, of the center - of the viewport. To focus on a particular node, (x,y) can be set to the - pos attribute "x,y" of the node. - By default, (x,y) is the center of the graph bounding box, i.e., + The optional last part is either a pair (x,y) giving the position in the graph, in + points, of the center of the viewport, or the name N + of a node whose center should used as the focus. + By default, the focus is the center of the graph bounding box, i.e., (bbx/2,bby/2), where "bbx,bby" is the value of the bounding box attribute bb. +

+ Sample values: 50,50,.5,'2.8 BSD' or 100,100,2,450,300