summaryrefslogtreecommitdiffstats
path: root/doc/GetCapStyl.3
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-11-01 16:37:09 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-11-01 16:37:09 (GMT)
commit0241933d2fcf1a09145b33048c52e40988a8bfa9 (patch)
treecee00028b46ebd747b575cdf9398299f2c8393c8 /doc/GetCapStyl.3
parent08a5977be6d47dbe4b3fa1bac892353f66dd2990 (diff)
downloadtk-0241933d2fcf1a09145b33048c52e40988a8bfa9.zip
tk-0241933d2fcf1a09145b33048c52e40988a8bfa9.tar.gz
tk-0241933d2fcf1a09145b33048c52e40988a8bfa9.tar.bz2
merge updates from HEAD
Diffstat (limited to 'doc/GetCapStyl.3')
-rw-r--r--doc/GetCapStyl.316
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/GetCapStyl.3 b/doc/GetCapStyl.3
index e0e04a2..47bffda 100644
--- a/doc/GetCapStyl.3
+++ b/doc/GetCapStyl.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: GetCapStyl.3,v 1.4 2007/01/05 00:00:49 nijtmans Exp $
+'\" RCS: @(#) $Id: GetCapStyl.3,v 1.4.2.1 2007/11/01 16:37:12 dgp Exp $
'\"
.so man.macros
.TH Tk_GetCapStyle 3 "" Tk "Tk Library Procedures"
@@ -26,8 +26,11 @@ const char *
.AP Tcl_Interp *interp in
Interpreter to use for error reporting.
.AP "const char" *string in
-String containing name of cap style: one of ```butt'', ``projecting'',
-or ``round''.
+String containing name of cap style: one of
+.QW butt ,
+.QW projecting ,
+or
+.QW round .
.AP int *capPtr out
Pointer to location in which to store X cap style corresponding to
\fIstring\fR.
@@ -48,7 +51,7 @@ implies.
.PP
Under normal circumstances the return value is \fBTCL_OK\fR and
\fIinterp\fR is unused.
-If \fIstring\fR doesn't contain a valid cap style
+If \fIstring\fR does not contain a valid cap style
or an abbreviation of one of these names, then an error message is
stored in \fIinterp->result\fR, \fBTCL_ERROR\fR is returned, and
\fI*capPtr\fR is unmodified.
@@ -56,8 +59,9 @@ stored in \fIinterp->result\fR, \fBTCL_ERROR\fR is returned, and
\fBTk_NameOfCapStyle\fR is the logical inverse of \fBTk_GetCapStyle\fR.
Given a cap style such as \fBCapButt\fR it returns a
statically-allocated string corresponding to \fIcap\fR.
-If \fIcap\fR isn't a legal cap style, then
-``unknown cap style'' is returned.
+If \fIcap\fR is not a legal cap style, then
+.QW "unknown cap style"
+is returned.
.SH KEYWORDS
butt, cap style, projecting, round