summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-08 00:28:17 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-08 00:28:17 (GMT)
commitccaed146a6262119e850912a4010a200dfe0a0ea (patch)
tree7ca382fbce8b40bda5e22cc23628093694e900a4
parente32170009614d7f09c5f913b2767bd6cf0e15f7e (diff)
downloadtk-ccaed146a6262119e850912a4010a200dfe0a0ea.zip
tk-ccaed146a6262119e850912a4010a200dfe0a0ea.tar.gz
tk-ccaed146a6262119e850912a4010a200dfe0a0ea.tar.bz2
[Bug 2927569] Corrected image put documentation for -to option.
Multiple edits have peverted the original meaning of the phrase 'image file data' to reference a filename option that does not exist.
-rw-r--r--ChangeLog6
-rw-r--r--doc/photo.n6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d64f0a8..b6f8e97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-08 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * doc/photo.n: [Bug 2927569] Multiple edits have peverted the
+ original meaning of the phrase 'image file data' to reference
+ a filename option that does not exist.
+
2010-01-07 Donal K. Fellows <dkf@users.sf.net>
* generic/tkTextDisp.c (AsyncUpdateLineMetrics): [Bug 2677890]: Fix
diff --git a/doc/photo.n b/doc/photo.n
index 67dbbdb..6288b64 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.25 2008/12/28 13:08:38 dkf Exp $
+'\" RCS: @(#) $Id: photo.n,v 1.26 2010/01/08 00:28:17 patthoyts Exp $
'\"
.so man.macros
.TH photo n 4.0 Tk "Tk Built-In Commands"
@@ -261,8 +261,8 @@ format handler to read the data.
.TP
\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
+of the region of \fIimageName\fR into which the image data will be
+copied. The default position is (0,0). If \fIx2\fR,\fIy2\fR is given
and \fIdata\fR is not large enough to cover the rectangle specified by
this option, the image data extracted will be tiled so it covers the
entire destination rectangle. Note that if \fIdata\fR specifies a