diff options
Diffstat (limited to 'doc/coordsys.doc')
-rw-r--r-- | doc/coordsys.doc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/coordsys.doc b/doc/coordsys.doc index 05a3bf9e7..8eb08fe5e 100644 --- a/doc/coordsys.doc +++ b/doc/coordsys.doc @@ -42,7 +42,7 @@ \title The Coordinate System A \link TQPaintDevice paint device\endlink in TQt is a drawable 2D -surface. \l TQWidget, \l QPixmap, \l QPicture and \l QPrinter are all +surface. \l TQWidget, \l TQPixmap, \l TQPicture and \l TQPrinter are all paint devices. A \l TQPainter is an object which can draw on such devices. @@ -85,34 +85,34 @@ system: \table -\row \i \l QPoint +\row \i \l TQPoint \i A single 2D point in the coordinate system. Most functions in - Qt that deal with points can accept either a QPoint argument + Qt that deal with points can accept either a TQPoint argument or two ints, for example \l TQPainter::drawPoint(). \row \i \l TQSize - \i A single 2D vector. Internally, QPoint and TQSize are the same, + \i A single 2D vector. Internally, TQPoint and TQSize are the same, but a point is not the same as a size, so both classes exist. Again, most functions accept either a TQSize or two ints, for example \l TQWidget::resize(). -\row \i \l QRect - \i A 2D rectangle. Most functions accept either a QRect or four +\row \i \l TQRect + \i A 2D rectangle. Most functions accept either a TQRect or four ints, for example \l TQWidget::setGeometry(). -\row \i \l QRegion +\row \i \l TQRegion \i An arbitrary set of points, including all the normal set - operations, e.g. \l QRegion::intersect(), and also a less + operations, e.g. \l TQRegion::intersect(), and also a less usual function to return a list of rectangles whose union is - equal to the region. QRegion is used e.g. by \l + equal to the region. TQRegion is used e.g. by \l TQPainter::setClipRegion(), \l TQWidget::repaint() and \l TQPaintEvent::region(). \row \i \l TQPainter \i The class that paints. It can paint on any device with the same code. There are differences between devices, \l - QPrinter::newPage() is a good example, but TQPainter works the + TQPrinter::newPage() is a good example, but TQPainter works the same way on all devices. \row \i \l TQPaintDevice \i A device on which TQPainter can paint. There are two internal devices, both pixel-based, and two external devices, \l - QPrinter and \l QPicture (which records TQPainter commands to a + TQPrinter and \l TQPicture (which records TQPainter commands to a file or other \l TQIODevice, and plays them back). Other devices can be defined. \endtable @@ -136,7 +136,7 @@ methods such as \l TQPainter::rotate(), \l TQPainter::scale(), \l TQPainter::translate() and so on to operate on this matrix. \l TQPainter::save() and \l TQPainter::restore() save and restore this -matrix. You can also use \l QWMatrix objects, \l +matrix. You can also use \l TQWMatrix objects, \l TQPainter::worldMatrix() and \l TQPainter::setWorldMatrix() to store and use named matrices. @@ -150,7 +150,7 @@ The third step uses the viewport. The viewport too, describes the view boundaries, but in device coordinates. The viewport and the windows describe the same rectangle, but in different coordinate systems. -On-screen, the default is the entire \l TQWidget or \l QPixmap where +On-screen, the default is the entire \l TQWidget or \l TQPixmap where you are drawing, which is usually appropriate. For printing this function is vital, since very few printers can print over the entire physical page. |