diff options
Diffstat (limited to 'doc/html/tqcanvas.html')
-rw-r--r-- | doc/html/tqcanvas.html | 30 |
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 TQPoint & p ) const</li> <li class=fn>TQCanvasItemList <a href="#collisions-2"><b>collisions</b></a> ( const TQRect & r ) const</li> <li class=fn>TQCanvasItemList <a href="#collisions-3"><b>collisions</b></a> ( const TQPointArray & chunklist, const TQCanvasItem * item, bool exact ) const</li> -<li class=fn>void <a href="#drawArea"><b>drawArea</b></a> ( const TQRect & clip, TQPainter * painter, bool dbuf = FALSE )</li> +<li class=fn>void <a href="#drawArea"><b>drawArea</b></a> ( const TQRect & clip, TQPainter * painter, bool dbuf = false )</li> <li class=fn>virtual void <a href="#setAdvancePeriod"><b>setAdvancePeriod</b></a> ( int ms )</li> <li class=fn>virtual void <a href="#setUpdatePeriod"><b>setUpdatePeriod</b></a> ( int ms )</li> <li class=fn>virtual void <a href="#setDoubleBuffering"><b>setDoubleBuffering</b></a> ( bool 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 <a href="tqrect.html">TQRect</a> & clip, <a href="tqpainter.html">TQPainter</a> * painter, bool dbuf = FALSE ) +<h3 class=fn>void <a name="drawArea"></a>TQCanvas::drawArea ( const <a href="tqrect.html">TQRect</a> & clip, <a href="tqpainter.html">TQPainter</a> * painter, bool 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 x, int 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 <a href="tqpoint.html">TQPoint</a> & 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 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 x, int 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 <a href="tqpoint.html">TQPoint</a> & 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 |