summaryrefslogtreecommitdiffstats
path: root/doc/canvas.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/canvas.doc')
-rw-r--r--doc/canvas.doc44
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.
*/