diff options
Diffstat (limited to 'doc/html/tqimage.html')
-rw-r--r-- | doc/html/tqimage.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/tqimage.html b/doc/html/tqimage.html index 74b78d411..d47f9d982 100644 --- a/doc/html/tqimage.html +++ b/doc/html/tqimage.html @@ -279,7 +279,7 @@ Constructs an image with size <em>size</em> pixels, depth <em>depth</em> bits, image and then calling the <a href="#create">create</a>() function. <p> <p>See also <a href="#create">create</a>(). -<h3 class=fn><a name="TQImage-4"></a>TQImage::TQImage ( const <a href="ntqstring.html">TQString</a> & fileName, const char * format = 0 ) +<h3 class=fn><a name="TQImage-4"></a>TQImage::TQImage ( const <a href="tqstring.html">TQString</a> & fileName, const char * format = 0 ) </h3> Constructs an image and tries to load the image from the file <em>fileName</em>. <p> If <em>format</em> is specified, the loader attempts to read the image @@ -557,7 +557,7 @@ 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. <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 <a href="ntqstring.html">TQString</a> & abs_name )<tt> [static]</tt> +<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="fromMimeSource"></a>TQImage::fromMimeSource ( const <a href="tqstring.html">TQString</a> & abs_name )<tt> [static]</tt> </h3> Convenience function. Gets the data associated with the absolute name <em>abs_name</em> from the default mime source factory and decodes it to an image. @@ -577,7 +577,7 @@ FALSE. <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>. -<h3 class=fn>const char * <a name="imageFormat"></a>TQImage::imageFormat ( const <a href="ntqstring.html">TQString</a> & fileName )<tt> [static]</tt> +<h3 class=fn>const char * <a name="imageFormat"></a>TQImage::imageFormat ( const <a href="tqstring.html">TQString</a> & 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 recognized. @@ -586,14 +586,14 @@ formats, or use <a href="#inputFormats">TQImage::inputFormats</a>() and <a href= to get lists that include the installed formats. <p> <p>See also <a href="#load">load</a>() and <a href="#save">save</a>(). -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="inputFormatList"></a>TQImage::inputFormatList ()<tt> [static]</tt> +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="inputFormatList"></a>TQImage::inputFormatList ()<tt> [static]</tt> </h3> Returns a list of image formats that are supported for image input. <p> Note that if you want to iterate over the list, you should iterate over a copy, e.g. <pre> - <a href="ntqstringlist.html">TQStringList</a> list = myImage.inputFormatList(); + <a href="tqstringlist.html">TQStringList</a> list = myImage.inputFormatList(); TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); @@ -604,7 +604,7 @@ over a copy, e.g. <p> <p>See also <a href="#outputFormatList">outputFormatList</a>(), <a href="#inputFormats">inputFormats</a>(), and <a href="tqimageio.html">TQImageIO</a>. <p>Example: <a href="showimg-example.html#x1321">showimg/showimg.cpp</a>. -<h3 class=fn><a href="ntqstrlist.html">TQStrList</a> <a name="inputFormats"></a>TQImage::inputFormats ()<tt> [static]</tt> +<h3 class=fn><a href="tqstrlist.html">TQStrList</a> <a name="inputFormats"></a>TQImage::inputFormats ()<tt> [static]</tt> </h3> Returns a list of image formats that are supported for image input. @@ -644,7 +644,7 @@ FALSE. <p> This is the beginning of the data block for the image. <p> <p>See also <a href="#bits">bits</a>() and <a href="#scanLine">scanLine</a>(). -<h3 class=fn>bool <a name="load"></a>TQImage::load ( const <a href="ntqstring.html">TQString</a> & fileName, const char * format = 0 ) +<h3 class=fn>bool <a name="load"></a>TQImage::load ( const <a href="tqstring.html">TQString</a> & fileName, const char * format = 0 ) </h3> Loads an image from the file <em>fileName</em>. Returns TRUE if the image was successfully loaded; otherwise returns FALSE. @@ -739,14 +739,14 @@ is some obvious difference, such as different widths, in which case the function will return quickly. <p> <p>See also <a href="#operator-eq">operator=</a>(). -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="outputFormatList"></a>TQImage::outputFormatList ()<tt> [static]</tt> +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="outputFormatList"></a>TQImage::outputFormatList ()<tt> [static]</tt> </h3> Returns a list of image formats that are supported for image output. <p> Note that if you want to iterate over the list, you should iterate over a copy, e.g. <pre> - <a href="ntqstringlist.html">TQStringList</a> list = myImage.outputFormatList(); + <a href="tqstringlist.html">TQStringList</a> list = myImage.outputFormatList(); TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); @@ -756,7 +756,7 @@ over a copy, e.g. <p> <p>See also <a href="#inputFormatList">inputFormatList</a>(), <a href="#outputFormats">outputFormats</a>(), and <a href="tqimageio.html">TQImageIO</a>. -<h3 class=fn><a href="ntqstrlist.html">TQStrList</a> <a name="outputFormats"></a>TQImage::outputFormats ()<tt> [static]</tt> +<h3 class=fn><a href="tqstrlist.html">TQStrList</a> <a name="outputFormats"></a>TQImage::outputFormats ()<tt> [static]</tt> </h3> Returns a list of image formats that are supported for image output. @@ -790,7 +790,7 @@ image. </h3> Resets all image parameters and deallocates the image data. -<h3 class=fn>bool <a name="save"></a>TQImage::save ( const <a href="ntqstring.html">TQString</a> & fileName, const char * format, int quality = -1 ) const +<h3 class=fn>bool <a name="save"></a>TQImage::save ( const <a href="tqstring.html">TQString</a> & fileName, const char * format, int quality = -1 ) const </h3> Saves the image to the file <em>fileName</em>, using the image file format <em>format</em> and a quality factor of <em>quality</em>. <em>quality</em> @@ -930,7 +930,7 @@ undefined. <p> If the image is a paletted image (<a href="#depth">depth</a>() <= 8) and <em>index_or_rgb</em> >= <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>(). -<h3 class=fn>void <a name="setText"></a>TQImage::setText ( const char * key, const char * lang, const <a href="ntqstring.html">TQString</a> & s ) +<h3 class=fn>void <a name="setText"></a>TQImage::setText ( const char * key, const char * lang, const <a href="tqstring.html">TQString</a> & s ) </h3> Records string <em>s</em> for the keyword <em>key</em>. The <em>key</em> should be a portable keyword recognizable by other software - some suggested @@ -993,22 +993,22 @@ Determines the host computer byte order. Returns TQImage::LittleEndian (LSB first) or TQImage::BigEndian (MSB first). <p> <p>See also <a href="#systemBitOrder">systemBitOrder</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQImage::text ( const char * key, const char * lang = 0 ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text"></a>TQImage::text ( const char * key, const char * lang = 0 ) const </h3> Returns the string recorded for the keyword <em>key</em> in language <em>lang</em>, or in a default language if <em>lang</em> is 0. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text-2"></a>TQImage::text ( const TQImageTextKeyLang & kl ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text-2"></a>TQImage::text ( const TQImageTextKeyLang & kl ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the string recorded for the keyword and language <em>kl</em>. -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="textKeys"></a>TQImage::textKeys () const +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="textKeys"></a>TQImage::textKeys () const </h3> Returns the keywords for which some texts are recorded. <p> Note that if you want to iterate over the list, you should iterate over a copy, e.g. <pre> - <a href="ntqstringlist.html">TQStringList</a> list = myImage.textKeys(); + <a href="tqstringlist.html">TQStringList</a> list = myImage.textKeys(); TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); @@ -1018,14 +1018,14 @@ over a copy, e.g. <p> <p>See also <a href="#textList">textList</a>(), <a href="#text">text</a>(), <a href="#setText">setText</a>(), and <a href="#textLanguages">textLanguages</a>(). -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="textLanguages"></a>TQImage::textLanguages () const +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="textLanguages"></a>TQImage::textLanguages () const </h3> Returns the language identifiers for which some texts are recorded. <p> Note that if you want to iterate over the list, you should iterate over a copy, e.g. <pre> - <a href="ntqstringlist.html">TQStringList</a> list = myImage.textLanguages(); + <a href="tqstringlist.html">TQStringList</a> list = myImage.textLanguages(); TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); |