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.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt
index 7db34b273..e0c83d5fe 100644
--- a/doc/man/man3/tqimage.3qt
+++ b/doc/man/man3/tqimage.3qt
@@ -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 tqRed(), tqGreen() and tqBlue() functions (ntqcolor.h) to access the components, and tqRgb to make an RGB triplet (see the TQColor class documentation).
+An entry in the color table is an RGB triplet encoded as a \fCuint\fR. Use the tqRed(), tqGreen() and tqBlue() functions (tqcolor.h) to access the components, and tqRgb to make an RGB triplet (see the TQColor 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
@@ -493,7 +493,7 @@ See also numBytes() and scanLine().
.SH "TQRgb TQImage::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 tqRed(), tqGreen() and tqBlue() functions (defined in ntqcolor.h) to get the color value components.
+A color value is an RGB triplet. Use the tqRed(), tqGreen() and tqBlue() functions (defined in tqcolor.h) to get the color value components.
.PP
See also setColor(), numColors(), and TQColor.
.PP
@@ -865,7 +865,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 (TQRgb 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 tqRed(), tqGreen() and tqBlue(), etc. (ntqcolor.h) to access the pixels.
+\fBWarning:\fR If you are accessing 32-bpp image data, cast the returned pointer to \fCQRgb*\fR (TQRgb 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 tqRed(), tqGreen() and tqBlue(), etc. (tqcolor.h) to access the pixels.
.PP
See also bytesPerLine(), bits(), and jumpTable().
.PP
@@ -885,7 +885,7 @@ See also hasAlphaBuffer() and createAlphaMask().
.SH "void TQImage::setColor ( int i, TQRgb 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 tqRgb() function (defined in ntqcolor.h) to make RGB triplets.
+A color value is an RGB triplet. Use the tqRgb() function (defined in tqcolor.h) to make RGB triplets.
.PP
See also color(), setNumColors(), and numColors().
.PP