summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2010-01-08 00:28:17 (GMT)
committerpatthoyts <patthoyts@noemail.net>2010-01-08 00:28:17 (GMT)
commit68db78e8bb255f2c28c8f88bbc6c2de25ed34228 (patch)
tree7ca382fbce8b40bda5e22cc23628093694e900a4
parent064532571c0c2419fbb9ba4ffc6869942c925198 (diff)
downloadtk-68db78e8bb255f2c28c8f88bbc6c2de25ed34228.zip
tk-68db78e8bb255f2c28c8f88bbc6c2de25ed34228.tar.gz
tk-68db78e8bb255f2c28c8f88bbc6c2de25ed34228.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. FossilOrigin-Name: ef6218746c2f9366db96c4d3bf8309333a818193
-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