summaryrefslogtreecommitdiffstats
path: root/doc/TextLayout.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 10:09:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 10:09:58 (GMT)
commitc253a25bf983c9a6f1ac39689d16b886fbbde7bf (patch)
tree04d4d861caa4e4dc9dbe83d3ea6b1cc5b5c54aea /doc/TextLayout.3
parente2d41cd9d979b5877eba4870b5e20df072050acc (diff)
downloadtk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.zip
tk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.tar.gz
tk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.tar.bz2
Fix Tk_CharBbox/Tk_DrawTextLayout signature (int -> Tcl_Size). Update documentation.
Diffstat (limited to 'doc/TextLayout.3')
-rw-r--r--doc/TextLayout.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/TextLayout.3 b/doc/TextLayout.3
index 7df0685..335ab39 100644
--- a/doc/TextLayout.3
+++ b/doc/TextLayout.3
@@ -100,10 +100,10 @@ Point, in pixels, at which to place the upper-left hand corner of the
text layout when it is being drawn, or the coordinates of a point (with
respect to the upper-left hand corner of the text layout) to check
against the text layout.
-.AP int firstChar in
+.AP Tcl_Size firstChar in
The index of the first character to draw from the given text layout.
The number 0 means to draw from the beginning.
-.AP int lastChar in
+.AP Tcl_Size lastChar in
The index of the last character up to which to draw. The character
specified by \fIlastChar\fR itself will not be drawn. A number less
than 0 means to draw all characters in the text layout.
@@ -111,7 +111,7 @@ than 0 means to draw all characters in the text layout.
Index of the single character to underline in the text layout, or a
negative number counting backwards from the end of the string. Any
out-of-range number (e.g. INT_MIN) means no underline.
-.AP int index in
+.AP Tcl_Size index in
The index of the character whose bounding box is desired. The bounding
box is computed with respect to the upper-left hand corner of the text layout.
.AP int "*xPtr, *yPtr" out