summaryrefslogtreecommitdiffstats
path: root/doc/html/tqimage.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/tqimage.html
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz
tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqimage.html')
-rw-r--r--doc/html/tqimage.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/tqimage.html b/doc/html/tqimage.html
index 25540be7..bf62f0be 100644
--- a/doc/html/tqimage.html
+++ b/doc/html/tqimage.html
@@ -160,7 +160,7 @@ data. 1-bpp and 8-bpp images use a color lookup table; the pixel
value is a color table index.
<p> 32-bpp images encode an RGB value in 24 bits and ignore the color
table. The most significant byte is used for the <a href="#setAlphaBuffer">alpha buffer</a>.
-<p> An entry in the color table is an RGB triplet encoded as a <tt>uint</tt>. Use the <a href="ntqcolor.html#qRed">tqRed()</a>, <a href="ntqcolor.html#qGreen">tqGreen()</a> and <a href="ntqcolor.html#qBlue">tqBlue()</a> functions (<a href="qcolor-h.html">ntqcolor.h</a>) to access the components, and <a href="ntqcolor.html#qRgb">tqRgb</a> to make an RGB triplet (see the <a href="ntqcolor.html">TQColor</a> class
+<p> An entry in the color table is an RGB triplet encoded as a <tt>uint</tt>. Use the <a href="tqcolor.html#qRed">tqRed()</a>, <a href="tqcolor.html#qGreen">tqGreen()</a> and <a href="tqcolor.html#qBlue">tqBlue()</a> functions (<a href="tqcolor-h.html">tqcolor.h</a>) to access the components, and <a href="tqcolor.html#qRgb">tqRgb</a> to make an RGB triplet (see the <a href="tqcolor.html">TQColor</a> class
documentation).
<p> 1-bpp (monochrome) images have a color table with a most two
colors. There are two different formats: big endian (MSB first) or
@@ -194,7 +194,7 @@ significant byte is reserved for the alpha buffer.
TQImage image;
// sets 32 bit pixel at (x,y) to yellow.
uint *p = (uint *)image.<a href="#scanLine">scanLine</a>(y) + x;
- *p = <a href="ntqcolor.html#qRgb">tqRgb</a>(255,255,0);
+ *p = <a href="tqcolor.html#qRgb">tqRgb</a>(255,255,0);
</pre>
<p> The scanlines are 32-bit aligned for all depths. The constructor
@@ -367,9 +367,9 @@ to <a href="#numBytes">numBytes</a>()/height().
<p> Returns the color in the color table at index <em>i</em>. The first
color is at index 0.
-<p> A color value is an RGB triplet. Use the <a href="ntqcolor.html#qRed">tqRed()</a>, <a href="ntqcolor.html#qGreen">tqGreen()</a> and <a href="ntqcolor.html#qBlue">tqBlue()</a> functions (defined in <a href="qcolor-h.html">ntqcolor.h</a>) to
+<p> A color value is an RGB triplet. Use the <a href="tqcolor.html#qRed">tqRed()</a>, <a href="tqcolor.html#qGreen">tqGreen()</a> and <a href="tqcolor.html#qBlue">tqBlue()</a> functions (defined in <a href="tqcolor-h.html">tqcolor.h</a>) to
get the color value components.
-<p> <p>See also <a href="#setColor">setColor</a>(), <a href="#numColors">numColors</a>(), and <a href="ntqcolor.html">TQColor</a>.
+<p> <p>See also <a href="#setColor">setColor</a>(), <a href="#numColors">numColors</a>(), and <a href="tqcolor.html">TQColor</a>.
<p>Example: <a href="themes-example.html#x207">themes/wood.cpp</a>.
<h3 class=fn>TQRgb * <a name="colorTable"></a>TQImage::colorTable () const
@@ -534,10 +534,10 @@ value is written to each pixel in the image. If the image has an
alpha buffer, only the 24 RGB bits are set and the upper 8 bits
(alpha value) are left unchanged.
<p> Note: <a href="#pixel">TQImage::pixel</a>() returns the color of the pixel at the given
-coordinates; <a href="ntqcolor.html#pixel">TQColor::pixel</a>() returns the pixel value of the
+coordinates; <a href="tqcolor.html#pixel">TQColor::pixel</a>() returns the pixel value of the
underlying window system (essentially an index value), so normally
you will want to use TQImage::pixel() to use a color from an
-existing image or <a href="ntqcolor.html#rgb">TQColor::rgb</a>() to use a specific color.
+existing image or <a href="tqcolor.html#rgb">TQColor::rgb</a>() to use a specific color.
<p> <p>See also <a href="#invertPixels">invertPixels</a>(), <a href="#depth">depth</a>(), <a href="#hasAlphaBuffer">hasAlphaBuffer</a>(), and <a href="#create">create</a>().
<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="fromMimeSource"></a>TQImage::fromMimeSource ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name )<tt> [static]</tt>
@@ -751,7 +751,7 @@ output.
Returns the color of the pixel at the coordinates (<em>x</em>, <em>y</em>).
<p> If (<em>x</em>, <em>y</em>) is not <a href="#valid">on the image</a>, the
results are undefined.
-<p> <p>See also <a href="#setPixel">setPixel</a>(), <a href="ntqcolor.html#qRed">tqRed</a>(), <a href="ntqcolor.html#qGreen">tqGreen</a>(), <a href="ntqcolor.html#qBlue">tqBlue</a>(), and <a href="#valid">valid</a>().
+<p> <p>See also <a href="#setPixel">setPixel</a>(), <a href="tqcolor.html#qRed">tqRed</a>(), <a href="tqcolor.html#qGreen">tqGreen</a>(), <a href="tqcolor.html#qBlue">tqBlue</a>(), and <a href="#valid">valid</a>().
<p>Examples: <a href="canvas-example.html#x2933">canvas/canvas.cpp</a> and <a href="qmag-example.html#x1776">qmag/qmag.cpp</a>.
<h3 class=fn>int <a name="pixelIndex"></a>TQImage::pixelIndex ( int&nbsp;x, int&nbsp;y ) const
@@ -852,8 +852,8 @@ returned.
pointer to <tt>TQRgb*</tt> (TQRgb has a 32-bit size) and use it to
read/write the pixel value. You cannot use the <tt>uchar*</tt> pointer
directly, because the pixel format depends on the byte order on
-the underlying platform. Hint: use <a href="ntqcolor.html#qRed">tqRed()</a>,
-<a href="ntqcolor.html#qGreen">tqGreen()</a> and <a href="ntqcolor.html#qBlue">tqBlue()</a>, etc. (ntqcolor.h) to access the pixels.
+the underlying platform. Hint: use <a href="tqcolor.html#qRed">tqRed()</a>,
+<a href="tqcolor.html#qGreen">tqGreen()</a> and <a href="tqcolor.html#qBlue">tqBlue()</a>, etc. (tqcolor.h) to access the pixels.
<p> <p>See also <a href="#bytesPerLine">bytesPerLine</a>(), <a href="#bits">bits</a>(), and <a href="#jumpTable">jumpTable</a>().
<p>Example: <a href="desktop-example.html#x1729">desktop/desktop.cpp</a>.
@@ -878,7 +878,7 @@ to a <a href="ntqpixmap.html">TQPixmap</a>.
</h3>
<p> Sets a color in the color table at index <em>i</em> to <em>c</em>.
-<p> A color value is an RGB triplet. Use the <a href="ntqcolor.html#qRgb">tqRgb()</a> function (defined in <a href="qcolor-h.html">ntqcolor.h</a>) to make RGB
+<p> A color value is an RGB triplet. Use the <a href="tqcolor.html#qRgb">tqRgb()</a> function (defined in <a href="tqcolor-h.html">tqcolor.h</a>) to make RGB
triplets.
<p> <p>See also <a href="#color">color</a>(), <a href="#setNumColors">setNumColors</a>(), and <a href="#numColors">numColors</a>().
@@ -909,7 +909,7 @@ Sets the pixel index or color at the coordinates (<em>x</em>, <em>y</em>) to
<p> If (<em>x</em>, <em>y</em>) is not <a href="#valid">valid</a>, the result is
undefined.
<p> If the image is a paletted image (<a href="#depth">depth</a>() &lt;= 8) and <em>index_or_rgb</em> &gt;= <a href="#numColors">numColors</a>(), the result is undefined.
-<p> <p>See also <a href="#pixelIndex">pixelIndex</a>(), <a href="#pixel">pixel</a>(), <a href="ntqcolor.html#qRgb">tqRgb</a>(), <a href="ntqcolor.html#qRgba">tqRgba</a>(), and <a href="#valid">valid</a>().
+<p> <p>See also <a href="#pixelIndex">pixelIndex</a>(), <a href="#pixel">pixel</a>(), <a href="tqcolor.html#qRgb">tqRgb</a>(), <a href="tqcolor.html#qRgba">tqRgba</a>(), and <a href="#valid">valid</a>().
<h3 class=fn>void <a name="setText"></a>TQImage::setText ( const&nbsp;char&nbsp;*&nbsp;key, const&nbsp;char&nbsp;*&nbsp;lang, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;s )
</h3>