summaryrefslogtreecommitdiffstats
path: root/doc/photo.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/photo.n')
-rw-r--r--doc/photo.n28
1 files changed, 7 insertions, 21 deletions
diff --git a/doc/photo.n b/doc/photo.n
index 54fc053..7acf3fa 100644
--- a/doc/photo.n
+++ b/doc/photo.n
@@ -9,7 +9,7 @@
'\" Department of Computer Science,
'\" Australian National University.
'\"
-'\" RCS: @(#) $Id: photo.n,v 1.13 2002/12/17 15:28:19 dkf Exp $
+'\" RCS: @(#) $Id: photo.n,v 1.14 2003/01/19 07:50:58 hobbs Exp $
'\"
.so man.macros
.TH photo n 4.0 Tk "Tk Built-In Commands"
@@ -256,26 +256,12 @@ Specifically, only image file format handlers whose names begin with
\fIformat-name\fR will be used while searching for an image data
format handler to read the data.
.TP
-\fB\-from \fIx1 y1 x2 y2\fR
-Specifies a rectangular sub-region of the image file data to be
-returned. If only \fIx1\fR and \fIy1\fR are specified, the region
-extends from (\fIx1,y1\fR) to the bottom-right corner of the image
-in the image file. If all four coordinates are specified, they
-specify diagonally opposite corners or the region. The default,
-if this option is not specified, is the whole of the image.
-.TP
-\fB\-shrink\fR
-If this option, the size of \fIimageName\fR will be reduced, if
-necessary, so that the region into which the image file data are read
-is at the bottom-right corner of the \fIimageName\fR. This option
-will not affect the width or height of the image if the user has
-specified a non-zero value for the \fB\-width\fR or \fB\-height\fR
-configuration option, respectively.
-.TP
-\fB\-to \fIx y\fR
-Specifies the coordinates of the top-left corner of the region of
-\fIimageName\fR into which data from \fIfilename\fR are to be read.
-The default is (0,0).
+\fB\-to \fIx1 y1\fR ?\fIx2 y2\fR?
+Specifies the coordinates of the top-left corner (\fIx1\fR,\fIy1\fR) of the
+region of \fIimageName\fR into which data from \fIfilename\fR are to be
+read. The default is (0,0). If \fIx2\fR,\fIy2\fR is given and \fIdata\fR
+is one color value, then a region extending to the bottom-right corner
+represented by (\fIx2\fR,\fIy2\fR) will be filled with that color.
.RE
.TP
\fIimageName \fBread\fR \fIfilename\fR ?\fIoption value(s) ...\fR?