diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/tqcanvas.html | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip |
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqcanvas.html')
-rw-r--r-- | doc/html/tqcanvas.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tqcanvas.html b/doc/html/tqcanvas.html index a076153bc..b9f9f7043 100644 --- a/doc/html/tqcanvas.html +++ b/doc/html/tqcanvas.html @@ -214,7 +214,7 @@ items. <a href="#setUnchanged">setUnchanged</a>(). The entire canvas can be set as changed with <a href="#setAllChanged">setAllChanged</a>(). A list of all the items on the canvas is returned by <a href="#allItems">allItems</a>(). -<p> An area can be copied (painted) to a <a href="ntqpainter.html">TQPainter</a> with <a href="#drawArea">drawArea</a>(). +<p> An area can be copied (painted) to a <a href="tqpainter.html">TQPainter</a> with <a href="#drawArea">drawArea</a>(). <p> If the canvas is resized it emits the <a href="#resized">resized</a>() signal. <p> The examples/canvas application and the 2D graphics page of the examples/demo application demonstrate many of TQCanvas's facilities. @@ -280,7 +280,7 @@ with <a href="#setAdvancePeriod">setAdvancePeriod</a>(). </h3> Returns a list of all the items in the canvas. -<h3 class=fn><a href="ntqcolor.html">TQColor</a> <a name="backgroundColor"></a>TQCanvas::backgroundColor () const +<h3 class=fn><a href="tqcolor.html">TQColor</a> <a name="backgroundColor"></a>TQCanvas::backgroundColor () const </h3> Returns the color set by <a href="#setBackgroundColor">setBackgroundColor</a>(). By default, this is white. @@ -325,21 +325,21 @@ 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="ntqrect.html">TQRect</a> & clip, <a href="ntqpainter.html">TQPainter</a> * painter, bool dbuf = FALSE ) +<h3 class=fn>void <a name="drawArea"></a>TQCanvas::drawArea ( const <a href="ntqrect.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. <p> e.g. to print the canvas to a printer: <pre> <a href="ntqprinter.html">TQPrinter</a> pr; if ( pr.<a href="ntqprinter.html#setup">setup</a>() ) { - <a href="ntqpainter.html">TQPainter</a> p(&pr); + <a href="tqpainter.html">TQPainter</a> p(&pr); canvas.drawArea( canvas.rect(), &p ); } </pre> <p>Example: <a href="canvas-example.html#x2908">canvas/canvas.cpp</a>. -<h3 class=fn>void <a name="drawBackground"></a>TQCanvas::drawBackground ( <a href="ntqpainter.html">TQPainter</a> & painter, const <a href="ntqrect.html">TQRect</a> & clip )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="drawBackground"></a>TQCanvas::drawBackground ( <a href="tqpainter.html">TQPainter</a> & painter, const <a href="ntqrect.html">TQRect</a> & clip )<tt> [virtual protected]</tt> </h3> This virtual function is called for all updates of the canvas. It renders any background graphics using the painter <em>painter</em>, in @@ -351,7 +351,7 @@ using the background color. <a href="#update">update</a>() is next called. <p> <p>See also <a href="#setBackgroundColor">setBackgroundColor</a>(), <a href="#setBackgroundPixmap">setBackgroundPixmap</a>(), and <a href="#setTiles">setTiles</a>(). -<h3 class=fn>void <a name="drawForeground"></a>TQCanvas::drawForeground ( <a href="ntqpainter.html">TQPainter</a> & painter, const <a href="ntqrect.html">TQRect</a> & clip )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="drawForeground"></a>TQCanvas::drawForeground ( <a href="tqpainter.html">TQPainter</a> & painter, const <a href="ntqrect.html">TQRect</a> & clip )<tt> [virtual protected]</tt> </h3> This virtual function is called for all updates of the canvas. It renders any foreground graphics using the painter <em>painter</em>, in @@ -442,7 +442,7 @@ Marks the whole canvas as changed. All views of the canvas will be entirely redrawn when <a href="#update">update</a>() is called next. -<h3 class=fn>void <a name="setBackgroundColor"></a>TQCanvas::setBackgroundColor ( const <a href="ntqcolor.html">TQColor</a> & c )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setBackgroundColor"></a>TQCanvas::setBackgroundColor ( const <a href="tqcolor.html">TQColor</a> & c )<tt> [virtual]</tt> </h3> Sets the solid background to be the color <em>c</em>. <p> <p>See also <a href="#backgroundColor">backgroundColor</a>(), <a href="#setBackgroundPixmap">setBackgroundPixmap</a>(), and <a href="#setTiles">setTiles</a>(). |