diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-20 20:15:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-21 23:04:19 +0900 |
commit | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch) | |
tree | 5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/html/tqcanvas.html | |
parent | 14c414378d96f7463b989384f4a0e5dd76632b6d (diff) | |
download | tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip |
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqcanvas.html')
-rw-r--r-- | doc/html/tqcanvas.html | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/tqcanvas.html b/doc/html/tqcanvas.html index b9f9f7043..fb85f60e8 100644 --- a/doc/html/tqcanvas.html +++ b/doc/html/tqcanvas.html @@ -139,7 +139,7 @@ items, finding a particular canvas item, detecting collisions, etc., is still fast (though the memory consumption may be prohibitive at such extremes). <p> <li> Two or more <a href="tqcanvasview.html">TQCanvasView</a> objects can view the same canvas. -<p> <li> An arbitrary <a href="ntqwmatrix.html#TransformationMode">transformation matrix</a> can be set on each TQCanvasView +<p> <li> An arbitrary <a href="tqwmatrix.html#TransformationMode">transformation matrix</a> can be set on each TQCanvasView which makes it easy to zoom, rotate or shear the viewed canvas. <p> <li> Widgets provide a lot more functionality, such as input (<a href="qkeyevent.html">TQKeyEvent</a>, <a href="qmouseevent.html">TQMouseEvent</a> etc.) and layout management (<a href="qgridlayout.html">TQGridLayout</a> etc.). @@ -232,7 +232,7 @@ be able to use the canvas. </h3> Constructs a TQCanvas that is <em>w</em> pixels wide and <em>h</em> pixels high. -<h3 class=fn><a name="TQCanvas-3"></a>TQCanvas::TQCanvas ( <a href="ntqpixmap.html">TQPixmap</a> p, int h, int v, int tilewidth, int tileheight ) +<h3 class=fn><a name="TQCanvas-3"></a>TQCanvas::TQCanvas ( <a href="tqpixmap.html">TQPixmap</a> p, int h, int v, int tilewidth, int tileheight ) </h3> Constructs a TQCanvas which will be composed of <em>h</em> tiles horizontally and <em>v</em> tiles vertically. Each tile will be an image @@ -290,7 +290,7 @@ but all TQCanvasViews that are viewing the canvas will set their backgrounds to this color. <p> <p>See also <a href="#setBackgroundColor">setBackgroundColor</a>() and <a href="#backgroundPixmap">backgroundPixmap</a>(). -<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="backgroundPixmap"></a>TQCanvas::backgroundPixmap () const +<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> <a name="backgroundPixmap"></a>TQCanvas::backgroundPixmap () const </h3> Returns the pixmap set by <a href="#setBackgroundPixmap">setBackgroundPixmap</a>(). By default, this is a null pixmap. @@ -302,20 +302,20 @@ this is a null pixmap. <p> Returns the chunk size of the canvas. <p> <p>See also <a href="#retune">retune</a>(). -<h3 class=fn><a href="tqcanvasitemlist.html">TQCanvasItemList</a> <a name="collisions"></a>TQCanvas::collisions ( const <a href="ntqpoint.html">TQPoint</a> & p ) const +<h3 class=fn><a href="tqcanvasitemlist.html">TQCanvasItemList</a> <a name="collisions"></a>TQCanvas::collisions ( const <a href="tqpoint.html">TQPoint</a> & p ) const </h3> Returns a list of canvas items that collide with the point <em>p</em>. The list is ordered by z coordinates, from highest z coordinate (front-most item) to lowest z coordinate (rear-most item). -<h3 class=fn><a href="tqcanvasitemlist.html">TQCanvasItemList</a> <a name="collisions-2"></a>TQCanvas::collisions ( const <a href="ntqrect.html">TQRect</a> & r ) const +<h3 class=fn><a href="tqcanvasitemlist.html">TQCanvasItemList</a> <a name="collisions-2"></a>TQCanvas::collisions ( const <a href="tqrect.html">TQRect</a> & r ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns a list of items which collide with the rectangle <em>r</em>. The list is ordered by z coordinates, from highest z coordinate (front-most item) to lowest z coordinate (rear-most item). -<h3 class=fn><a href="tqcanvasitemlist.html">TQCanvasItemList</a> <a name="collisions-3"></a>TQCanvas::collisions ( const <a href="ntqpointarray.html">TQPointArray</a> & chunklist, const <a href="tqcanvasitem.html">TQCanvasItem</a> * item, bool exact ) const +<h3 class=fn><a href="tqcanvasitemlist.html">TQCanvasItemList</a> <a name="collisions-3"></a>TQCanvas::collisions ( const <a href="tqpointarray.html">TQPointArray</a> & chunklist, const <a href="tqcanvasitem.html">TQCanvasItem</a> * item, bool exact ) const </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 @@ -325,13 +325,13 @@ 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="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. <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="tqprinter.html">TQPrinter</a> pr; + if ( pr.<a href="tqprinter.html#setup">setup</a>() ) { <a href="tqpainter.html">TQPainter</a> p(&pr); canvas.drawArea( canvas.rect(), &p ); } @@ -339,7 +339,7 @@ Paints all canvas items that are in the area <em>clip</em> to <em>painter</em>, <p>Example: <a href="canvas-example.html#x2908">canvas/canvas.cpp</a>. -<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 class=fn>void <a name="drawBackground"></a>TQCanvas::drawBackground ( <a href="tqpainter.html">TQPainter</a> & painter, const <a href="tqrect.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 @@ -347,17 +347,17 @@ the area <em>clip</em>. If the canvas has a background pixmap or a tiled background, that graphic is used, otherwise the canvas is cleared using the background color. <p> If the graphics for an area change, you must explicitly call -<a href="#setChanged">setChanged</a>(const <a href="ntqrect.html">TQRect</a>&) for the result to be visible when +<a href="#setChanged">setChanged</a>(const <a href="tqrect.html">TQRect</a>&) for the result to be visible when <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="tqpainter.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="tqrect.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 the area <em>clip</em>. <p> If the graphics for an area change, you must explicitly call -<a href="#setChanged">setChanged</a>(const <a href="ntqrect.html">TQRect</a>&) for the result to be visible when +<a href="#setChanged">setChanged</a>(const <a href="tqrect.html">TQRect</a>&) for the result to be visible when <a href="#update">update</a>() is next called. <p> The default is to draw nothing. @@ -374,7 +374,7 @@ the area <em>clip</em>. 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="ntqpoint.html">TQPoint</a> & p ) const +<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. @@ -382,7 +382,7 @@ This is an overloaded member function, provided for convenience. It behaves esse otherwise returns FALSE. <p> <p>See also <a href="#validChunk">validChunk</a>(). -<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="rect"></a>TQCanvas::rect () const +<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="rect"></a>TQCanvas::rect () const </h3> <p> Returns a rectangle the size of the canvas. @@ -447,13 +447,13 @@ All views of the canvas will be entirely redrawn when 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>(). -<h3 class=fn>void <a name="setBackgroundPixmap"></a>TQCanvas::setBackgroundPixmap ( const <a href="ntqpixmap.html">TQPixmap</a> & p )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setBackgroundPixmap"></a>TQCanvas::setBackgroundPixmap ( const <a href="tqpixmap.html">TQPixmap</a> & p )<tt> [virtual]</tt> </h3> Sets the solid background to be the pixmap <em>p</em> repeated as necessary to cover the entire canvas. <p> <p>See also <a href="#backgroundPixmap">backgroundPixmap</a>(), <a href="#setBackgroundColor">setBackgroundColor</a>(), and <a href="#setTiles">setTiles</a>(). -<h3 class=fn>void <a name="setChanged"></a>TQCanvas::setChanged ( const <a href="ntqrect.html">TQRect</a> & area )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setChanged"></a>TQCanvas::setChanged ( const <a href="tqrect.html">TQRect</a> & area )<tt> [virtual]</tt> </h3> Marks <em>area</em> as changed. This <em>area</em> will be redrawn in all views that are showing it when <a href="#update">update</a>() is called next. @@ -481,7 +481,7 @@ top-left corner, tile 1 next to the right, and so on, e.g. </table></center> <p> <p>See also <a href="#tile">tile</a>() and <a href="#setTiles">setTiles</a>(). -<h3 class=fn>void <a name="setTiles"></a>TQCanvas::setTiles ( <a href="ntqpixmap.html">TQPixmap</a> p, int h, int v, int tilewidth, int tileheight )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setTiles"></a>TQCanvas::setTiles ( <a href="tqpixmap.html">TQPixmap</a> p, int h, int v, int tilewidth, int tileheight )<tt> [virtual]</tt> </h3> Sets the TQCanvas to be composed of <em>h</em> tiles horizontally and <em>v</em> tiles vertically. Each tile will be an image <em>tilewidth</em> by <em>tileheight</em> pixels from pixmap <em>p</em>. <p> The pixmap <em>p</em> is a list of tiles, arranged left to right, (and @@ -501,7 +501,7 @@ and <em>tileheight</em>. If they are not the function will do nothing. pixmap and 0 for <em>h</em>, <em>v</em>, <em>tilewidth</em>, and <em>tileheight</em>. -<h3 class=fn>void <a name="setUnchanged"></a>TQCanvas::setUnchanged ( const <a href="ntqrect.html">TQRect</a> & area )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setUnchanged"></a>TQCanvas::setUnchanged ( const <a href="tqrect.html">TQRect</a> & area )<tt> [virtual]</tt> </h3> Marks <em>area</em> as <em>unchanged</em>. The area will <em>not</em> be redrawn in the views for the next <a href="#update">update</a>(), unless it is marked or changed @@ -561,7 +561,7 @@ Repaints changed areas in all views of 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="ntqpoint.html">TQPoint</a> & p ) const +<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. |