diff options
Diffstat (limited to 'doc/html/tqbitmap.html')
-rw-r--r-- | doc/html/tqbitmap.html | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/tqbitmap.html b/doc/html/tqbitmap.html index abea71e97..18a70c8fa 100644 --- a/doc/html/tqbitmap.html +++ b/doc/html/tqbitmap.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQBitmap class provides monochrome (1-bit depth) pixmaps. <a href="#details">More...</a> <p><tt>#include <<a href="tqbitmap-h.html">tqbitmap.h</a>></tt> -<p>Inherits <a href="ntqpixmap.html">TQPixmap</a>. +<p>Inherits <a href="tqpixmap.html">TQPixmap</a>. <p><a href="tqbitmap-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -59,12 +59,12 @@ The TQBitmap class provides monochrome (1-bit depth) pixmaps. <p> The TQBitmap class is a monochrome off-screen paint device used mainly for creating custom <a href="ntqcursor.html">TQCursor</a> and <a href="tqbrush.html">TQBrush</a> objects, in -<a href="ntqpixmap.html#setMask">TQPixmap::setMask</a>() and for <a href="ntqregion.html">TQRegion</a>. -<p> A TQBitmap is a <a href="ntqpixmap.html">TQPixmap</a> with a <a href="ntqpixmap.html#depth">depth</a> +<a href="tqpixmap.html#setMask">TQPixmap::setMask</a>() and for <a href="tqregion.html">TQRegion</a>. +<p> A TQBitmap is a <a href="tqpixmap.html">TQPixmap</a> with a <a href="tqpixmap.html#depth">depth</a> of 1. If a pixmap with a depth greater than 1 is assigned to a bitmap, the bitmap will be dithered automatically. A TQBitmap is guaranteed to always have the depth 1, unless it is -<a href="ntqpixmap.html#isNull">TQPixmap::isNull</a>() which has depth 0. +<a href="tqpixmap.html#isNull">TQPixmap::isNull</a>() which has depth 0. <p> When drawing in a TQBitmap (or TQPixmap with depth 1), we recommend using the <a href="tqcolor.html">TQColor</a> objects <tt>TQt::color0</tt> and <tt>TQt::color1</tt>. Painting with <tt>color0</tt> sets the bitmap bits to 0, and painting @@ -75,18 +75,18 @@ sense because the <a href="tqcolor.html#pixel">TQColor::pixel</a>() value is not black and 1 for white. <p> The TQBitmap can be transformed (translated, scaled, sheared or rotated) using <a href="#xForm">xForm</a>(). -<p> Just like the <a href="ntqpixmap.html">TQPixmap</a> class, TQBitmap is optimized by the use of +<p> Just like the <a href="tqpixmap.html">TQPixmap</a> class, TQBitmap is optimized by the use of <a href="shclass.html">implicit sharing</a>, so it is very efficient to pass TQBitmap objects as arguments. -<p> <p>See also <a href="ntqpixmap.html">TQPixmap</a>, <a href="tqpainter.html#drawPixmap">TQPainter::drawPixmap</a>(), <a href="tqpaintdevice.html#bitBlt">bitBlt</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="tqpixmap.html">TQPixmap</a>, <a href="tqpainter.html#drawPixmap">TQPainter::drawPixmap</a>(), <a href="tqpaintdevice.html#bitBlt">bitBlt</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 Function Documentation</h2> <h3 class=fn><a name="TQBitmap"></a>TQBitmap::TQBitmap () </h3> Constructs a null bitmap. -<p> <p>See also <a href="ntqpixmap.html#isNull">TQPixmap::isNull</a>(). +<p> <p>See also <a href="tqpixmap.html#isNull">TQPixmap::isNull</a>(). -<h3 class=fn><a name="TQBitmap-2"></a>TQBitmap::TQBitmap ( int w, int h, bool clear = FALSE, <a href="ntqpixmap.html#Optimization-enum">TQPixmap::Optimization</a> optimization = TQPixmap::DefaultOptim ) +<h3 class=fn><a name="TQBitmap-2"></a>TQBitmap::TQBitmap ( int w, int h, bool clear = FALSE, <a href="tqpixmap.html#Optimization-enum">TQPixmap::Optimization</a> optimization = TQPixmap::DefaultOptim ) </h3> Constructs a bitmap with width <em>w</em> and height <em>h</em>. <p> The contents of the bitmap is uninitialized if <em>clear</em> is FALSE; @@ -94,10 +94,10 @@ otherwise it is filled with pixel value 0 (the <a href="tqcolor.html">TQColor</a <p> The optional <em>optimization</em> argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may -benefit from setting this argument; see <a href="ntqpixmap.html#Optimization-enum">TQPixmap::Optimization</a>. -<p> <p>See also <a href="ntqpixmap.html#setOptimization">TQPixmap::setOptimization</a>() and <a href="ntqpixmap.html#setDefaultOptimization">TQPixmap::setDefaultOptimization</a>(). +benefit from setting this argument; see <a href="tqpixmap.html#Optimization-enum">TQPixmap::Optimization</a>. +<p> <p>See also <a href="tqpixmap.html#setOptimization">TQPixmap::setOptimization</a>() and <a href="tqpixmap.html#setDefaultOptimization">TQPixmap::setDefaultOptimization</a>(). -<h3 class=fn><a name="TQBitmap-3"></a>TQBitmap::TQBitmap ( const <a href="tqsize.html">TQSize</a> & size, bool clear = FALSE, <a href="ntqpixmap.html#Optimization-enum">TQPixmap::Optimization</a> optimization = TQPixmap::DefaultOptim ) +<h3 class=fn><a name="TQBitmap-3"></a>TQBitmap::TQBitmap ( const <a href="tqsize.html">TQSize</a> & size, bool clear = FALSE, <a href="tqpixmap.html#Optimization-enum">TQPixmap::Optimization</a> optimization = TQPixmap::DefaultOptim ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Constructs a bitmap with the size <em>size</em>. @@ -106,7 +106,7 @@ otherwise it is filled with pixel value 0 (the <a href="tqcolor.html">TQColor</a <p> The optional <em>optimization</em> argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may -benefit from setting this argument; see <a href="ntqpixmap.html#Optimization-enum">TQPixmap::Optimization</a>. +benefit from setting this argument; see <a href="tqpixmap.html#Optimization-enum">TQPixmap::Optimization</a>. <h3 class=fn><a name="TQBitmap-4"></a>TQBitmap::TQBitmap ( int w, int h, const uchar * bits, bool isXbitmap = FALSE ) </h3> @@ -141,21 +141,21 @@ Constructs a bitmap from the file <em>fileName</em>. If the file does not exist or is of an unknown format, the bitmap becomes a null bitmap. <p> The parameters <em>fileName</em> and <em>format</em> are passed on to -<a href="ntqpixmap.html#load">TQPixmap::load</a>(). Dithering will be performed if the file format +<a href="tqpixmap.html#load">TQPixmap::load</a>(). Dithering will be performed if the file format uses more than 1 bit per pixel. -<p> <p>See also <a href="ntqpixmap.html#isNull">TQPixmap::isNull</a>(), <a href="ntqpixmap.html#load">TQPixmap::load</a>(), <a href="ntqpixmap.html#loadFromData">TQPixmap::loadFromData</a>(), <a href="ntqpixmap.html#save">TQPixmap::save</a>(), and <a href="ntqpixmap.html#imageFormat">TQPixmap::imageFormat</a>(). +<p> <p>See also <a href="tqpixmap.html#isNull">TQPixmap::isNull</a>(), <a href="tqpixmap.html#load">TQPixmap::load</a>(), <a href="tqpixmap.html#loadFromData">TQPixmap::loadFromData</a>(), <a href="tqpixmap.html#save">TQPixmap::save</a>(), and <a href="tqpixmap.html#imageFormat">TQPixmap::imageFormat</a>(). <h3 class=fn><a href="tqbitmap.html">TQBitmap</a> & <a name="operator-eq"></a>TQBitmap::operator= ( const <a href="tqbitmap.html">TQBitmap</a> & bitmap ) </h3> Assigns the bitmap <em>bitmap</em> to this bitmap and returns a reference to this bitmap. -<h3 class=fn><a href="tqbitmap.html">TQBitmap</a> & <a name="operator-eq-2"></a>TQBitmap::operator= ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) +<h3 class=fn><a href="tqbitmap.html">TQBitmap</a> & <a name="operator-eq-2"></a>TQBitmap::operator= ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Assigns the pixmap <em>pixmap</em> to this bitmap and returns a reference to this bitmap. -<p> Dithering will be performed if the pixmap has a <a href="ntqpixmap.html#depth">TQPixmap::depth</a>() +<p> Dithering will be performed if the pixmap has a <a href="tqpixmap.html#depth">TQPixmap::depth</a>() greater than 1. <h3 class=fn><a href="tqbitmap.html">TQBitmap</a> & <a name="operator-eq-3"></a>TQBitmap::operator= ( const <a href="tqimage.html">TQImage</a> & image ) @@ -166,12 +166,12 @@ this bitmap. Returns a reference to the bitmap. <p> Dithering will be performed if the image has a <a href="tqimage.html#depth">TQImage::depth</a>() greater than 1. -<h3 class=fn><a href="tqbitmap.html">TQBitmap</a> <a name="xForm"></a>TQBitmap::xForm ( const <a href="ntqwmatrix.html">TQWMatrix</a> & matrix ) const +<h3 class=fn><a href="tqbitmap.html">TQBitmap</a> <a name="xForm"></a>TQBitmap::xForm ( const <a href="tqwmatrix.html">TQWMatrix</a> & matrix ) const </h3> Returns a transformed copy of this bitmap by using <em>matrix</em>. -<p> This function does exactly the same as <a href="ntqpixmap.html#xForm">TQPixmap::xForm</a>(), except -that it returns a TQBitmap instead of a <a href="ntqpixmap.html">TQPixmap</a>. -<p> <p>See also <a href="ntqpixmap.html#xForm">TQPixmap::xForm</a>(). +<p> This function does exactly the same as <a href="tqpixmap.html#xForm">TQPixmap::xForm</a>(), except +that it returns a TQBitmap instead of a <a href="tqpixmap.html">TQPixmap</a>. +<p> <p>See also <a href="tqpixmap.html#xForm">TQPixmap::xForm</a>(). <!-- eof --> <hr><p> |