summaryrefslogtreecommitdiffstats
path: root/doc/html/tqcanvas.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqcanvas.html')
-rw-r--r--doc/html/tqcanvas.html30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/tqcanvas.html b/doc/html/tqcanvas.html
index aa7e6f0b3..f43d0774d 100644
--- a/doc/html/tqcanvas.html
+++ b/doc/html/tqcanvas.html
@@ -70,7 +70,7 @@ body { background: #ffffff; color: black; }
<li class=fn>TQCanvasItemList <a href="#collisions"><b>collisions</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;p ) const</li>
<li class=fn>TQCanvasItemList <a href="#collisions-2"><b>collisions</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r ) const</li>
<li class=fn>TQCanvasItemList <a href="#collisions-3"><b>collisions</b></a> ( const&nbsp;TQPointArray&nbsp;&amp;&nbsp;chunklist, const&nbsp;TQCanvasItem&nbsp;*&nbsp;item, bool&nbsp;exact ) const</li>
-<li class=fn>void <a href="#drawArea"><b>drawArea</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;clip, TQPainter&nbsp;*&nbsp;painter, bool&nbsp;dbuf = FALSE )</li>
+<li class=fn>void <a href="#drawArea"><b>drawArea</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;clip, TQPainter&nbsp;*&nbsp;painter, bool&nbsp;dbuf = false )</li>
<li class=fn>virtual void <a href="#setAdvancePeriod"><b>setAdvancePeriod</b></a> ( int&nbsp;ms )</li>
<li class=fn>virtual void <a href="#setUpdatePeriod"><b>setUpdatePeriod</b></a> ( int&nbsp;ms )</li>
<li class=fn>virtual void <a href="#setDoubleBuffering"><b>setDoubleBuffering</b></a> ( bool&nbsp;y )</li>
@@ -114,7 +114,7 @@ set of canvas item classes, e.g. <a href="tqcanvasellipse.html">TQCanvasEllipse<
<a href="tqcanvassprite.html">TQCanvasSprite</a> and <a href="tqcanvastext.html">TQCanvasText</a>. You can subclass to create your own
canvas items; TQCanvasPolygonalItem is the most common base class used
for this purpose.
-<p> Items appear on the canvas after their <a href="tqcanvasitem.html#show">show()</a> function has been called (or <a href="tqcanvasitem.html#setVisible">setVisible(TRUE)</a>), and <em>after</em>
+<p> Items appear on the canvas after their <a href="tqcanvasitem.html#show">show()</a> function has been called (or <a href="tqcanvasitem.html#setVisible">setVisible(true)</a>), and <em>after</em>
<a href="#update">update</a>() has been called. The canvas only shows items that are
<a href="tqcanvasitem.html#setVisible">visible</a>, and then only if
<a href="#update">update</a>() is called. (By default the canvas is white and so are
@@ -167,7 +167,7 @@ canvas (x, y coordinates) and a height (z coordinate), all of which are
held as floating-point numbers. Moving canvas items also have x and y
velocities. It's possible for a canvas item to be outside the canvas
(for example <a href="tqcanvasitem.html#x">TQCanvasItem::x</a>() is greater than width()). When a canvas
-item is off the canvas, <a href="#onCanvas">onCanvas</a>() returns FALSE and the canvas
+item is off the canvas, <a href="#onCanvas">onCanvas</a>() returns false and the canvas
disregards the item. (Canvas items off the canvas do not slow down any
of the common operations on the canvas.)
<p> Canvas items can be moved with <a href="tqcanvasitem.html#move">TQCanvasItem::move</a>(). The <a href="#advance">advance</a>()
@@ -318,15 +318,15 @@ list is ordered by z coordinates, from highest z coordinate
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns a list of canvas items which intersect with the chunks
-listed in <em>chunklist</em>, excluding <em>item</em>. If <em>exact</em> is TRUE,
+listed in <em>chunklist</em>, excluding <em>item</em>. If <em>exact</em> is true,
only those which actually <a href="tqcanvasitem.html#collidesWith">collide with</a> <em>item</em> are returned; otherwise canvas items
are included just for being in the chunks.
<p> This is a utility function mainly used to implement the simpler
<a href="tqcanvasitem.html#collisions">TQCanvasItem::collisions</a>() function.
-<h3 class=fn>void <a name="drawArea"></a>TQCanvas::drawArea ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;clip, <a href="tqpainter.html">TQPainter</a>&nbsp;*&nbsp;painter, bool&nbsp;dbuf = FALSE )
+<h3 class=fn>void <a name="drawArea"></a>TQCanvas::drawArea ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;clip, <a href="tqpainter.html">TQPainter</a>&nbsp;*&nbsp;painter, bool&nbsp;dbuf = false )
</h3>
-Paints all canvas items that are in the area <em>clip</em> to <em>painter</em>, using double-buffering if <em>dbuf</em> is TRUE.
+Paints all canvas items that are in the area <em>clip</em> to <em>painter</em>, using double-buffering if <em>dbuf</em> is true.
<p> e.g. to print the canvas to a printer:
<pre>
<a href="tqprinter.html">TQPrinter</a> pr;
@@ -369,16 +369,16 @@ the area <em>clip</em>.
<h3 class=fn>bool <a name="onCanvas"></a>TQCanvas::onCanvas ( int&nbsp;x, int&nbsp;y ) const
</h3>
-<p> Returns TRUE if the pixel position (<em>x</em>, <em>y</em>) is on the canvas;
-otherwise returns FALSE.
+<p> Returns true if the pixel position (<em>x</em>, <em>y</em>) is on the canvas;
+otherwise returns false.
<p> <p>See also <a href="#validChunk">validChunk</a>().
<h3 class=fn>bool <a name="onCanvas-2"></a>TQCanvas::onCanvas ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if the pixel position <em>p</em> is on the canvas;
-otherwise returns FALSE.
+<p> Returns true if the pixel position <em>p</em> is on the canvas;
+otherwise returns false.
<p> <p>See also <a href="#validChunk">validChunk</a>().
<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="rect"></a>TQCanvas::rect () const
@@ -459,7 +459,7 @@ views that are showing it when <a href="#update">update</a>() is called next.
<h3 class=fn>void <a name="setDoubleBuffering"></a>TQCanvas::setDoubleBuffering ( bool&nbsp;y )<tt> [virtual]</tt>
</h3>
-If <em>y</em> is TRUE (the default) double-buffering is switched on;
+If <em>y</em> is true (the default) double-buffering is switched on;
otherwise double-buffering is switched off.
<p> Turning off double-buffering causes the redrawn areas to flicker a
little and also gives a (usually small) performance improvement.
@@ -556,16 +556,16 @@ Repaints changed areas in all views of the canvas.
<h3 class=fn>bool <a name="validChunk"></a>TQCanvas::validChunk ( int&nbsp;x, int&nbsp;y ) const
</h3>
-<p> Returns TRUE if the chunk position (<em>x</em>, <em>y</em>) is on the canvas;
-otherwise returns FALSE.
+<p> Returns true if the chunk position (<em>x</em>, <em>y</em>) is on the canvas;
+otherwise returns false.
<p> <p>See also <a href="#onCanvas">onCanvas</a>().
<h3 class=fn>bool <a name="validChunk-2"></a>TQCanvas::validChunk ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if the chunk position <em>p</em> is on the canvas; otherwise
-returns FALSE.
+<p> Returns true if the chunk position <em>p</em> is on the canvas; otherwise
+returns false.
<p> <p>See also <a href="#onCanvas">onCanvas</a>().
<h3 class=fn>int <a name="width"></a>TQCanvas::width () const