diff options
Diffstat (limited to 'doc/html/ntqpixmap.html')
-rw-r--r-- | doc/html/ntqpixmap.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/ntqpixmap.html b/doc/html/ntqpixmap.html index a859372d6..12b2f1f95 100644 --- a/doc/html/ntqpixmap.html +++ b/doc/html/ntqpixmap.html @@ -538,7 +538,7 @@ cannot draw in a null pixmap or <a href="ntqpaintdevice.html#bitBlt">bitBlt</a>( pixmap. <p> <p>See also <a href="#resize">resize</a>(). -<p>Examples: <a href="movies-example.html#x511">movies/main.cpp</a>, <a href="qdir-example.html#x1834">qdir/qdir.cpp</a>, <a href="qmag-example.html#x1785">qmag/qmag.cpp</a>, and <a href="scrollview-example.html#x639">scrollview/scrollview.cpp</a>. +<p>Examples: <a href="movies-example.html#x511">movies/main.cpp</a>, <a href="tqdir-example.html#x1834">tqdir/tqdir.cpp</a>, <a href="qmag-example.html#x1785">qmag/qmag.cpp</a>, and <a href="scrollview-example.html#x639">scrollview/scrollview.cpp</a>. <h3 class=fn>bool <a name="isTQBitmap"></a>TQPixmap::isTQBitmap () const </h3> @@ -669,17 +669,17 @@ returns FALSE. <p> <p>See also <a href="#load">load</a>(), <a href="#loadFromData">loadFromData</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="tqimage.html#save">TQImage::save</a>(), and <a href="tqimageio.html">TQImageIO</a>. <p>Example: <a href="qmag-example.html#x1786">qmag/qmag.cpp</a>. -<h3 class=fn>bool <a name="save-2"></a>TQPixmap::save ( <a href="ntqiodevice.html">TQIODevice</a> * device, const char * format, int quality = -1 ) const +<h3 class=fn>bool <a name="save-2"></a>TQPixmap::save ( <a href="tqiodevice.html">TQIODevice</a> * device, const char * format, int quality = -1 ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> This function writes a TQPixmap to the <a href="ntqiodevice.html">TQIODevice</a>, <em>device</em>. This +<p> This function writes a TQPixmap to the <a href="tqiodevice.html">TQIODevice</a>, <em>device</em>. This can be used, for example, to save a pixmap directly into a TQByteArray: <pre> TQPixmap pixmap; <a href="tqbytearray.html">TQByteArray</a> ba; - <a href="ntqbuffer.html">TQBuffer</a> buffer( ba ); - buffer.<a href="ntqiodevice.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ); + <a href="tqbuffer.html">TQBuffer</a> buffer( ba ); + buffer.<a href="tqiodevice.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ); pixmap.<a href="#save">save</a>( &buffer, "PNG" ); // writes pixmap into ba in PNG format </pre> @@ -781,7 +781,7 @@ that contains all the transformed points of the original image. TQPixmap. <p> <p>See also <a href="#trueMatrix">trueMatrix</a>(), <a href="ntqwmatrix.html">TQWMatrix</a>, <a href="ntqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>(), and <a href="tqimage.html#xForm">TQImage::xForm</a>(). -<p>Examples: <a href="desktop-example.html#x1747">desktop/desktop.cpp</a>, <a href="fileiconview-example.html#x863">fileiconview/qfileiconview.cpp</a>, <a href="movies-example.html#x514">movies/main.cpp</a>, and <a href="qmag-example.html#x1787">qmag/qmag.cpp</a>. +<p>Examples: <a href="desktop-example.html#x1747">desktop/desktop.cpp</a>, <a href="fileiconview-example.html#x863">fileiconview/tqfileiconview.cpp</a>, <a href="movies-example.html#x514">movies/main.cpp</a>, and <a href="qmag-example.html#x1787">qmag/qmag.cpp</a>. <hr><h2>Related Functions</h2> <h3 class=fn>void <a name="copyBlt"></a>copyBlt ( <a href="ntqpixmap.html">TQPixmap</a> * dst, int dx, int dy, const <a href="ntqpixmap.html">TQPixmap</a> * src, int sx, int sy, int sw, int sh ) </h3> @@ -799,14 +799,14 @@ at <em>sx</em> (and respectively, <em>sy</em>) and ending at the right edge (and respectively, the bottom edge) of <em>src</em>. <p> copyBlt() does nothing if <em>src</em> and <em>dst</em> have different depths. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="ntqdatastream.html">TQDataStream</a> & s, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) +<h3 class=fn><a href="tqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="tqdatastream.html">TQDataStream</a> & s, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) </h3> <p> Writes the pixmap <em>pixmap</em> to the stream <em>s</em> as a PNG image. <p> Note that writing the stream to a file will not produce a valid image file. <p> <p>See also <a href="#save">TQPixmap::save</a>() and <a href="datastreamformat.html">Format of the TQDataStream operators</a>. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>operator>> ( <a href="ntqdatastream.html">TQDataStream</a> & s, <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) +<h3 class=fn><a href="tqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>operator>> ( <a href="tqdatastream.html">TQDataStream</a> & s, <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) </h3> <p> Reads a pixmap from the stream <em>s</em> into the pixmap <em>pixmap</em>. |