diff options
author | Timothy Pearson <[email protected]> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/man/man3/qimage.3qt | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/man/man3/qimage.3qt')
-rw-r--r-- | doc/man/man3/qimage.3qt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/qimage.3qt b/doc/man/man3/qimage.3qt index 27920b0d5..fe1300d53 100644 --- a/doc/man/man3/qimage.3qt +++ b/doc/man/man3/qimage.3qt @@ -9,7 +9,7 @@ .SH NAME QImage \- Hardware-independent pixmap representation with direct access to the pixel data .SH SYNOPSIS -\fC#include <qimage.h>\fR +\fC#include <ntqimage.h>\fR .PP .SS "Public Members" .in +1c @@ -311,7 +311,7 @@ An image has the parameters width, height and depth (bits per pixel, bpp), a col .PP 32-bpp images encode an RGB value in 24 bits and ignore the color table. The most significant byte is used for the alpha buffer. .PP -An entry in the color table is an RGB triplet encoded as a \fCuint\fR. Use the qRed(), qGreen() and qBlue() functions (qcolor.h) to access the components, and qRgb to make an RGB triplet (see the QColor class documentation). +An entry in the color table is an RGB triplet encoded as a \fCuint\fR. Use the qRed(), qGreen() and qBlue() functions (ntqcolor.h) to access the components, and qRgb to make an RGB triplet (see the QColor class documentation). .PP 1-bpp (monochrome) images have a color table with a most two colors. There are two different formats: big endian (MSB first) or little endian (LSB first) bit order. To access a single bit you will must do some bit shifts: .PP @@ -503,7 +503,7 @@ See also numBytes() and scanLine(). .SH "QRgb QImage::color ( int i ) const" Returns the color in the color table at index \fIi\fR. The first color is at index 0. .PP -A color value is an RGB triplet. Use the qRed(), qGreen() and qBlue() functions (defined in qcolor.h) to get the color value components. +A color value is an RGB triplet. Use the qRed(), qGreen() and qBlue() functions (defined in ntqcolor.h) to get the color value components. .PP See also setColor(), numColors(), and QColor. .PP @@ -875,7 +875,7 @@ Returns a pointer to the pixel data at the scanline with index \fIi\fR. The firs .PP The scanline data is aligned on a 32-bit boundary. .PP -\fBWarning:\fR If you are accessing 32-bpp image data, cast the returned pointer to \fCQRgb*\fR (QRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the \fCuchar*\fR pointer directly, because the pixel format depends on the byte order on the underlying platform. Hint: use qRed(), qGreen() and qBlue(), etc. (qcolor.h) to access the pixels. +\fBWarning:\fR If you are accessing 32-bpp image data, cast the returned pointer to \fCQRgb*\fR (QRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the \fCuchar*\fR pointer directly, because the pixel format depends on the byte order on the underlying platform. Hint: use qRed(), qGreen() and qBlue(), etc. (ntqcolor.h) to access the pixels. .PP \fBWarning:\fR If you are accessing 16-bpp image data, you must handle endianness yourself. (Qt/Embedded only) .PP @@ -897,7 +897,7 @@ See also hasAlphaBuffer() and createAlphaMask(). .SH "void QImage::setColor ( int i, QRgb c )" Sets a color in the color table at index \fIi\fR to \fIc\fR. .PP -A color value is an RGB triplet. Use the qRgb() function (defined in qcolor.h) to make RGB triplets. +A color value is an RGB triplet. Use the qRgb() function (defined in ntqcolor.h) to make RGB triplets. .PP See also color(), setNumColors(), and numColors(). .PP @@ -1070,7 +1070,7 @@ Reads an image from the stream \fIs\fR and stores it in \fIimage\fR. See also QImage::load() and Format of the QDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qimage.html +.BR http://doc.trolltech.com/ntqimage.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |