summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcanvasspline.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-26 11:44:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-30 14:26:34 +0900
commit6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch)
tree0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqcanvasspline.3qt
parentff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff)
downloadtqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz
tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqcanvasspline.3qt')
-rw-r--r--doc/man/man3/tqcanvasspline.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqcanvasspline.3qt b/doc/man/man3/tqcanvasspline.3qt
index 700d376ed..db9cbc396 100644
--- a/doc/man/man3/tqcanvasspline.3qt
+++ b/doc/man/man3/tqcanvasspline.3qt
@@ -22,7 +22,7 @@ Inherits TQCanvasPolygon.
.BI "\fB~TQCanvasSpline\fR ()"
.br
.ti -1c
-.BI "void \fBsetControlPoints\fR ( TQPointArray ctrl, bool close = TRUE )"
+.BI "void \fBsetControlPoints\fR ( TQPointArray ctrl, bool close = true )"
.br
.ti -1c
.BI "TQPointArray \fBcontrolPoints\fR () const"
@@ -56,7 +56,7 @@ See also setControlPoints().
.SH "TQCanvasSpline::~TQCanvasSpline ()"
Destroy the spline.
.SH "bool TQCanvasSpline::closed () const"
-Returns TRUE if the control points are a closed set; otherwise returns FALSE.
+Returns true if the control points are a closed set; otherwise returns false.
.SH "TQPointArray TQCanvasSpline::controlPoints () const"
Returns the current set of control points.
.PP
@@ -67,10 +67,10 @@ Returns 8 (TQCanvasItem::Rtti_Spline).
See also TQCanvasItem::rtti().
.PP
Reimplemented from TQCanvasPolygon.
-.SH "void TQCanvasSpline::setControlPoints ( TQPointArray ctrl, bool close = TRUE )"
+.SH "void TQCanvasSpline::setControlPoints ( TQPointArray ctrl, bool close = true )"
Set the spline control points to \fIctrl\fR.
.PP
-If \fIclose\fR is TRUE, then the first point in \fIctrl\fR will be re-used as the last point, and the number of control points must be a multiple of 3. If \fIclose\fR is FALSE, one additional control point is required, and the number of control points must be one of (4, 7, 10, 13, ...).
+If \fIclose\fR is true, then the first point in \fIctrl\fR will be re-used as the last point, and the number of control points must be a multiple of 3. If \fIclose\fR is false, one additional control point is required, and the number of control points must be one of (4, 7, 10, 13, ...).
.PP
If the number of control points doesn't meet the above conditions, the number of points will be truncated to the largest number of points that do meet the requirement.
.PP