diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/ntqbitmap.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqbitmap.html')
| -rw-r--r-- | doc/html/ntqbitmap.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/ntqbitmap.html b/doc/html/ntqbitmap.html index f0e55c2de..c1b521ea7 100644 --- a/doc/html/ntqbitmap.html +++ b/doc/html/ntqbitmap.html @@ -39,10 +39,10 @@ body { background: #ffffff; color: black; } <h2>Public Members</h2> <ul> <li class=fn><a href="#TQBitmap"><b>TQBitmap</b></a> ()</li> -<li class=fn><a href="#TQBitmap-2"><b>TQBitmap</b></a> ( int w, int h, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )</li> -<li class=fn><a href="#TQBitmap-3"><b>TQBitmap</b></a> ( const TQSize & size, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )</li> -<li class=fn><a href="#TQBitmap-4"><b>TQBitmap</b></a> ( int w, int h, const uchar * bits, bool isXbitmap = FALSE )</li> -<li class=fn><a href="#TQBitmap-5"><b>TQBitmap</b></a> ( const TQSize & size, const uchar * bits, bool isXbitmap = FALSE )</li> +<li class=fn><a href="#TQBitmap-2"><b>TQBitmap</b></a> ( int w, int h, bool clear = false, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )</li> +<li class=fn><a href="#TQBitmap-3"><b>TQBitmap</b></a> ( const TQSize & size, bool clear = false, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )</li> +<li class=fn><a href="#TQBitmap-4"><b>TQBitmap</b></a> ( int w, int h, const uchar * bits, bool isXbitmap = false )</li> +<li class=fn><a href="#TQBitmap-5"><b>TQBitmap</b></a> ( const TQSize & size, const uchar * bits, bool isXbitmap = false )</li> <li class=fn><a href="#TQBitmap-6"><b>TQBitmap</b></a> ( const TQBitmap & bitmap )</li> <li class=fn><a href="#TQBitmap-7"><b>TQBitmap</b></a> ( const TQString & fileName, const char * format = 0 )</li> <li class=fn>TQBitmap & <a href="#operator-eq"><b>operator=</b></a> ( const TQBitmap & bitmap )</li> @@ -86,10 +86,10 @@ efficient to pass TQBitmap objects as arguments. Constructs a null bitmap. <p> <p>See also <a href="ntqpixmap.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="ntqpixmap.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; +<p> The contents of the bitmap is uninitialized if <em>clear</em> is false; otherwise it is filled with pixel value 0 (the <a href="ntqcolor.html">TQColor</a> <tt>TQt::color0</tt>). <p> The optional <em>optimization</em> argument specifies the optimization setting for the bitmap. The default optimization should be used in @@ -97,37 +97,37 @@ 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>(). -<h3 class=fn><a name="TQBitmap-3"></a>TQBitmap::TQBitmap ( const <a href="ntqsize.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="ntqsize.html">TQSize</a> & size, bool clear = false, <a href="ntqpixmap.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>. -<p> The contents of the bitmap is uninitialized if <em>clear</em> is FALSE; +<p> The contents of the bitmap is uninitialized if <em>clear</em> is false; otherwise it is filled with pixel value 0 (the <a href="ntqcolor.html">TQColor</a> <tt>TQt::color0</tt>). <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>. -<h3 class=fn><a name="TQBitmap-4"></a>TQBitmap::TQBitmap ( int w, int h, const uchar * bits, bool isXbitmap = FALSE ) +<h3 class=fn><a name="TQBitmap-4"></a>TQBitmap::TQBitmap ( int w, int h, const uchar * bits, bool isXbitmap = false ) </h3> Constructs a bitmap with width <em>w</em> and height <em>h</em> and sets the contents to <em>bits</em>. -<p> The <em>isXbitmap</em> flag should be TRUE if <em>bits</em> was generated by +<p> The <em>isXbitmap</em> flag should be true if <em>bits</em> was generated by the X11 bitmap program. The X bitmap bit order is little endian. The <a href="ntqimage.html">TQImage</a> documentation discusses bit order of monochrome images. <p> Example (creates an arrow bitmap): <pre> uchar arrow_bits[] = { 0x3f, 0x1f, 0x0f, 0x1f, 0x3b, 0x71, 0xe0, 0xc0 }; - TQBitmap bm( 8, 8, arrow_bits, TRUE ); + TQBitmap bm( 8, 8, arrow_bits, true ); </pre> -<h3 class=fn><a name="TQBitmap-5"></a>TQBitmap::TQBitmap ( const <a href="ntqsize.html">TQSize</a> & size, const uchar * bits, bool isXbitmap = FALSE ) +<h3 class=fn><a name="TQBitmap-5"></a>TQBitmap::TQBitmap ( const <a href="ntqsize.html">TQSize</a> & size, const uchar * bits, bool isXbitmap = false ) </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> and sets the contents to <em>bits</em>. -<p> The <em>isXbitmap</em> flag should be TRUE if <em>bits</em> was generated by +<p> The <em>isXbitmap</em> flag should be true if <em>bits</em> was generated by the X11 bitmap program. The X bitmap bit order is little endian. The <a href="ntqimage.html">TQImage</a> documentation discusses bit order of monochrome images. |
