From: erg Date: Mon, 15 Jan 2007 19:22:37 +0000 (+0000) Subject: Update info files X-Git-Tag: LAST_LIBGRAPH~32^2~5710 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e51d64298e0584fde7d9fdee3d0e04d964210d57;p=graphviz Update info files --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 7d529f4dd..1b27641cb 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -1674,15 +1674,17 @@ the given types.
viewPort
"%lf,%lf,%lf,%lf,%lf" The viewPort "W,H,Z,x,y" specifies a viewport for the final image. The pair (W,H) gives the - dimensions (width and height) of the viewport image, in pixels. - Z is the zoom factor, i.e., 1 point corresponds to Z pixels. - For example, use Z=1.34 (= 96/72) with a screen resolution of 96dpi to - convert 1 inch (72 points) in the graph to 1 inch on the screen. - The pair (x,y) give the position in the graph, in + 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. - To center on the whole graph, use (bbx/2,bby/2), where "bbx,bby" is the + By default, (x,y) 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.