diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-31 11:32:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-31 11:59:34 +0900 |
commit | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (patch) | |
tree | d6d15d07cb34e5443a10b71f91adee1473906263 /doc/canvas.doc | |
parent | 1702a6daff27f5d3e6fdac16962d1828df6ca270 (diff) | |
download | tqt3-68b81013e8668f50fc18b7e26a520ec93a7a1251.tar.gz tqt3-68b81013e8668f50fc18b7e26a520ec93a7a1251.zip |
Rename nt* canvas related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/canvas.doc')
-rw-r--r-- | doc/canvas.doc | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/canvas.doc b/doc/canvas.doc index c8801ef89..6b34d7925 100644 --- a/doc/canvas.doc +++ b/doc/canvas.doc @@ -47,49 +47,49 @@ This module is part of the \link commercialeditions.html TQt Enterprise Edition \endif The canvas module provides a highly optimized 2D graphic area called -\l QCanvas. The canvas can contain an arbitrary number of \link -QCanvasItem QCanvasItems \endlink. Canvas items can have an arbitrary +\l TQCanvas. The canvas can contain an arbitrary number of \link +TQCanvasItem TQCanvasItems \endlink. Canvas items can have an arbitrary shape, size and content, can be freely moved around in the canvas, and can be checked for collisions. Canvas items can be set to move across the canvas automatically and animated canvas items are -supported with QCanvasSprite. (If you require 3D graphics see Qt's +supported with TQCanvasSprite. (If you require 3D graphics see Qt's \link opengl.html OpenGL module \endlink.) -The canvas module uses a document/view model. The \l QCanvasView class +The canvas module uses a document/view model. The \l TQCanvasView class is used to show a particular view of a canvas. Multiple views can operate on the same canvas at the same time. Every view can use an arbitrary transformation matrix on the canvas which makes it easy to implement features such as zooming. -<center><a href="ntqcanvas.html"> -<img src="qcanvas.png" alt="Screenshot of a canvas"></a></center> +<center><a href="tqcanvas.html"> +<img src="tqcanvas.png" alt="Screenshot of a canvas"></a></center> -Qt provides a number of predefined \l QCanvas items as listed below. +Qt provides a number of predefined \l TQCanvas items as listed below. \list -\i QCanvasItem -- An abstract base class for all canvas items. -\i QCanvasEllipse -- An ellipse or "pie segment". -\i QCanvasLine -- A line segment. -\i QCanvasPolygon -- A polygon. -\i QCanvasPolygonalItem -- A base class for items that have a +\i TQCanvasItem -- An abstract base class for all canvas items. +\i TQCanvasEllipse -- An ellipse or "pie segment". +\i TQCanvasLine -- A line segment. +\i TQCanvasPolygon -- A polygon. +\i TQCanvasPolygonalItem -- A base class for items that have a non-rectangular shape. Most canvas items derive from this class. -\i QCanvasRectangle -- A rectangle. The rectangle cannot be tilted or -rotated. Rotated rectangles can be drawn using QCanvasPolygon. -\i QCanvasSpline -- A multi-bezier spline. -\i QCanvasSprite -- An animated pixmap. -\i QCanvasText -- A text string. +\i TQCanvasRectangle -- A rectangle. The rectangle cannot be tilted or +rotated. Rotated rectangles can be drawn using TQCanvasPolygon. +\i TQCanvasSpline -- A multi-bezier spline. +\i TQCanvasSprite -- An animated pixmap. +\i TQCanvasText -- A text string. \endlist -The two classes \l QCanvasPixmap and \l QCanvasPixmapArray are used -by \l QCanvasSprite to show animated and moving pixmaps on the +The two classes \l TQCanvasPixmap and \l TQCanvasPixmapArray are used +by \l TQCanvasSprite to show animated and moving pixmaps on the canvas. More specialized items can be created by inheriting from one of the canvas item classes. It is easiest to inherit from one of -QCanvasItem's derived classes (usually \l QCanvasPolygonalItem) rather -than inherit QCanvasItem directly. +TQCanvasItem's derived classes (usually \l TQCanvasPolygonalItem) rather +than inherit TQCanvasItem directly. -See \c examples/canvas for an example that shows off some of QCanvas's +See \c examples/canvas for an example that shows off some of TQCanvas's capabilities. */ |