diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqcanvasspline.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqcanvasspline.3qt')
| -rw-r--r-- | doc/man/man3/tqcanvasspline.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqcanvasspline.3qt b/doc/man/man3/tqcanvasspline.3qt index 1f00c4b31..02a24ec85 100644 --- a/doc/man/man3/tqcanvasspline.3qt +++ b/doc/man/man3/tqcanvasspline.3qt @@ -22,7 +22,7 @@ Inherits QCanvasPolygon. .BI "\fB~QCanvasSpline\fR ()" .br .ti -1c -.BI "void \fBsetControlPoints\fR ( QPointArray ctrl, bool close = TRUE )" +.BI "void \fBsetControlPoints\fR ( QPointArray ctrl, bool close = true )" .br .ti -1c .BI "QPointArray \fBcontrolPoints\fR () const" @@ -56,7 +56,7 @@ See also setControlPoints(). .SH "QCanvasSpline::~QCanvasSpline ()" Destroy the spline. .SH "bool QCanvasSpline::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 "QPointArray QCanvasSpline::controlPoints () const" Returns the current set of control points. .PP @@ -67,10 +67,10 @@ Returns 8 (QCanvasItem::Rtti_Spline). See also QCanvasItem::rtti(). .PP Reimplemented from QCanvasPolygon. -.SH "void QCanvasSpline::setControlPoints ( QPointArray ctrl, bool close = TRUE )" +.SH "void QCanvasSpline::setControlPoints ( QPointArray 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 |
