summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqbitmap.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqbitmap.3qt')
-rw-r--r--doc/man/man3/tqbitmap.3qt46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/man/man3/tqbitmap.3qt b/doc/man/man3/tqbitmap.3qt
index 4a0b8b534..ef7e6ef7e 100644
--- a/doc/man/man3/tqbitmap.3qt
+++ b/doc/man/man3/tqbitmap.3qt
@@ -11,7 +11,7 @@ TQBitmap \- Monochrome (1-bit depth) pixmaps
.SH SYNOPSIS
\fC#include <tqbitmap.h>\fR
.PP
-Inherits QPixmap.
+Inherits TQPixmap.
.PP
.SS "Public Members"
.in +1c
@@ -19,10 +19,10 @@ Inherits QPixmap.
.BI "\fBTQBitmap\fR ()"
.br
.ti -1c
-.BI "\fBTQBitmap\fR ( int w, int h, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )"
+.BI "\fBTQBitmap\fR ( int w, int h, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )"
.br
.ti -1c
-.BI "\fBTQBitmap\fR ( const TQSize & size, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )"
+.BI "\fBTQBitmap\fR ( const TQSize & size, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )"
.br
.ti -1c
.BI "\fBTQBitmap\fR ( int w, int h, const uchar * bits, bool isXbitmap = FALSE )"
@@ -40,50 +40,50 @@ Inherits QPixmap.
.BI "TQBitmap & \fBoperator=\fR ( const TQBitmap & bitmap )"
.br
.ti -1c
-.BI "TQBitmap & \fBoperator=\fR ( const QPixmap & pixmap )"
+.BI "TQBitmap & \fBoperator=\fR ( const TQPixmap & pixmap )"
.br
.ti -1c
.BI "TQBitmap & \fBoperator=\fR ( const TQImage & image )"
.br
.ti -1c
-.BI "TQBitmap \fBxForm\fR ( const QWMatrix & matrix ) const"
+.BI "TQBitmap \fBxForm\fR ( const TQWMatrix & matrix ) const"
.br
.in -1c
.SH DESCRIPTION
The TQBitmap class provides monochrome (1-bit depth) pixmaps.
.PP
-The TQBitmap class is a monochrome off-screen paint device used mainly for creating custom QCursor and TQBrush objects, in QPixmap::setMask() and for QRegion.
+The TQBitmap class is a monochrome off-screen paint device used mainly for creating custom QCursor and TQBrush objects, in TQPixmap::setMask() and for TQRegion.
.PP
-A TQBitmap is a QPixmap with a depth of 1. If a pixmap with a depth greater than 1 is assigned to a bitmap, the bitmap will be dithered automatically. A TQBitmap is guaranteed to always have the depth 1, unless it is QPixmap::isNull() which has depth 0.
+A TQBitmap is a TQPixmap with a depth of 1. If a pixmap with a depth greater than 1 is assigned to a bitmap, the bitmap will be dithered automatically. A TQBitmap is guaranteed to always have the depth 1, unless it is TQPixmap::isNull() which has depth 0.
.PP
-When drawing in a TQBitmap (or QPixmap with depth 1), we recommend using the TQColor objects \fCQt::color0\fR and \fCQt::color1\fR. Painting with \fCcolor0\fR sets the bitmap bits to 0, and painting with \fCcolor1\fR sets the bits to 1. For a bitmap, 0-bits indicate background (or transparent) and 1-bits indicate foreground (or opaque). Using the \fCblack\fR and \fCwhite\fR TQColor objects make no sense because the TQColor::pixel() value is not necessarily 0 for black and 1 for white.
+When drawing in a TQBitmap (or TQPixmap with depth 1), we recommend using the TQColor objects \fCQt::color0\fR and \fCQt::color1\fR. Painting with \fCcolor0\fR sets the bitmap bits to 0, and painting with \fCcolor1\fR sets the bits to 1. For a bitmap, 0-bits indicate background (or transparent) and 1-bits indicate foreground (or opaque). Using the \fCblack\fR and \fCwhite\fR TQColor objects make no sense because the TQColor::pixel() value is not necessarily 0 for black and 1 for white.
.PP
The TQBitmap can be transformed (translated, scaled, sheared or rotated) using xForm().
.PP
-Just like the QPixmap class, TQBitmap is optimized by the use of implicit sharing, so it is very efficient to pass TQBitmap objects as arguments.
+Just like the TQPixmap class, TQBitmap is optimized by the use of implicit sharing, so it is very efficient to pass TQBitmap objects as arguments.
.PP
-See also QPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
+See also TQPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQBitmap::TQBitmap ()"
Constructs a null bitmap.
.PP
-See also QPixmap::isNull().
-.SH "TQBitmap::TQBitmap ( int w, int h, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )"
+See also TQPixmap::isNull().
+.SH "TQBitmap::TQBitmap ( int w, int h, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )"
Constructs a bitmap with width \fIw\fR and height \fIh\fR.
.PP
The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR).
.PP
-The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see QPixmap::Optimization.
+The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see TQPixmap::Optimization.
.PP
-See also QPixmap::setOptimization() and QPixmap::setDefaultOptimization().
-.SH "TQBitmap::TQBitmap ( const TQSize & size, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )"
+See also TQPixmap::setOptimization() and TQPixmap::setDefaultOptimization().
+.SH "TQBitmap::TQBitmap ( const TQSize & size, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Constructs a bitmap with the size \fIsize\fR.
.PP
The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR).
.PP
-The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see QPixmap::Optimization.
+The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see TQPixmap::Optimization.
.SH "TQBitmap::TQBitmap ( int w, int h, const uchar * bits, bool isXbitmap = FALSE )"
Constructs a bitmap with width \fIw\fR and height \fIh\fR and sets the contents to \fIbits\fR.
.PP
@@ -109,29 +109,29 @@ Constructs a bitmap that is a copy of \fIbitmap\fR.
.SH "TQBitmap::TQBitmap ( const TQString & fileName, const char * format = 0 )"
Constructs a bitmap from the file \fIfileName\fR. If the file does not exist or is of an unknown format, the bitmap becomes a null bitmap.
.PP
-The parameters \fIfileName\fR and \fIformat\fR are passed on to QPixmap::load(). Dithering will be performed if the file format uses more than 1 bit per pixel.
+The parameters \fIfileName\fR and \fIformat\fR are passed on to TQPixmap::load(). Dithering will be performed if the file format uses more than 1 bit per pixel.
.PP
-See also QPixmap::isNull(), QPixmap::load(), QPixmap::loadFromData(), QPixmap::save(), and QPixmap::imageFormat().
+See also TQPixmap::isNull(), TQPixmap::load(), TQPixmap::loadFromData(), TQPixmap::save(), and TQPixmap::imageFormat().
.SH "TQBitmap & TQBitmap::operator= ( const TQBitmap & bitmap )"
Assigns the bitmap \fIbitmap\fR to this bitmap and returns a reference to this bitmap.
-.SH "TQBitmap & TQBitmap::operator= ( const QPixmap & pixmap )"
+.SH "TQBitmap & TQBitmap::operator= ( const TQPixmap & pixmap )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Assigns the pixmap \fIpixmap\fR to this bitmap and returns a reference to this bitmap.
.PP
-Dithering will be performed if the pixmap has a QPixmap::depth() greater than 1.
+Dithering will be performed if the pixmap has a TQPixmap::depth() greater than 1.
.SH "TQBitmap & TQBitmap::operator= ( const TQImage & image )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Converts the image \fIimage\fR to a bitmap and assigns the result to this bitmap. Returns a reference to the bitmap.
.PP
Dithering will be performed if the image has a TQImage::depth() greater than 1.
-.SH "TQBitmap TQBitmap::xForm ( const QWMatrix & matrix ) const"
+.SH "TQBitmap TQBitmap::xForm ( const TQWMatrix & matrix ) const"
Returns a transformed copy of this bitmap by using \fImatrix\fR.
.PP
-This function does exactly the same as QPixmap::xForm(), except that it returns a TQBitmap instead of a QPixmap.
+This function does exactly the same as TQPixmap::xForm(), except that it returns a TQBitmap instead of a TQPixmap.
.PP
-See also QPixmap::xForm().
+See also TQPixmap::xForm().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/tqbitmap.html