summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcanvaspixmap.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqcanvaspixmap.3qt')
-rw-r--r--doc/man/man3/tqcanvaspixmap.3qt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/man3/tqcanvaspixmap.3qt b/doc/man/man3/tqcanvaspixmap.3qt
index 89245ffb2..e3272218d 100644
--- a/doc/man/man3/tqcanvaspixmap.3qt
+++ b/doc/man/man3/tqcanvaspixmap.3qt
@@ -44,7 +44,7 @@ If you want to show a single pixmap on a TQCanvas use a TQCanvasSprite with just
.PP
When pixmaps are inserted into a TQCanvasPixmapArray they are held as TQCanvasPixmaps. TQCanvasSprites are used to show pixmaps on TQCanvases and hold their pixmaps in a TQCanvasPixmapArray. If you retrieve a frame (pixmap) from a TQCanvasSprite it will be returned as a TQCanvasPixmap.
.PP
-The pixmap is a QPixmap and can only be set in the constructor. There are three different constructors, one taking a QPixmap, one a TQImage and one a file name that refers to a file in any supported file format (see QImageIO).
+The pixmap is a QPixmap and can only be set in the constructor. There are three different constructors, one taking a QPixmap, one a TQImage and one a file name that refers to a file in any supported file format (see TQImageIO).
.PP
TQCanvasPixmap can have a hotspot which is defined in terms of an (x, y) offset. When you create a TQCanvasPixmap from a PNG file or from a TQImage that has a TQImage::offset(), the offset() is initialized appropriately, otherwise the constructor leaves it at (0, 0). You can set it later using setOffset(). When the TQCanvasPixmap is used in a TQCanvasSprite, the offset position is the point at TQCanvasItem::x() and TQCanvasItem::y(), not the top-left corner of the pixmap.
.PP