summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqimage.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqimage.3qt')
-rw-r--r--doc/man/man3/tqimage.3qt42
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt
index e0c83d5fe..2db8e6b9c 100644
--- a/doc/man/man3/tqimage.3qt
+++ b/doc/man/man3/tqimage.3qt
@@ -50,7 +50,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.BI "TQImage & \fBoperator=\fR ( const TQImage & image )"
.br
.ti -1c
-.BI "TQImage & \fBoperator=\fR ( const QPixmap & pixmap )"
+.BI "TQImage & \fBoperator=\fR ( const TQPixmap & pixmap )"
.br
.ti -1c
.BI "bool \fBoperator==\fR ( const TQImage & i ) const"
@@ -68,7 +68,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.BI "TQImage \fBcopy\fR ( int x, int y, int w, int h, int conversion_flags = 0 ) const"
.br
.ti -1c
-.BI "TQImage \fBcopy\fR ( const QRect & r ) const"
+.BI "TQImage \fBcopy\fR ( const TQRect & r ) const"
.br
.ti -1c
.BI "bool \fBisNull\fR () const"
@@ -83,7 +83,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.BI "TQSize \fBsize\fR () const"
.br
.ti -1c
-.BI "QRect \fBrect\fR () const"
+.BI "TQRect \fBrect\fR () const"
.br
.ti -1c
.BI "int \fBdepth\fR () const"
@@ -182,7 +182,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.BI "TQImage \fBscaleHeight\fR ( int h ) const"
.br
.ti -1c
-.BI "TQImage \fBxForm\fR ( const QWMatrix & matrix ) const"
+.BI "TQImage \fBxForm\fR ( const TQWMatrix & matrix ) const"
.br
.ti -1c
.BI "TQImage \fBcreateAlphaMask\fR ( int conversion_flags = 0 ) const"
@@ -239,10 +239,10 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.BI "void \fBsetDotsPerMeterY\fR ( int y )"
.br
.ti -1c
-.BI "QPoint \fBoffset\fR () const"
+.BI "TQPoint \fBoffset\fR () const"
.br
.ti -1c
-.BI "void \fBsetOffset\fR ( const QPoint & p )"
+.BI "void \fBsetOffset\fR ( const TQPoint & p )"
.br
.ti -1c
.BI "TQValueList<TQImageTextKeyLang> \fBtextList\fR () const"
@@ -305,7 +305,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.SH DESCRIPTION
The TQImage class provides a hardware-independent pixmap representation with direct access to the pixel data.
.PP
-It is one of the two classes TQt provides for dealing with images, the other being QPixmap. TQImage is designed and optimized for I/O and for direct pixel access/manipulation. QPixmap is designed and optimized for drawing. There are (slow) functions to convert between TQImage and QPixmap: QPixmap::convertToImage() and QPixmap::convertFromImage().
+It is one of the two classes TQt provides for dealing with images, the other being TQPixmap. TQImage is designed and optimized for I/O and for direct pixel access/manipulation. TQPixmap is designed and optimized for drawing. There are (slow) functions to convert between TQImage and TQPixmap: TQPixmap::convertToImage() and TQPixmap::convertFromImage().
.PP
An image has the parameters width, height and depth (bits per pixel, bpp), a color table and the actual pixels. TQImage supports 1-bpp, 8-bpp and 32-bpp image data. 1-bpp and 8-bpp images use a color lookup table; the pixel value is a color table index.
.PP
@@ -377,7 +377,7 @@ The TQImage class uses explicit sharing, similar to that used by TQMemArray.
.PP
New image formats can be added as plugins.
.PP
-See also TQImageIO, QPixmap, Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
+See also TQImageIO, TQPixmap, Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
.SS "Member Type Documentation"
.SH "TQImage::Endian"
This enum type is used to describe the endianness of the CPU and graphics hardware.
@@ -544,7 +544,7 @@ The returned image is always \fIw\fR by \fIh\fR pixels in size, and is copied fr
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
See also bitBlt() and TQt::ImageConversionFlags.
-.SH "TQImage TQImage::copy ( const QRect & r ) const"
+.SH "TQImage TQImage::copy ( const TQRect & r ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a deep copy of a sub-area of the image.
@@ -565,7 +565,7 @@ This is an overloaded member function, provided for convenience. It behaves esse
.SH "TQImage TQImage::createAlphaMask ( int conversion_flags = 0 ) const"
Builds and returns a 1-bpp mask from the alpha buffer in this image. Returns a null image if alpha buffer mode is disabled.
.PP
-See QPixmap::convertFromImage() for a description of the \fIconversion_flags\fR argument.
+See TQPixmap::convertFromImage() for a description of the \fIconversion_flags\fR argument.
.PP
The returned image has little-endian bit order, which you can convert to big-endianness using convertBitOrder().
.PP
@@ -700,7 +700,7 @@ If \fIformat\fR is specified, the loader attempts to read the image using the sp
.PP
The TQImageIO documentation lists the supported image formats and explains how to add extra formats.
.PP
-See also loadFromData(), save(), imageFormat(), QPixmap::load(), and TQImageIO.
+See also loadFromData(), save(), imageFormat(), TQPixmap::load(), and TQImageIO.
.SH "bool TQImage::loadFromData ( const uchar * buf, uint len, const char * format = 0 )"
Loads an image from the first \fIlen\fR bytes of binary data in \fIbuf\fR. Returns TRUE if the image was successfully loaded; otherwise returns FALSE.
.PP
@@ -708,7 +708,7 @@ If \fIformat\fR is specified, the loader attempts to read the image using the sp
.PP
The TQImageIO documentation lists the supported image formats and explains how to add extra formats.
.PP
-See also load(), save(), imageFormat(), QPixmap::loadFromData(), and TQImageIO.
+See also load(), save(), imageFormat(), TQPixmap::loadFromData(), and TQImageIO.
.SH "bool TQImage::loadFromData ( TQByteArray buf, const char * format = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -733,7 +733,7 @@ Notice that numColors() returns 0 for 32-bpp images because these images do not
See also setNumColors() and colorTable().
.PP
Example: themes/wood.cpp.
-.SH "QPoint TQImage::offset () const"
+.SH "TQPoint TQImage::offset () const"
Returns the number of pixels by which the image is intended to be offset by when positioning relative to other images.
.SH "bool TQImage::operator!= ( const TQImage & i ) const"
Returns TRUE if this image and image \fIi\fR have different contents; otherwise returns FALSE. The comparison can be slow, unless there is some obvious difference, such as different widths, in which case the function will return quickly.
@@ -743,14 +743,14 @@ See also operator=().
Assigns a shallow copy of \fIimage\fR to this image and returns a reference to this image.
.PP
See also copy().
-.SH "TQImage & TQImage::operator= ( const QPixmap & pixmap )"
+.SH "TQImage & TQImage::operator= ( const TQPixmap & pixmap )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the image bits to the \fIpixmap\fR contents and returns a reference to the image.
.PP
If the image shares data with other images, it will first dereference the shared data.
.PP
-Makes a call to QPixmap::convertToImage().
+Makes a call to TQPixmap::convertToImage().
.SH "bool TQImage::operator== ( const TQImage & i ) const"
Returns TRUE if this image and image \fIi\fR have the same contents; otherwise returns FALSE. The comparison can be slow, unless there is some obvious difference, such as different widths, in which case the function will return quickly.
.PP
@@ -798,7 +798,7 @@ Returns the pixel index at the given coordinates.
If (\fIx\fR, \fIy\fR) is not valid, or if the image is not a paletted image (depth() > 8), the results are undefined.
.PP
See also valid() and depth().
-.SH "QRect TQImage::rect () const"
+.SH "TQRect TQImage::rect () const"
Returns the enclosing rectangle (0, 0, width(), height()) of the image.
.PP
See also width(), height(), and size().
@@ -809,7 +809,7 @@ Saves the image to the file \fIfileName\fR, using the image file format \fIforma
.PP
Returns TRUE if the image was successfully saved; otherwise returns FALSE.
.PP
-See also load(), loadFromData(), imageFormat(), QPixmap::save(), and TQImageIO.
+See also load(), loadFromData(), imageFormat(), TQPixmap::save(), and TQImageIO.
.SH "bool TQImage::save ( TQIODevice * device, const char * format, int quality = -1 ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -879,7 +879,7 @@ This 32-bit value is encoded as follows: The lower 24 bits are used for the red,
.PP
The alpha component specifies the transparency of a pixel. 0 means completely transparent and 255 means opaque. The alpha component is ignored if you do not enable alpha buffer mode.
.PP
-The alpha buffer is used to set a mask when a TQImage is translated to a QPixmap.
+The alpha buffer is used to set a mask when a TQImage is translated to a TQPixmap.
.PP
See also hasAlphaBuffer() and createAlphaMask().
.SH "void TQImage::setColor ( int i, TQRgb c )"
@@ -901,7 +901,7 @@ Resizes the color table to \fInumColors\fR colors.
If the color table is expanded all the extra colors will be set to black (RGB 0,0,0).
.PP
See also numColors(), color(), setColor(), and colorTable().
-.SH "void TQImage::setOffset ( const QPoint & p )"
+.SH "void TQImage::setOffset ( const TQPoint & p )"
Sets the value returned by offset() to \fIp\fR.
.SH "void TQImage::setPixel ( int x, int y, uint index_or_rgb )"
Sets the pixel index or color at the coordinates (\fIx\fR, \fIy\fR) to \fIindex_or_rgb\fR.
@@ -1029,12 +1029,12 @@ See also height(), size(), and rect().
.PP
Examples:
.)l canvas/canvas.cpp and opengl/texture/gltexobj.cpp.
-.SH "TQImage TQImage::xForm ( const QWMatrix & matrix ) const"
+.SH "TQImage TQImage::xForm ( const TQWMatrix & matrix ) const"
Returns a copy of the image that is transformed using the transformation matrix, \fImatrix\fR.
.PP
The transformation \fImatrix\fR is internally adjusted to compensate for unwanted translation, i.e. xForm() returns the smallest image that contains all the transformed points of the original image.
.PP
-See also scale(), QPixmap::xForm(), QPixmap::trueMatrix(), and QWMatrix.
+See also scale(), TQPixmap::xForm(), TQPixmap::trueMatrix(), and TQWMatrix.
.SH RELATED FUNCTION DOCUMENTATION
.SH "void bitBlt ( TQImage * dst, int dx, int dy, const TQImage * src, int sx, int sy, int sw, int sh, int conversion_flags )"
Copies a block of pixels from \fIsrc\fR to \fIdst\fR. The pixels copied from source (src) are converted according to \fIconversion_flags\fR if it is incompatible with the destination (\fIdst\fR).