diff options
Diffstat (limited to 'doc/man/man3/tqpixmap.3qt')
-rw-r--r-- | doc/man/man3/tqpixmap.3qt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqpixmap.3qt b/doc/man/man3/tqpixmap.3qt index a00579abb..d2bd7d96c 100644 --- a/doc/man/man3/tqpixmap.3qt +++ b/doc/man/man3/tqpixmap.3qt @@ -11,7 +11,7 @@ QPixmap \- Off-screen, pixel-based paint device .SH SYNOPSIS \fC#include <ntqpixmap.h>\fR .PP -Inherits QPaintDevice and Qt. +Inherits TQPaintDevice and Qt. .PP Inherited by TQBitmap and TQCanvasPixmap. .PP @@ -224,7 +224,7 @@ Paint the pixmap. .IP 4 bitBlt() the pixmap contents onto the widget. .PP -Pixel data in a pixmap is internal and is managed by the underlying window system. Pixels can be accessed only through QPainter functions, through bitBlt(), and by converting the QPixmap to a TQImage. +Pixel data in a pixmap is internal and is managed by the underlying window system. Pixels can be accessed only through TQPainter functions, through bitBlt(), and by converting the QPixmap to a TQImage. .PP You can easily display a QPixmap on the screen using QLabel::setPixmap(). For example, all the QButton subclasses support pixmap use. .PP @@ -414,7 +414,7 @@ See also defaultDepth(), isNull(), and TQImage::convertDepth(). .SH "void QPixmap::detach ()\fC [virtual]\fR" This is a special-purpose function that detaches the pixmap from shared pixmap data. .PP -A pixmap is automatically detached by TQt whenever its contents is about to change. This is done in all QPixmap member functions that modify the pixmap (fill(), resize(), convertFromImage(), load(), etc.), in bitBlt() for the destination pixmap and in QPainter::begin() on a pixmap. +A pixmap is automatically detached by TQt whenever its contents is about to change. This is done in all QPixmap member functions that modify the pixmap (fill(), resize(), convertFromImage(), load(), etc.), in bitBlt() for the destination pixmap and in TQPainter::begin() on a pixmap. .PP It is possible to modify a pixmap without letting TQt know. You can first obtain the system-dependent handle() and then call system-specific functions (for instance, BitBlt under Windows) that modify the pixmap contents. In such cases, you can call detach() to cut the pixmap loose from other pixmaps that share data with this one. .PP @@ -441,7 +441,7 @@ Example: .PP .nf .br - void CuteWidget::paintEvent( QPaintEvent *e ) + void CuteWidget::paintEvent( TQPaintEvent *e ) .br { .br @@ -452,7 +452,7 @@ Example: pix.fill( this, ur.topLeft() ); // fill with widget background .br .br - QPainter p( &pix ); + TQPainter p( &pix ); .br p.translate( -ur.x(), -ur.y() ); // use widget coordinate system .br @@ -492,7 +492,7 @@ If there is overlap, it returns a pixmap of the size you want, containing a rend .PP If an error occurs when trying to grab the widget, such as the size of the widget being too large to fit in memory, an isNull() pixmap is returned. .PP -See also grabWindow(), QPainter::redirect(), and TQWidget::paintEvent(). +See also grabWindow(), TQPainter::redirect(), and TQWidget::paintEvent(). .SH "QPixmap QPixmap::grabWindow ( WId window, int x = 0, int y = 0, int w = -1, int h = -1 )\fC [static]\fR" Grabs the contents of the window \fIwindow\fR and makes a pixmap out of it. Returns the pixmap. .PP @@ -597,9 +597,9 @@ Returns the mask bitmap, or 0 if no mask has been set. .PP See also setMask(), TQBitmap, and hasAlpha(). .SH "int QPixmap::metric ( int m ) const\fC [virtual protected]\fR" -Internal implementation of the virtual QPaintDevice::metric() function. +Internal implementation of the virtual TQPaintDevice::metric() function. .PP -Use the QPaintDeviceMetrics class instead. +Use the TQPaintDeviceMetrics class instead. .PP \fIm\fR is the metric to get. .SH "QPixmap & QPixmap::operator= ( const QPixmap & pixmap )" @@ -738,13 +738,13 @@ The transformation \fImatrix\fR is internally adjusted to compensate for unwante .PP This function is slow because it involves transformation to a TQImage, non-trivial computations and a transformation back to a QPixmap. .PP -See also trueMatrix(), QWMatrix, QPainter::setWorldMatrix(), and TQImage::xForm(). +See also trueMatrix(), QWMatrix, TQPainter::setWorldMatrix(), and TQImage::xForm(). .PP Examples: .)l desktop/desktop.cpp, fileiconview/tqfileiconview.cpp, movies/main.cpp, and qmag/qmag.cpp. .SH RELATED FUNCTION DOCUMENTATION .SH "void copyBlt ( QPixmap * dst, int dx, int dy, const QPixmap * src, int sx, int sy, int sw, int sh )" -Copies a block of pixels from \fIsrc\fR to \fIdst\fR. The alpha channel and mask data (if any) is also copied from \fIsrc\fR. NOTE: \fIsrc\fR is \fInot\fR alpha blended or masked when copied to \fIdst\fR. Use bitBlt() or QPainter::drawPixmap() to perform alpha blending or masked drawing. +Copies a block of pixels from \fIsrc\fR to \fIdst\fR. The alpha channel and mask data (if any) is also copied from \fIsrc\fR. NOTE: \fIsrc\fR is \fInot\fR alpha blended or masked when copied to \fIdst\fR. Use bitBlt() or TQPainter::drawPixmap() to perform alpha blending or masked drawing. .PP \fIsx\fR, \fIsy\fR is the top-left pixel in \fIsrc\fR (0, 0 by default), \fIdx\fR, \fIdy\fR is the top-left position in \fIdst\fR and \fIsw\fR, \\sh is the size of the copied block (all of \fIsrc\fR by default). .PP |