summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqpainter.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqpainter.html')
-rw-r--r--doc/html/ntqpainter.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/ntqpainter.html b/doc/html/ntqpainter.html
index c9ab96488..32eea73d3 100644
--- a/doc/html/ntqpainter.html
+++ b/doc/html/ntqpainter.html
@@ -206,7 +206,7 @@ transformation.
</ul>
<p> Mostly, all this is done inside a paint event. (In fact, 99% of
all TQPainter use is in a reimplementation of
-<a href="ntqwidget.html#paintEvent">TQWidget::paintEvent</a>(), and the painter is heavily optimized for
+<a href="tqwidget.html#paintEvent">TQWidget::paintEvent</a>(), and the painter is heavily optimized for
such use.) Here's one very simple example:
<p> <pre>
void SimpleExampleWidget::paintEvent()
@@ -245,9 +245,9 @@ device clips, too.) If the painter clips, it clips to <a href="#clipRegion">clip
<a href="#lineTo">lineTo</a>().
<p> </ul>
<p> Note that some of these settings mirror settings in some paint
-devices, e.g. <a href="ntqwidget.html#font">TQWidget::font</a>(). <a href="#begin">TQPainter::begin</a>() (or the TQPainter
+devices, e.g. <a href="tqwidget.html#font">TQWidget::font</a>(). <a href="#begin">TQPainter::begin</a>() (or the TQPainter
constructor) copies these attributes from the paint device.
-Calling, for example, <a href="ntqwidget.html#setFont">TQWidget::setFont</a>() doesn't take effect until
+Calling, for example, <a href="tqwidget.html#setFont">TQWidget::setFont</a>() doesn't take effect until
the next time a painter begins painting on it.
<p> <a href="#save">save</a>() saves all of these settings on an internal stack, <a href="#restore">restore</a>()
pops them back.
@@ -317,7 +317,7 @@ coordinate limitations in the underlying window system. Some
platforms may behave incorrectly with coordinates as small as
+/-4000.
-<p> <p>See also <a href="ntqpaintdevice.html">TQPaintDevice</a>, <a href="ntqwidget.html">TQWidget</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqprinter.html">TQPrinter</a>, <a href="ntqpicture.html">TQPicture</a>, <a href="simple-application.html">Application Walkthrough</a>, <a href="coordsys.html">Coordinate System Overview</a>, <a href="graphics.html">Graphics Classes</a>, and <a href="images.html">Image Processing Classes</a>.
+<p> <p>See also <a href="ntqpaintdevice.html">TQPaintDevice</a>, <a href="tqwidget.html">TQWidget</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqprinter.html">TQPrinter</a>, <a href="ntqpicture.html">TQPicture</a>, <a href="simple-application.html">Application Walkthrough</a>, <a href="coordsys.html">Coordinate System Overview</a>, <a href="graphics.html">Graphics Classes</a>, and <a href="images.html">Image Processing Classes</a>.
<hr><h2>Member Type Documentation</h2>
<h3 class=fn><a name="CoordinateMode-enum"></a>TQPainter::CoordinateMode</h3>
@@ -349,7 +349,7 @@ Constructs a painter that begins painting the paint device <em>pd</em>
immediately. Depending on the underlying graphic system the
painter will paint over children of the paintdevice if <em>unclipped</em> is TRUE.
<p> This constructor is convenient for short-lived painters, e.g. in a
-<a href="ntqwidget.html#paintEvent">paint event</a> and should be used
+<a href="tqwidget.html#paintEvent">paint event</a> and should be used
only once. The constructor calls <a href="#begin">begin</a>() for you and the TQPainter
destructor automatically calls <a href="#end">end</a>().
<p> Here's an example using begin() and end():
@@ -377,7 +377,7 @@ of the painter failed you should rather use begin() and end() to paint
on external devices, e.g. printers.
<p> <p>See also <a href="#begin">begin</a>() and <a href="#end">end</a>().
-<h3 class=fn><a name="TQPainter-3"></a>TQPainter::TQPainter ( const&nbsp;<a href="ntqpaintdevice.html">TQPaintDevice</a>&nbsp;*&nbsp;pd, const&nbsp;<a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;copyAttributes, bool&nbsp;unclipped = FALSE )
+<h3 class=fn><a name="TQPainter-3"></a>TQPainter::TQPainter ( const&nbsp;<a href="ntqpaintdevice.html">TQPaintDevice</a>&nbsp;*&nbsp;pd, const&nbsp;<a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;copyAttributes, bool&nbsp;unclipped = FALSE )
</h3>
Constructs a painter that begins painting the paint device <em>pd</em>
immediately, with the default arguments taken from <em>copyAttributes</em>. The painter will paint over children of the paint
@@ -426,7 +426,7 @@ time.
<p> <p>See also <a href="#end">end</a>() and <a href="#flush">flush</a>().
<p>Examples: <a href="aclock-example.html#x1183">aclock/aclock.cpp</a>, <a href="desktop-example.html#x1733">desktop/desktop.cpp</a>, <a href="drawdemo-example.html#x1067">drawdemo/drawdemo.cpp</a>, <a href="hello-example.html#x1633">hello/hello.cpp</a>, <a href="picture-example.html#x111">picture/picture.cpp</a>, <a href="tutorial1-10.html#x2348">t10/cannon.cpp</a>, and <a href="xform-example.html#x1233">xform/xform.cpp</a>.
-<h3 class=fn>bool <a name="begin-2"></a>TQPainter::begin ( const&nbsp;<a href="ntqpaintdevice.html">TQPaintDevice</a>&nbsp;*&nbsp;pd, const&nbsp;<a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;copyAttributes, bool&nbsp;unclipped = FALSE )
+<h3 class=fn>bool <a name="begin-2"></a>TQPainter::begin ( const&nbsp;<a href="ntqpaintdevice.html">TQPaintDevice</a>&nbsp;*&nbsp;pd, const&nbsp;<a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;copyAttributes, bool&nbsp;unclipped = FALSE )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> This version opens the painter on a paint device <em>pd</em> and sets
@@ -612,7 +612,7 @@ Draws at (<em>x</em>, <em>y</em>) the <em>sw</em> by <em>sh</em> area of pixels
needs to be converted to a pixmap. The default value for <em>conversionFlags</em> is 0; see convertFromImage() for information about
what other values do.
<p> This function may convert <em>image</em> to a pixmap and then draw it,
-if <a href="#device">device</a>() is a <a href="ntqpixmap.html">TQPixmap</a> or a <a href="ntqwidget.html">TQWidget</a>, or else draw it directly,
+if <a href="#device">device</a>() is a <a href="ntqpixmap.html">TQPixmap</a> or a <a href="tqwidget.html">TQWidget</a>, or else draw it directly,
if device() is a <a href="ntqprinter.html">TQPrinter</a> or <a href="ntqpicture.html">TQPicture</a>.
<p> Currently alpha masks of the image are ignored when painting on a TQPrinter.
<p> <p>See also <a href="#drawPixmap">drawPixmap</a>() and <a href="ntqpixmap.html#convertFromImage">TQPixmap::convertFromImage</a>().
@@ -1519,7 +1519,7 @@ using the painter <em>p</em>.
<em>fill</em> is 0.
<p> If you want to use a <a href="ntqframe.html">TQFrame</a> widget instead, you can make it
display a plain rectangle, for example <tt>TQFrame::setFrameStyle( TQFrame::Box | TQFrame::Plain )</tt>.
-<p> <b>Warning:</b> This function does not look at <a href="ntqwidget.html#style">TQWidget::style</a>() or
+<p> <b>Warning:</b> This function does not look at <a href="tqwidget.html#style">TQWidget::style</a>() or
<a href="ntqapplication.html#style">TQApplication::style</a>(). Use the drawing functions in <a href="ntqstyle.html">TQStyle</a> to make
widgets that follow the current GUI style.
<p> <p>See also <a href="#qDrawShadeRect">qDrawShadeRect</a>() and <a href="ntqstyle.html#drawPrimitive">TQStyle::drawPrimitive</a>().
@@ -1540,7 +1540,7 @@ lines. It is not the total line width.
drawn in the <a href="qcolorgroup.html#mid">TQColorGroup::mid</a>() color.
<p> If you want to use a <a href="ntqframe.html">TQFrame</a> widget instead, you can make it
display a shaded line, for example <tt>TQFrame::setFrameStyle( TQFrame::HLine | TQFrame::Sunken )</tt>.
-<p> <b>Warning:</b> This function does not look at <a href="ntqwidget.html#style">TQWidget::style</a>() or
+<p> <b>Warning:</b> This function does not look at <a href="tqwidget.html#style">TQWidget::style</a>() or
<a href="ntqapplication.html#style">TQApplication::style</a>(). Use the drawing functions in <a href="ntqstyle.html">TQStyle</a> to make
widgets that follow the current GUI style.
<p> <p>See also <a href="#qDrawShadeRect">qDrawShadeRect</a>(), <a href="#qDrawShadePanel">qDrawShadePanel</a>(), and <a href="ntqstyle.html#drawPrimitive">TQStyle::drawPrimitive</a>().
@@ -1557,7 +1557,7 @@ the painter <em>p</em>.
<p> The panel's interior is filled with the <em>fill</em> brush unless <em>fill</em> is 0.
<p> If you want to use a <a href="ntqframe.html">TQFrame</a> widget instead, you can make it
display a shaded panel, for example <tt>TQFrame::setFrameStyle( TQFrame::Panel | TQFrame::Sunken )</tt>.
-<p> <b>Warning:</b> This function does not look at <a href="ntqwidget.html#style">TQWidget::style</a>() or
+<p> <b>Warning:</b> This function does not look at <a href="tqwidget.html#style">TQWidget::style</a>() or
<a href="ntqapplication.html#style">TQApplication::style</a>(). Use the drawing functions in <a href="ntqstyle.html">TQStyle</a> to make
widgets that follow the current GUI style.
<p> <p>See also <a href="#qDrawWinPanel">qDrawWinPanel</a>(), <a href="#qDrawShadeLine">qDrawShadeLine</a>(), <a href="#qDrawShadeRect">qDrawShadeRect</a>(), and <a href="ntqstyle.html#drawPrimitive">TQStyle::drawPrimitive</a>().
@@ -1578,7 +1578,7 @@ drawn in the <a href="qcolorgroup.html#mid">TQColorGroup::mid</a>() color.
<em>fill</em> is 0.
<p> If you want to use a <a href="ntqframe.html">TQFrame</a> widget instead, you can make it
display a shaded rectangle, for example <tt>TQFrame::setFrameStyle( TQFrame::Box | TQFrame::Raised )</tt>.
-<p> <b>Warning:</b> This function does not look at <a href="ntqwidget.html#style">TQWidget::style</a>() or
+<p> <b>Warning:</b> This function does not look at <a href="tqwidget.html#style">TQWidget::style</a>() or
<a href="ntqapplication.html#style">TQApplication::style</a>(). Use the drawing functions in <a href="ntqstyle.html">TQStyle</a> to make
widgets that follow the current GUI style.
<p> <p>See also <a href="#qDrawShadeLine">qDrawShadeLine</a>(), <a href="#qDrawShadePanel">qDrawShadePanel</a>(), <a href="#qDrawPlainRect">qDrawPlainRect</a>(), <a href="ntqstyle.html#drawItem">TQStyle::drawItem</a>(), <a href="ntqstyle.html#drawControl">TQStyle::drawControl</a>(), and <a href="ntqstyle.html#drawComplexControl">TQStyle::drawComplexControl</a>().
@@ -1592,7 +1592,7 @@ widgets that follow the current GUI style.
<p> The button appears sunken if <em>sunken</em> is TRUE, or raised if <em>sunken</em> is FALSE.
<p> The line width is 2 pixels.
<p> The button's interior is filled with the <em>*fill</em> brush unless <em>fill</em> is 0.
-<p> <b>Warning:</b> This function does not look at <a href="ntqwidget.html#style">TQWidget::style</a>() or
+<p> <b>Warning:</b> This function does not look at <a href="tqwidget.html#style">TQWidget::style</a>() or
<a href="ntqapplication.html#style">TQApplication::style</a>(). Use the drawing functions in <a href="ntqstyle.html">TQStyle</a> to make
widgets that follow the current GUI style.
<p> <p>See also <a href="#qDrawWinPanel">qDrawWinPanel</a>() and <a href="ntqstyle.html#drawControl">TQStyle::drawControl</a>().
@@ -1608,7 +1608,7 @@ widgets that follow the current GUI style.
<p> The button's interior is filled with the <em>fill</em> brush unless <em>fill</em> is 0.
<p> If you want to use a <a href="ntqframe.html">TQFrame</a> widget instead, you can make it
display a shaded panel, for example <tt>TQFrame::setFrameStyle( TQFrame::WinPanel | TQFrame::Raised )</tt>.
-<p> <b>Warning:</b> This function does not look at <a href="ntqwidget.html#style">TQWidget::style</a>() or
+<p> <b>Warning:</b> This function does not look at <a href="tqwidget.html#style">TQWidget::style</a>() or
<a href="ntqapplication.html#style">TQApplication::style</a>(). Use the drawing functions in <a href="ntqstyle.html">TQStyle</a> to make
widgets that follow the current GUI style.
<p> <p>See also <a href="#qDrawShadePanel">qDrawShadePanel</a>(), <a href="#qDrawWinButton">qDrawWinButton</a>(), and <a href="ntqstyle.html#drawPrimitive">TQStyle::drawPrimitive</a>().