summaryrefslogtreecommitdiffstats
path: root/doc/html/tqimage.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqimage.html')
-rw-r--r--doc/html/tqimage.html42
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/tqimage.html b/doc/html/tqimage.html
index bf62f0be0..b04b30b86 100644
--- a/doc/html/tqimage.html
+++ b/doc/html/tqimage.html
@@ -149,11 +149,11 @@ representation with direct access to the pixel data.
<p> It is one of the two classes TQt provides for dealing with images,
-the other being <a href="ntqpixmap.html">TQPixmap</a>. TQImage is designed and optimized for I/O
+the other being <a href="tqpixmap.html">TQPixmap</a>. 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: <a href="ntqpixmap.html#convertToImage">TQPixmap::convertToImage</a>() and
-<a href="ntqpixmap.html#convertFromImage">TQPixmap::convertFromImage</a>().
+between TQImage and TQPixmap: <a href="tqpixmap.html#convertToImage">TQPixmap::convertToImage</a>() and
+<a href="tqpixmap.html#convertFromImage">TQPixmap::convertFromImage</a>().
<p> An image has the parameters <a href="#width">width</a>, <a href="#height">height</a> and <a href="#depth">depth</a> (bits per
pixel, bpp), a color table and the actual <a href="#bits">pixels</a>. TQImage supports 1-bpp, 8-bpp and 32-bpp image
data. 1-bpp and 8-bpp images use a color lookup table; the pixel
@@ -221,7 +221,7 @@ with <a href="#load">load</a>() (or in the constructor) or from an array of data
<p> The TQImage class uses explicit <a href="shclass.html">sharing</a>,
similar to that used by <a href="tqmemarray.html">TQMemArray</a>.
<p> New image formats can be added as <a href="plugins-howto.html">plugins</a>.
-<p> <p>See also <a href="tqimageio.html">TQImageIO</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="shclass.html">Shared Classes</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>.
+<p> <p>See also <a href="tqimageio.html">TQImageIO</a>, <a href="tqpixmap.html">TQPixmap</a>, <a href="shclass.html">Shared Classes</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>.
<hr><h2>Member Type Documentation</h2>
<h3 class=fn><a name="Endian-enum"></a>TQImage::Endian</h3>
@@ -354,7 +354,7 @@ TQImage::IgnoreEndian.
<a href="#scanLine">scanLine</a>(0).
<p> <p>See also <a href="#numBytes">numBytes</a>(), <a href="#scanLine">scanLine</a>(), and <a href="#jumpTable">jumpTable</a>().
-<p>Example: <a href="qglwidget.html#x2119">opengl/texture/gltexobj.cpp</a>.
+<p>Example: <a href="tqglwidget.html#x2119">opengl/texture/gltexobj.cpp</a>.
<h3 class=fn>int <a name="bytesPerLine"></a>TQImage::bytesPerLine () const
</h3>
@@ -434,7 +434,7 @@ this image pixels are filled with pixel 0.
result (e.g. converting from 32-bit to 8-bit), use the <em>conversion_flags</em> to specify how you'd prefer this to happen.
<p> <p>See also <a href="#bitBlt">bitBlt</a>() and <a href="ntqt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>.
-<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="copy-3"></a>TQImage::copy ( const&nbsp;<a href="ntqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r ) const
+<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="copy-3"></a>TQImage::copy ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns a <a href="shclass.html">deep copy</a> of a sub-area of
@@ -467,7 +467,7 @@ This is an overloaded member function, provided for convenience. It behaves esse
</h3>
Builds and returns a 1-bpp mask from the alpha buffer in this
image. Returns a <a href="#isNull">null</a> image if <a href="#setAlphaBuffer">alpha buffer mode</a> is disabled.
-<p> See <a href="ntqpixmap.html#convertFromImage">TQPixmap::convertFromImage</a>() for a description of the <em>conversion_flags</em> argument.
+<p> See <a href="tqpixmap.html#convertFromImage">TQPixmap::convertFromImage</a>() for a description of the <em>conversion_flags</em> argument.
<p> The returned image has little-endian bit order, which you can
convert to big-endianness using <a href="#convertBitOrder">convertBitOrder</a>().
<p> <p>See also <a href="#createHeuristicMask">createHeuristicMask</a>(), <a href="#hasAlphaBuffer">hasAlphaBuffer</a>(), and <a href="#setAlphaBuffer">setAlphaBuffer</a>().
@@ -559,7 +559,7 @@ FALSE.
<p> Returns the height of the image.
<p> <p>See also <a href="#width">width</a>(), <a href="#size">size</a>(), and <a href="#rect">rect</a>().
-<p>Examples: <a href="canvas-example.html#x2932">canvas/canvas.cpp</a> and <a href="qglwidget.html#x2120">opengl/texture/gltexobj.cpp</a>.
+<p>Examples: <a href="canvas-example.html#x2932">canvas/canvas.cpp</a> and <a href="tqglwidget.html#x2120">opengl/texture/gltexobj.cpp</a>.
<h3 class=fn>const char * <a name="imageFormat"></a>TQImage::imageFormat ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;fileName )<tt> [static]</tt>
</h3>
Returns a string that specifies the image format of the file <em>fileName</em>, or 0 if the file cannot be read or if the format is not
@@ -637,7 +637,7 @@ is the default), the loader reads a few bytes from the header to
guess the file format.
<p> The <a href="tqimageio.html">TQImageIO</a> documentation lists the supported image formats and
explains how to add extra formats.
-<p> <p>See also <a href="#loadFromData">loadFromData</a>(), <a href="#save">save</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="ntqpixmap.html#load">TQPixmap::load</a>(), and <a href="tqimageio.html">TQImageIO</a>.
+<p> <p>See also <a href="#loadFromData">loadFromData</a>(), <a href="#save">save</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="tqpixmap.html#load">TQPixmap::load</a>(), and <a href="tqimageio.html">TQImageIO</a>.
<h3 class=fn>bool <a name="loadFromData"></a>TQImage::loadFromData ( const&nbsp;uchar&nbsp;*&nbsp;buf, uint&nbsp;len, const&nbsp;char&nbsp;*&nbsp;format = 0 )
</h3>
@@ -649,7 +649,7 @@ is the default), the loader reads a few bytes from the header to
guess the file format.
<p> The <a href="tqimageio.html">TQImageIO</a> documentation lists the supported image formats and
explains how to add extra formats.
-<p> <p>See also <a href="#load">load</a>(), <a href="#save">save</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="ntqpixmap.html#loadFromData">TQPixmap::loadFromData</a>(), and <a href="tqimageio.html">TQImageIO</a>.
+<p> <p>See also <a href="#load">load</a>(), <a href="#save">save</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="tqpixmap.html#loadFromData">TQPixmap::loadFromData</a>(), and <a href="tqimageio.html">TQImageIO</a>.
<h3 class=fn>bool <a name="loadFromData-2"></a>TQImage::loadFromData ( <a href="tqbytearray.html">TQByteArray</a>&nbsp;buf, const&nbsp;char&nbsp;*&nbsp;format = 0 )
</h3>
@@ -685,7 +685,7 @@ but instead encode pixel values as RGB triplets.
<p> <p>See also <a href="#setNumColors">setNumColors</a>() and <a href="#colorTable">colorTable</a>().
<p>Example: <a href="themes-example.html#x209">themes/wood.cpp</a>.
-<h3 class=fn><a href="ntqpoint.html">TQPoint</a> <a name="offset"></a>TQImage::offset () const
+<h3 class=fn><a href="tqpoint.html">TQPoint</a> <a name="offset"></a>TQImage::offset () const
</h3>
<p> Returns the number of pixels by which the image is intended to be
@@ -705,14 +705,14 @@ Assigns a <a href="shclass.html">shallow copy</a> of <em>image</em> to
this image and returns a reference to this image.
<p> <p>See also <a href="#copy">copy</a>().
-<h3 class=fn><a href="tqimage.html">TQImage</a>&nbsp;&amp; <a name="operator-eq-2"></a>TQImage::operator= ( const&nbsp;<a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap )
+<h3 class=fn><a href="tqimage.html">TQImage</a>&nbsp;&amp; <a name="operator-eq-2"></a>TQImage::operator= ( const&nbsp;<a href="tqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Sets the image bits to the <em>pixmap</em> contents and returns a
reference to the image.
<p> If the image shares data with other images, it will first
dereference the shared data.
-<p> Makes a call to <a href="ntqpixmap.html#convertToImage">TQPixmap::convertToImage</a>().
+<p> Makes a call to <a href="tqpixmap.html#convertToImage">TQPixmap::convertToImage</a>().
<h3 class=fn>bool <a name="operator-eq-eq"></a>TQImage::operator== ( const&nbsp;<a href="tqimage.html">TQImage</a>&nbsp;&amp;&nbsp;i ) const
</h3>
@@ -762,7 +762,7 @@ image is not a paletted image (<a href="#depth">depth</a>() &gt; 8), the results
undefined.
<p> <p>See also <a href="#valid">valid</a>() and <a href="#depth">depth</a>().
-<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="rect"></a>TQImage::rect () const
+<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="rect"></a>TQImage::rect () const
</h3>
<p> Returns the enclosing rectangle (0, 0, <a href="#width">width</a>(), <a href="#height">height</a>()) of the
@@ -782,7 +782,7 @@ compressed files, 100 for large uncompressed files, and -1 (the
default) to use the default settings.
<p> Returns TRUE if the image was successfully saved; otherwise
returns FALSE.
-<p> <p>See also <a href="#load">load</a>(), <a href="#loadFromData">loadFromData</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="ntqpixmap.html#save">TQPixmap::save</a>(), and <a href="tqimageio.html">TQImageIO</a>.
+<p> <p>See also <a href="#load">load</a>(), <a href="#loadFromData">loadFromData</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="tqpixmap.html#save">TQPixmap::save</a>(), and <a href="tqimageio.html">TQImageIO</a>.
<h3 class=fn>bool <a name="save-2"></a>TQImage::save ( <a href="tqiodevice.html">TQIODevice</a>&nbsp;*&nbsp;device, const&nbsp;char&nbsp;*&nbsp;format, int&nbsp;quality = -1 ) const
</h3>
@@ -871,7 +871,7 @@ contain the alpha component.
completely transparent and 255 means opaque. The alpha component
is ignored if you do not enable alpha buffer mode.
<p> The alpha buffer is used to set a mask when a TQImage is translated
-to a <a href="ntqpixmap.html">TQPixmap</a>.
+to a <a href="tqpixmap.html">TQPixmap</a>.
<p> <p>See also <a href="#hasAlphaBuffer">hasAlphaBuffer</a>() and <a href="#createAlphaMask">createAlphaMask</a>().
<h3 class=fn>void <a name="setColor"></a>TQImage::setColor ( int&nbsp;i, TQRgb&nbsp;c )
@@ -898,7 +898,7 @@ Resizes the color table to <em>numColors</em> colors.
black (RGB 0,0,0).
<p> <p>See also <a href="#numColors">numColors</a>(), <a href="#color">color</a>(), <a href="#setColor">setColor</a>(), and <a href="#colorTable">colorTable</a>().
-<h3 class=fn>void <a name="setOffset"></a>TQImage::setOffset ( const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p )
+<h3 class=fn>void <a name="setOffset"></a>TQImage::setOffset ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p )
</h3>
Sets the value returned by <a href="#offset">offset</a>() to <em>p</em>.
@@ -1045,15 +1045,15 @@ otherwise returns FALSE.
<p> Returns the width of the image.
<p> <p>See also <a href="#height">height</a>(), <a href="#size">size</a>(), and <a href="#rect">rect</a>().
-<p>Examples: <a href="canvas-example.html#x2935">canvas/canvas.cpp</a> and <a href="qglwidget.html#x2121">opengl/texture/gltexobj.cpp</a>.
-<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="xForm"></a>TQImage::xForm ( const&nbsp;<a href="ntqwmatrix.html">TQWMatrix</a>&nbsp;&amp;&nbsp;matrix ) const
+<p>Examples: <a href="canvas-example.html#x2935">canvas/canvas.cpp</a> and <a href="tqglwidget.html#x2121">opengl/texture/gltexobj.cpp</a>.
+<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="xForm"></a>TQImage::xForm ( const&nbsp;<a href="tqwmatrix.html">TQWMatrix</a>&nbsp;&amp;&nbsp;matrix ) const
</h3>
Returns a copy of the image that is transformed using the
-<a href="ntqwmatrix.html#TransformationMode">transformation matrix</a>, <em>matrix</em>.
+<a href="tqwmatrix.html#TransformationMode">transformation matrix</a>, <em>matrix</em>.
<p> The transformation <em>matrix</em> is internally adjusted to compensate
for unwanted translation, i.e. <a href="#xForm">xForm</a>() returns the smallest image
that contains all the transformed points of the original image.
-<p> <p>See also <a href="#scale">scale</a>(), <a href="ntqpixmap.html#xForm">TQPixmap::xForm</a>(), <a href="ntqpixmap.html#trueMatrix">TQPixmap::trueMatrix</a>(), and <a href="ntqwmatrix.html">TQWMatrix</a>.
+<p> <p>See also <a href="#scale">scale</a>(), <a href="tqpixmap.html#xForm">TQPixmap::xForm</a>(), <a href="tqpixmap.html#trueMatrix">TQPixmap::trueMatrix</a>(), and <a href="tqwmatrix.html">TQWMatrix</a>.
<hr><h2>Related Functions</h2>
<h3 class=fn>void <a name="bitBlt"></a>bitBlt ( <a href="tqimage.html">TQImage</a>&nbsp;*&nbsp;dst, int&nbsp;dx, int&nbsp;dy, const&nbsp;<a href="tqimage.html">TQImage</a>&nbsp;*&nbsp;src, int&nbsp;sx, int&nbsp;sy, int&nbsp;sw, int&nbsp;sh, int&nbsp;conversion_flags )