diff options
Diffstat (limited to 'doc/html/tqpainter.html')
-rw-r--r-- | doc/html/tqpainter.html | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/doc/html/tqpainter.html b/doc/html/tqpainter.html index 0a9c92546..e960c21e0 100644 --- a/doc/html/tqpainter.html +++ b/doc/html/tqpainter.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQPainter class does low-level painting e.g. on widgets. <a href="#details">More...</a> <p><tt>#include <<a href="tqpainter-h.html">tqpainter.h</a>></tt> -<p>Inherits <a href="ntqt.html">TQt</a>. +<p>Inherits <a href="tqt.html">TQt</a>. <p><a href="tqpainter-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -394,11 +394,11 @@ Destroys the painter. <p> Returns the current background color. <p> <p>See also <a href="#setBackgroundColor">setBackgroundColor</a>() and <a href="tqcolor.html">TQColor</a>. -<h3 class=fn><a href="ntqt.html#BGMode-enum">BGMode</a> <a name="backgroundMode"></a>TQPainter::backgroundMode () const +<h3 class=fn><a href="tqt.html#BGMode-enum">BGMode</a> <a name="backgroundMode"></a>TQPainter::backgroundMode () const </h3> <p> Returns the current background mode. -<p> <p>See also <a href="#setBackgroundMode">setBackgroundMode</a>() and <a href="ntqt.html#BGMode-enum">BGMode</a>. +<p> <p>See also <a href="#setBackgroundMode">setBackgroundMode</a>() and <a href="tqt.html#BGMode-enum">BGMode</a>. <h3 class=fn>bool <a name="begin"></a>TQPainter::begin ( const <a href="tqpaintdevice.html">TQPaintDevice</a> * pd, bool unclipped = FALSE ) </h3> @@ -472,25 +472,25 @@ rectangle required to draw the text, whichever is the larger. the bitwise OR of the following flags: <center><table cellpadding="4" cellspacing="2" border="0"> <tr bgcolor="#a2c511"> <th valign="top">Flag <th valign="top">Meaning -<tr bgcolor="#f0f0f0"> <td valign="top"><a href="ntqt.html#AlignmentFlags-enum">AlignAuto</a> <td valign="top">aligns according to the language, usually left. -<tr bgcolor="#d0d0d0"> <td valign="top"><a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a> <td valign="top">aligns to the left border. -<tr bgcolor="#f0f0f0"> <td valign="top"><a href="ntqt.html#AlignmentFlags-enum">AlignRight</a> <td valign="top">aligns to the right border. -<tr bgcolor="#d0d0d0"> <td valign="top"><a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> <td valign="top">aligns horizontally centered. -<tr bgcolor="#f0f0f0"> <td valign="top"><a href="ntqt.html#AlignmentFlags-enum">AlignTop</a> <td valign="top">aligns to the top border. -<tr bgcolor="#d0d0d0"> <td valign="top"><a href="ntqt.html#AlignmentFlags-enum">AlignBottom</a> <td valign="top">aligns to the bottom border. -<tr bgcolor="#f0f0f0"> <td valign="top"><a href="ntqt.html#AlignmentFlags-enum">AlignVCenter</a> <td valign="top">aligns vertically centered. -<tr bgcolor="#d0d0d0"> <td valign="top"><a href="ntqt.html#AlignmentFlags-enum">AlignCenter</a> <td valign="top">(== <a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> | <a href="ntqt.html#AlignmentFlags-enum">AlignVCenter</a>). -<tr bgcolor="#f0f0f0"> <td valign="top"><a href="ntqt.html#TextFlags-enum">SingleLine</a> <td valign="top">ignores newline characters in the text. -<tr bgcolor="#d0d0d0"> <td valign="top"><a href="ntqt.html#TextFlags-enum">ExpandTabs</a> <td valign="top">expands tabs. -<tr bgcolor="#f0f0f0"> <td valign="top"><a href="ntqt.html#TextFlags-enum">ShowPrefix</a> <td valign="top">interprets "&x" as "<u>x</u>". -<tr bgcolor="#d0d0d0"> <td valign="top"><a href="ntqt.html#TextFlags-enum">WordBreak</a> <td valign="top">breaks the text to fit the rectangle. +<tr bgcolor="#f0f0f0"> <td valign="top"><a href="tqt.html#AlignmentFlags-enum">AlignAuto</a> <td valign="top">aligns according to the language, usually left. +<tr bgcolor="#d0d0d0"> <td valign="top"><a href="tqt.html#AlignmentFlags-enum">AlignLeft</a> <td valign="top">aligns to the left border. +<tr bgcolor="#f0f0f0"> <td valign="top"><a href="tqt.html#AlignmentFlags-enum">AlignRight</a> <td valign="top">aligns to the right border. +<tr bgcolor="#d0d0d0"> <td valign="top"><a href="tqt.html#AlignmentFlags-enum">AlignHCenter</a> <td valign="top">aligns horizontally centered. +<tr bgcolor="#f0f0f0"> <td valign="top"><a href="tqt.html#AlignmentFlags-enum">AlignTop</a> <td valign="top">aligns to the top border. +<tr bgcolor="#d0d0d0"> <td valign="top"><a href="tqt.html#AlignmentFlags-enum">AlignBottom</a> <td valign="top">aligns to the bottom border. +<tr bgcolor="#f0f0f0"> <td valign="top"><a href="tqt.html#AlignmentFlags-enum">AlignVCenter</a> <td valign="top">aligns vertically centered. +<tr bgcolor="#d0d0d0"> <td valign="top"><a href="tqt.html#AlignmentFlags-enum">AlignCenter</a> <td valign="top">(== <a href="tqt.html#AlignmentFlags-enum">AlignHCenter</a> | <a href="tqt.html#AlignmentFlags-enum">AlignVCenter</a>). +<tr bgcolor="#f0f0f0"> <td valign="top"><a href="tqt.html#TextFlags-enum">SingleLine</a> <td valign="top">ignores newline characters in the text. +<tr bgcolor="#d0d0d0"> <td valign="top"><a href="tqt.html#TextFlags-enum">ExpandTabs</a> <td valign="top">expands tabs. +<tr bgcolor="#f0f0f0"> <td valign="top"><a href="tqt.html#TextFlags-enum">ShowPrefix</a> <td valign="top">interprets "&x" as "<u>x</u>". +<tr bgcolor="#d0d0d0"> <td valign="top"><a href="tqt.html#TextFlags-enum">WordBreak</a> <td valign="top">breaks the text to fit the rectangle. </table></center> -<p> Horizontal alignment defaults to <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a> and vertical -alignment defaults to <a href="ntqt.html#AlignmentFlags-enum">AlignTop</a>. +<p> Horizontal alignment defaults to <a href="tqt.html#AlignmentFlags-enum">AlignLeft</a> and vertical +alignment defaults to <a href="tqt.html#AlignmentFlags-enum">AlignTop</a>. <p> If several of the horizontal or several of the vertical alignment flags are set, the resulting alignment is undefined. <p> The <em>intern</em> parameter should not be used. -<p> <p>See also <a href="ntqt.html#TextFlags-enum">TQt::TextFlags</a>. +<p> <p>See also <a href="tqt.html#TextFlags-enum">TQt::TextFlags</a>. <h3 class=fn><a href="tqrect.html">TQRect</a> <a name="boundingRect-2"></a>TQPainter::boundingRect ( const <a href="tqrect.html">TQRect</a> & r, int flags, const <a href="tqstring.html">TQString</a> & str, int len = -1, TQTextParag ** internal = 0 ) </h3> @@ -502,7 +502,7 @@ printed with the corresponding <a href="#drawText">drawText</a>() function using rectangle, is constrained to the rectangle <em>r</em>, or to the rectangle required to draw the text, whichever is the larger. <p> The <em>internal</em> parameter should not be used. -<p> <p>See also <a href="#drawText">drawText</a>(), <a href="#fontMetrics">fontMetrics</a>(), <a href="tqfontmetrics.html#boundingRect">TQFontMetrics::boundingRect</a>(), and <a href="ntqt.html#TextFlags-enum">TQt::TextFlags</a>. +<p> <p>See also <a href="#drawText">drawText</a>(), <a href="#fontMetrics">fontMetrics</a>(), <a href="tqfontmetrics.html#boundingRect">TQFontMetrics::boundingRect</a>(), and <a href="tqt.html#TextFlags-enum">TQt::TextFlags</a>. <h3 class=fn>const <a href="tqbrush.html">TQBrush</a> & <a name="brush"></a>TQPainter::brush () const </h3> @@ -628,7 +628,7 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> Draws the image <em>i</em> at point <em>p</em>. <p> If the image needs to be modified to fit in a lower-resolution 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="ntqt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>. +<p> <p>See also <a href="tqt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>. <h3 class=fn>void <a name="drawImage-4"></a>TQPainter::drawImage ( const <a href="tqrect.html">TQRect</a> & r, const <a href="tqimage.html">TQImage</a> & i ) </h3> @@ -854,7 +854,7 @@ characters. The text's direction is specified by <em>dir</em>. with width <em>w</em> and height <em>h</em>. If <em>len</em> is -1 (the default) all the text is drawn, otherwise the first <em>len</em> characters are drawn. The text's flags that are given in the <em>flags</em> parameter -are <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="ntqt.html#TextFlags-enum">TQt::TextFlags</a> OR'd together. <em>br</em> (if not null) is set to the actual bounding rectangle of the +are <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="tqt.html#TextFlags-enum">TQt::TextFlags</a> OR'd together. <em>br</em> (if not null) is set to the actual bounding rectangle of the output. The <em>internal</em> parameter is for internal use only. <h3 class=fn>void <a name="drawText-6"></a>TQPainter::drawText ( const <a href="tqrect.html">TQRect</a> & r, int tf, const <a href="tqstring.html">TQString</a> & str, int len = -1, <a href="tqrect.html">TQRect</a> * brect = 0, TQTextParag ** internal = 0 ) @@ -862,7 +862,7 @@ output. The <em>internal</em> parameter is for internal use only. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Draws at most <em>len</em> characters from <em>str</em> in the rectangle <em>r</em>. <p> This function draws formatted text. The <em>tf</em> text format is -really of type <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="ntqt.html#TextFlags-enum">TQt::TextFlags</a> OR'd +really of type <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="tqt.html#TextFlags-enum">TQt::TextFlags</a> OR'd together. <p> Horizontal alignment defaults to AlignAuto and vertical alignment defaults to AlignTop. @@ -1081,11 +1081,11 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> Returns the current position of the pen. <p> <p>See also <a href="#moveTo">moveTo</a>(). -<h3 class=fn><a href="ntqt.html#RasterOp-enum">RasterOp</a> <a name="rasterOp"></a>TQPainter::rasterOp () const +<h3 class=fn><a href="tqt.html#RasterOp-enum">RasterOp</a> <a name="rasterOp"></a>TQPainter::rasterOp () const </h3> -<p> Returns the current <a href="ntqt.html#RasterOp-enum">raster operation</a>. -<p> <p>See also <a href="#setRasterOp">setRasterOp</a>() and <a href="ntqt.html#RasterOp-enum">RasterOp</a>. +<p> Returns the current <a href="tqt.html#RasterOp-enum">raster operation</a>. +<p> <p>See also <a href="#setRasterOp">setRasterOp</a>() and <a href="tqt.html#RasterOp-enum">RasterOp</a>. <h3 class=fn>void <a name="redirect"></a>TQPainter::redirect ( <a href="tqpaintdevice.html">TQPaintDevice</a> * pdev, <a href="tqpaintdevice.html">TQPaintDevice</a> * replacement )<tt> [static]</tt> </h3> @@ -1143,12 +1143,12 @@ Sets the background color of the painter to <em>c</em>. <p> The background color is the color that is filled in when drawing opaque text, stippled lines and bitmaps. The background color has no effect in transparent background mode (which is the default). -<p> <p>See also <a href="#backgroundColor">backgroundColor</a>(), <a href="#setBackgroundMode">setBackgroundMode</a>(), and <a href="ntqt.html#BackgroundMode-enum">BackgroundMode</a>. +<p> <p>See also <a href="#backgroundColor">backgroundColor</a>(), <a href="#setBackgroundMode">setBackgroundMode</a>(), and <a href="tqt.html#BackgroundMode-enum">BackgroundMode</a>. -<h3 class=fn>void <a name="setBackgroundMode"></a>TQPainter::setBackgroundMode ( <a href="ntqt.html#BGMode-enum">BGMode</a> m ) +<h3 class=fn>void <a name="setBackgroundMode"></a>TQPainter::setBackgroundMode ( <a href="tqt.html#BGMode-enum">BGMode</a> m ) </h3> Sets the background mode of the painter to <em>m</em>, which must be -either <a href="ntqt.html#BGMode-enum">TransparentMode</a> (the default) or <a href="ntqt.html#BGMode-enum">OpaqueMode</a>. +either <a href="tqt.html#BGMode-enum">TransparentMode</a> (the default) or <a href="tqt.html#BGMode-enum">OpaqueMode</a>. <p> Transparent mode draws stippled lines and text without setting the background pixels. Opaque mode fills these space with the current background color. @@ -1157,7 +1157,7 @@ must use <a href="tqpixmap.html#setMask">TQPixmap::setMask</a>(). <p> <p>See also <a href="#backgroundMode">backgroundMode</a>() and <a href="#setBackgroundColor">setBackgroundColor</a>(). <p>Example: <a href="picture-example.html#x119">picture/picture.cpp</a>. -<h3 class=fn>void <a name="setBrush"></a>TQPainter::setBrush ( <a href="ntqt.html#BrushStyle-enum">BrushStyle</a> style ) +<h3 class=fn>void <a name="setBrush"></a>TQPainter::setBrush ( <a href="tqt.html#BrushStyle-enum">BrushStyle</a> style ) </h3> Sets the painter's brush to black color and the specified <em>style</em>. <p> <p>See also <a href="#brush">brush</a>() and <a href="tqbrush.html">TQBrush</a>. @@ -1173,7 +1173,7 @@ This is an overloaded member function, provided for convenience. It behaves esse <h3 class=fn>void <a name="setBrush-3"></a>TQPainter::setBrush ( const <a href="tqcolor.html">TQColor</a> & color ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Sets the painter's brush to have style <a href="ntqt.html#BrushStyle-enum">SolidPattern</a> and the +<p> Sets the painter's brush to have style <a href="tqt.html#BrushStyle-enum">SolidPattern</a> and the specified <em>color</em>. <p> <p>See also <a href="#brush">brush</a>() and <a href="tqbrush.html">TQBrush</a>. @@ -1243,7 +1243,7 @@ defines the text color. <p> <p>See also <a href="#pen">pen</a>(). <p>Examples: <a href="desktop-example.html#x1741">desktop/desktop.cpp</a>, <a href="drawdemo-example.html#x1076">drawdemo/drawdemo.cpp</a>, <a href="progress-example.html#x78">progress/progress.cpp</a>, <a href="tutorial1-09.html#x2344">t9/cannon.cpp</a>, <a href="themes-example.html#x288">themes/metal.cpp</a>, and <a href="themes-example.html#x222">themes/wood.cpp</a>. -<h3 class=fn>void <a name="setPen-2"></a>TQPainter::setPen ( <a href="ntqt.html#PenStyle-enum">PenStyle</a> style ) +<h3 class=fn>void <a name="setPen-2"></a>TQPainter::setPen ( <a href="tqt.html#PenStyle-enum">PenStyle</a> style ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the painter's pen to have style <em>style</em>, width 0 and black @@ -1253,15 +1253,15 @@ color. <h3 class=fn>void <a name="setPen-3"></a>TQPainter::setPen ( const <a href="tqcolor.html">TQColor</a> & color ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Sets the painter's pen to have style <a href="ntqt.html#PenStyle-enum">SolidLine</a>, width 0 and the +<p> Sets the painter's pen to have style <a href="tqt.html#PenStyle-enum">SolidLine</a>, width 0 and the specified <em>color</em>. <p> <p>See also <a href="#pen">pen</a>() and <a href="tqpen.html">TQPen</a>. -<h3 class=fn>void <a name="setRasterOp"></a>TQPainter::setRasterOp ( <a href="ntqt.html#RasterOp-enum">RasterOp</a> r ) +<h3 class=fn>void <a name="setRasterOp"></a>TQPainter::setRasterOp ( <a href="tqt.html#RasterOp-enum">RasterOp</a> r ) </h3> -Sets the <a href="ntqt.html#RasterOp-enum">raster operation</a> to <em>r</em>. -The default is <a href="ntqt.html#RasterOp-enum">CopyROP</a>. -<p> <p>See also <a href="#rasterOp">rasterOp</a>() and <a href="ntqt.html#RasterOp-enum">TQt::RasterOp</a>. +Sets the <a href="tqt.html#RasterOp-enum">raster operation</a> to <em>r</em>. +The default is <a href="tqt.html#RasterOp-enum">CopyROP</a>. +<p> <p>See also <a href="#rasterOp">rasterOp</a>() and <a href="tqt.html#RasterOp-enum">TQt::RasterOp</a>. <h3 class=fn>void <a name="setTabArray"></a>TQPainter::setTabArray ( int * ta ) </h3> @@ -1274,7 +1274,7 @@ Sets the tab stop array to <em>ta</em>. This puts tab stops at <em>ta[0]</em>, </h3> Set the tab stop width to <em>ts</em>, i.e. locates tab stops at <em>ts</em>, 2*<em>ts</em>, 3*<em>ts</em> and so on. -<p> Tab stops are used when drawing formatted text with <a href="ntqt.html#TextFlags-enum">ExpandTabs</a> +<p> Tab stops are used when drawing formatted text with <a href="tqt.html#TextFlags-enum">ExpandTabs</a> set. This fixed tab stop value is used only if no tab array is set (which is the default case). <p> A value of 0 (the default) implies a tabstop setting of 8 times the width of the |