diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/qcanvasspline.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qcanvasspline.html')
| -rw-r--r-- | doc/html/qcanvasspline.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/qcanvasspline.html b/doc/html/qcanvasspline.html index 4bb75b54c..2e184b0b2 100644 --- a/doc/html/qcanvasspline.html +++ b/doc/html/qcanvasspline.html @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; } <ul> <li class=fn><a href="#TQCanvasSpline"><b>TQCanvasSpline</b></a> ( TQCanvas * canvas )</li> <li class=fn><a href="#~TQCanvasSpline"><b>~TQCanvasSpline</b></a> ()</li> -<li class=fn>void <a href="#setControlPoints"><b>setControlPoints</b></a> ( TQPointArray ctrl, bool close = TRUE )</li> +<li class=fn>void <a href="#setControlPoints"><b>setControlPoints</b></a> ( TQPointArray ctrl, bool close = true )</li> <li class=fn>TQPointArray <a href="#controlPoints"><b>controlPoints</b></a> () const</li> <li class=fn>bool <a href="#closed"><b>closed</b></a> () const</li> <li class=fn>virtual int <a href="#rtti"><b>rtti</b></a> () const</li> @@ -81,8 +81,8 @@ Destroy the spline. <h3 class=fn>bool <a name="closed"></a>TQCanvasSpline::closed () const </h3> -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. <h3 class=fn><a href="ntqpointarray.html">TQPointArray</a> <a name="controlPoints"></a>TQCanvasSpline::controlPoints () const </h3> @@ -95,12 +95,12 @@ Returns 8 (TQCanvasItem::Rtti_Spline). <p> <p>See also <a href="qcanvasitem.html#rtti">TQCanvasItem::rtti</a>(). <p>Reimplemented from <a href="qcanvaspolygon.html#rtti">TQCanvasPolygon</a>. -<h3 class=fn>void <a name="setControlPoints"></a>TQCanvasSpline::setControlPoints ( <a href="ntqpointarray.html">TQPointArray</a> ctrl, bool close = TRUE ) +<h3 class=fn>void <a name="setControlPoints"></a>TQCanvasSpline::setControlPoints ( <a href="ntqpointarray.html">TQPointArray</a> ctrl, bool close = true ) </h3> Set the spline control points to <em>ctrl</em>. -<p> If <em>close</em> is TRUE, then the first point in <em>ctrl</em> will be +<p> If <em>close</em> is true, then the first point in <em>ctrl</em> will be re-used as the last point, and the number of control points must -be a multiple of 3. If <em>close</em> is FALSE, one additional control +be a multiple of 3. If <em>close</em> is false, one additional control point is required, and the number of control points must be one of (4, 7, 10, 13, ...). <p> If the number of control points doesn't meet the above conditions, |
