Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 664

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:02:54 CEST 2007 -->
<TITLE>
QPainter
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QPainter class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QPainter";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintEngineState.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainter.CompositionMode.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QPainter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QPainter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QPainter</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QPainter</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QStylePainter.html" title="class in com.trolltech.qt.gui">QStylePainter</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QPainter</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> class performs low-level painting on widgets and other paint devices.</p>
<p><a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> provides highly optimized functions to do most of the drawing GUI programs require. It can draw everything from simple lines to complex shapes like pies and chords. It can also draw aligned text and pixmaps. Normally, it draws in a &quot;natural&quot; coordinate system, but it can also do view and world transformation. <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> can operate on any object that inherits the <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a> class.</p>
<p>The common use of <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> is inside a widget's paint event: Construct and customize (e.g&#x2e; set the pen or the brush) the painter. Then draw. Remember to destroy the <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> object after drawing. For example:</p>
<pre>    void SimpleExampleWidget::paintEvent(QPaintEvent *)
    {
        QPainter painter(this);
        painter.setPen(Qt::blue);
        painter.setFont(QFont(&quot;Arial&quot;, 30));
        painter.drawText(rect(), Qt::AlignCenter, &quot;Qt&quot;);
    }</pre>
<p>The core functionality of <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> is drawing, but the class also provide several functions that allows you to customize <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a>'s settings and its rendering quality, and others that enable clipping. In addition you can control how different shapes are merged together by specifying the painter's composition mode.</p>
<p>The <a href="QPainter.html#isActive()"><tt>isActive</tt></a> function indicates whether the painter is active. A painter is activated by the <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> function and the constructor that takes a <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a> argument. The <a href="QPainter.html#end()"><tt>end</tt></a> function, and the destructor, deactivates it.</p>
<p>Together with the <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a> and <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> classes, <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> form the basis for Qt's paint system. <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> is the class used to perform drawing operations. <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a> represents a device that can be painted on using a <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a>. <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> provides the interface that the painter uses to draw onto different types of devices. If the painter is active, <a href="QPainter.html#device()"><tt>device</tt></a> returns the paint device on which the painter paints, and <a href="QPainter.html#paintEngine()"><tt>paintEngine</tt></a> returns the paint engine that the painter is currently operating on. For more information, see <a href="%2E%2E/paintsystem.html">The Paint System</tt></a> documentation.</p>
<p>Sometimes it is desirable to make someone else paint on an unusual <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a>. <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> supports a static function to do this, <a href="QPainter.html#setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)"><tt>setRedirected</tt></a>.</p>
<p><b>Warning:</b> When the paintdevice is a widget, <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> can only be used inside a paintEvent() function or in a function called by paintEvent(); that is unless the Qt::WA_PaintOutsidePaintEvent widget attribute is set. On Mac OS X and Windows, you can only paint in a paintEvent() function regardless of this attribute's setting.</p>
<ul><li><a href="#settings">Settings</a></li>
<li><a href="#drawing">Drawing</a></li>
<li><a href="#rendering-quality">Rendering Quality</a></li>
<li><a href="#coordinate-transformations">Coordinate Transformations</a></li>
<li><a href="#clipping">Clipping</a></li>
<li><a href="#composition-modes">Composition Modes</a></li>
</ul>
<a name="settings"></a>
<h3>Settings</h3>
<p>There are several settings that you can customize to make <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> draw according to your preferences:</p>
<ul>
<li><a href="QPainter.html#font()"><tt>font</tt></a> is the font used for drawing text. If the painter <a href="QPainter.html#isActive()"><tt>isActive</tt></a>, you can retrieve information about the currently set font, and its metrics, using the <a href="QPainter.html#fontInfo()"><tt>fontInfo</tt></a> and <a href="QPainter.html#fontMetrics()"><tt>fontMetrics</tt></a> functions respectively.</li>
<li><a href="QPainter.html#brush()"><tt>brush</tt></a> defines the color or pattern that is used for filling shapes.</li>
<li><a href="QPainter.html#pen()"><tt>pen</tt></a> defines the color or stipple that is used for drawing lines or boundaries.</li>
<li><a href="QPainter.html#backgroundMode()"><tt>backgroundMode</tt></a> defines whether there is a <a href="QPainter.html#background()"><tt>background</tt></a> or not, i.e it is either Qt::OpaqueMode or Qt::TransparentMode.</li>
<li><a href="QPainter.html#background()"><tt>background</tt></a> only applies when <a href="QPainter.html#backgroundMode()"><tt>backgroundMode</tt></a> is <tt>Qt::OpaqueMode</tt> and <a href="QPainter.html#pen()"><tt>pen</tt></a> is a stipple. In that case, it describes the color of the background pixels in the stipple.</li>
<li><a href="QPainter.html#brushOrigin()"><tt>brushOrigin</tt></a> defines the origin of the tiled brushes, normally the origin of widget's background.</li>
<li><a href="QPainter.html#viewport()"><tt>viewport</tt></a>, <a href="QPainter.html#window()"><tt>window</tt></a>, <a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a> make up the painter's coordinate transformation system. For more information, see the <a href="QPainter.html#coordinate-transformations">Coordinate Transformations</tt></a> section and the <a href="%2E%2E/coordsys.html">The Coordinate System</tt></a> documentation.</li>
<li><a href="QPainter.html#hasClipping()"><tt>hasClipping</tt></a> tells whether the painter clips at all. (The paint device clips, too.) If the painter clips, it clips to <a href="QPainter.html#clipRegion()"><tt>clipRegion</tt></a>.</li>
<li><a href="QPainter.html#layoutDirection()"><tt>layoutDirection</tt></a> defines the layout direction used by the painter when drawing text.</li>
<li>matrixEnabled() tells whether world transformation is enabled.</li>
<li><a href="QPainter.html#viewTransformEnabled()"><tt>viewTransformEnabled</tt></a> tells whether view transformation is enabled.</li>
</ul>
<p>Note that some of these settings mirror settings in some paint devices, e.g&#x2e; QWidget::font(). The QPainter::begin() function (or equivalently the <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> constructor) copies these attributes from the paint device.</p>
<p>You can at any time save the <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a>'s state by calling the <a href="QPainter.html#save()"><tt>save</tt></a> function which saves all the available settings on an internal stack. The <a href="QPainter.html#restore()"><tt>restore</tt></a> function pops them back.</p>
<a name="drawing"></a>
<h3>Drawing</h3>
<p><a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> provides functions to draw most primitives: <a href="QPainter.html#drawPoint(com.trolltech.qt.core.QPoint)"><tt>drawPoint</tt></a>, <a href="QPainter.html#drawPoints(com.trolltech.qt.gui.QPolygonF)"><tt>drawPoints</tt></a>, <a href="QPainter.html#drawLine(com.trolltech.qt.gui.QLineF)"><tt>drawLine</tt></a>, <a href="QPainter.html#drawRect(com.trolltech.qt.core.QRect)"><tt>drawRect</tt></a>, <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>, <a href="QPainter.html#drawEllipse(int, int, int, int)"><tt>drawEllipse</tt></a>, <a href="QPainter.html#drawArc(com.trolltech.qt.core.QRect, int, int)"><tt>drawArc</tt></a>, <a href="QPainter.html#drawPie(com.trolltech.qt.core.QRectF, int, int)"><tt>drawPie</tt></a>, <a href="QPainter.html#drawChord(com.trolltech.qt.core.QRectF, int, int)"><tt>drawChord</tt></a>, <a href="QPainter.html#drawPolyline(com.trolltech.qt.gui.QPolygonF)"><tt>drawPolyline</tt></a>, <a href="QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)"><tt>drawPolygon</tt></a>, <a href="QPainter.html#drawConvexPolygon(com.trolltech.qt.gui.QPolygon)"><tt>drawConvexPolygon</tt></a> and drawCubicBezier(). The two convenience functions, <a href="QPainter.html#drawRects(java.util.List<com.trolltech.qt.core.QRect>)"><tt>drawRects</tt></a> and <a href="QPainter.html#drawLines(java.util.List<com.trolltech.qt.gui.QLine>)"><tt>drawLines</tt></a>, draw the given number of rectangles or lines in the given array of <a href="%2E%2E/core/QRect.html">QRects</a> or <a href="QLine.html">QLines</a> using the current pen and brush.</p>
<p>The <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> class also provides the <a href="QPainter.html#fillRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QBrush)"><tt>fillRect</tt></a> function which fills the given <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>, with the given <a href="QBrush.html"><tt>QBrush</tt></a>, and the <a href="QPainter.html#eraseRect(com.trolltech.qt.core.QRect)"><tt>eraseRect</tt></a> function that erases the area inside the given rectangle.</p>
<p>All of these functions have both integer and floating point versions.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-basicdrawing.png" /></td><td><b>Basic Drawing Example</b><p>The Basic Drawing</tt> example shows how to display basic graphics primitives in a variety of styles using the <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> class.</p>
</td></tr>
</table></p>
<p>If you need to draw a complex shape, especially if you need to do so repeatedly, consider creating a <a href="QPainterPath.html"><tt>QPainterPath</tt></a> and drawing it using <a href="QPainter.html#drawPath(com.trolltech.qt.gui.QPainterPath)"><tt>drawPath</tt></a>.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><b>Painter Paths example</b><p>The <a href="QPainterPath.html"><tt>QPainterPath</tt></a> class provides a container for painting operations, enabling graphical shapes to be constructed and reused.</p>
<p>The Painter Paths</tt> example shows how painter paths can be used to build complex shapes for rendering.</p>
</td><td><img src="%2E%2E/images/qpainter-painterpaths.png" /></td></tr>
</table></p>
<p><a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> also provides the <a href="QPainter.html#fillPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QBrush)"><tt>fillPath</tt></a> function which fills the given <a href="QPainterPath.html"><tt>QPainterPath</tt></a> with the given <a href="QBrush.html"><tt>QBrush</tt></a>, and the <a href="QPainter.html#strokePath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen)"><tt>strokePath</tt></a> function that draws the outline of the given path (i.e&#x2e; strokes the path).</p>
<p>See also the Vector Deformation</tt> demo which shows how to use advanced vector techniques to draw text using a <a href="QPainterPath.html"><tt>QPainterPath</tt></a>, the Gradients</tt> demo which shows the different types of gradients that are available in Qt, and the Path Stroking</tt> demo which shows Qt's built-in dash patterns and shows how custom patterns can be used to extend the range of available patterns.</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-vectordeformation.png" /></td><td><img src="%2E%2E/images/qpainter-gradients.png" /></td><td><img src="%2E%2E/images/qpainter-pathstroking.png" /></td></tr>
<thead><tr valign="top" class="qt-style"><th>Vector Deformation</tt></th><th>Gradients</tt></th><th>Path Stroking</tt></th></tr></thead>
</table></p>
<p>There are functions to draw pixmaps/images, namely <a href="QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><tt>drawPixmap</tt></a>, <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a> and <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>. Both <a href="QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><tt>drawPixmap</tt></a> and <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a> produce the same result, except that <a href="QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><tt>drawPixmap</tt></a> is faster on-screen while <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a> may be faster on a <a href="QPrinter.html"><tt>QPrinter</tt></a> or other devices.</p>
<p>Text drawing is done using <a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a>. When you need fine-grained positioning, <a href="QPainter.html#boundingRect(int, int, int, int, int, java.lang.String)"><tt>boundingRect</tt></a> tells you where a given <a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a> command will draw.</p>
<p>There is a <a href="QPainter.html#drawPicture(int, int, com.trolltech.qt.gui.QPicture)"><tt>drawPicture</tt></a> function that draws the contents of an entire <a href="QPicture.html"><tt>QPicture</tt></a>. The <a href="QPainter.html#drawPicture(int, int, com.trolltech.qt.gui.QPicture)"><tt>drawPicture</tt></a> function is the only function that disregards all the painter's settings as <a href="QPicture.html"><tt>QPicture</tt></a> has its own settings.</p>
<a name="rendering-quality"></a>
<h3>Rendering Quality</h3>
<p>To get the optimal rendering result using <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a>, you should use the platform independent <a href="QImage.html"><tt>QImage</tt></a> as paint device; i.e&#x2e; using <a href="QImage.html"><tt>QImage</tt></a> will ensure that the result has an identical pixel representation on any platform.</p>
<p>The <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> class also provides a means of controlling the rendering quality through its <a href="QPainter.html#RenderHint-enum"><tt>RenderHint</tt></a> enum and the support for floating point precision: All the functions for drawing primitives has a floating point version. These are often used in combination with the <a href="QPainter.html#RenderHint-enum">QPainter::AntiAliasing</a> render hint.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-concentriccircles.png" /></td><td><b>Concentric Circles Example</b><p>The Concentric Circles</tt> example shows the improved rendering quality that can be obtained using floating point precision and anti-aliasing when drawing custom widgets.</p>
<p>The application's main window displays several widgets which are drawn using the various combinations of precision and anti-aliasing.</p>
</td></tr>
</table></p>
<p>The <a href="QPainter.html#RenderHint-enum"><tt>RenderHint</tt></a> enum specifies flags to <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> that may or may not be respected by any given engine. <a href="QPainter.html#RenderHint-enum">QPainter::AntiAliasing</a> indicates that the engine should antialias edges of primitives if possible, <a href="QPainter.html#RenderHint-enum">QPainter::TextAntialiasing</a> indicates that the engine should antialias text if possible, and the <a href="QPainter.html#RenderHint-enum">QPainter::SmoothPixmapTransform</a> indicates that the engine should use a smooth pixmap transformation algorithm. <a href="QPainter.html#RenderHint-enum">HighQualityAntialiasing</a> is an OpenGL-specific rendering hint indicating that the engine should use fragment programs and offscreen rendering for antialiasing.</p>
<p>The <a href="QPainter.html#renderHints()"><tt>renderHints</tt></a> function returns a flag that specifies the rendering hints that are set for this painter. Use the <a href="QPainter.html#setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint, boolean)"><tt>setRenderHint</tt></a> function to set or clear the currently set RenderHints.</p>
<a name="coordinate-transformations"></a>
<h3>Coordinate Transformations</h3>
<p>Normally, the <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> operates on the device's own coordinate system (usually pixels), but <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> has good support for coordinate transformations.</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-clock.png" /></td><td><img src="%2E%2E/images/qpainter-rotation.png" /></td><td><img src="%2E%2E/images/qpainter-scale.png" /></td><td><img src="%2E%2E/images/qpainter-translation.png" /></td></tr>
<thead><tr valign="top" class="qt-style"><th>nop</th><th><a href="QPainter.html#rotate(double)"><tt>rotate</tt></a></th><th><a href="QPainter.html#scale(double, double)"><tt>scale</tt></a></th><th><a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a></th></tr></thead>
</table></p>
<p>The most commonly used transformations are scaling, rotation, translation and shearing. Use the <a href="QPainter.html#scale(double, double)"><tt>scale</tt></a> function to scale the coordinate system by a given offset, the <a href="QPainter.html#rotate(double)"><tt>rotate</tt></a> function to rotate it clockwise and <a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a> to translate it (i.e&#x2e; adding a given offset to the points). You can also twist the coordinate system around the origin using the <a href="QPainter.html#shear(double, double)"><tt>shear</tt></a> function. See the Affine Transformations</tt> demo for a visualization of a sheared coordinate system.</p>
<p>See also the Transformations</tt> example which shows how transformations influence the way that <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> renders graphics primitives. In particular it shows how the order of transformations affects the result.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><b>Affine Transformations Demo</b><p>The Affine Transformations</tt> demo show Qt's ability to perform affine transformations on painting operations. The demo also allows the user to experiment with the transformation operations and see the results immediately.</p>
</td><td><img src="%2E%2E/images/qpainter-affinetransformations.png" /></td></tr>
</table></p>
<p>All the tranformation operations operate on the transformation <a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a>. A matrix transforms a point in the plane to another point. For more information about the transformation matrix, see the <a href="%2E%2E/coordsys.html">The Coordinate System</tt></a> and <a href="QMatrix.html"><tt>QMatrix</tt></a> documentation.</p>
<p>The <a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a> function can replace or add to the currently set <a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a>. The <a href="QPainter.html#resetMatrix()"><tt>resetMatrix</tt></a> function resets any transformations that were made using <a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a>, <a href="QPainter.html#scale(double, double)"><tt>scale</tt></a>, <a href="QPainter.html#shear(double, double)"><tt>shear</tt></a>, <a href="QPainter.html#rotate(double)"><tt>rotate</tt></a>, <a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, <a href="QPainter.html#setViewport(com.trolltech.qt.core.QRect)"><tt>setViewport</tt></a> and <a href="QPainter.html#setWindow(com.trolltech.qt.core.QRect)"><tt>setWindow</tt></a> functions. The <a href="QPainter.html#deviceMatrix()"><tt>deviceMatrix</tt></a> returns the matrix that transforms from logical coordinates to device coordinates of the platform dependent paint device. The latter function is only needed when using platform painting commands on the platform dependent handle, and the platform does not do transformations nativly.</p>
<p>When drawing with <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a>, we specify points using logical coordinates which then are converted into the physical coordinates of the paint device. The mapping of the logical coordinates to the physical coordinates are handled by <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a>'s <a href="QPainter.html#combinedMatrix()"><tt>combinedMatrix</tt></a>, a combination of <a href="QPainter.html#viewport()"><tt>viewport</tt></a> and <a href="QPainter.html#window()"><tt>window</tt></a> and <a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a>. The <a href="QPainter.html#viewport()"><tt>viewport</tt></a> represents the physical coordinates specifying an arbitrary rectangle, the <a href="QPainter.html#window()"><tt>window</tt></a> describes the same rectangle in logical coordinates, and the <a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a> is identical with the transformation matrix.</p>
<p>See also <a href="%2E%2E/coordsys.html">The Coordinate System</tt></a> documentation.</p>
<a name="clipping"></a>
<h3>Clipping</h3>
<p><a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> can clip any drawing operation to a rectangle, a region, or a vector path. The current clip is available using the functions <a href="QPainter.html#clipRegion()"><tt>clipRegion</tt></a> and <a href="QPainter.html#clipPath()"><tt>clipPath</tt></a>. Whether paths or regions are preferred (faster) depends on the underlying <a href="QPainter.html#paintEngine()"><tt>paintEngine</tt></a>. For example, the <a href="QImage.html"><tt>QImage</tt></a> paint engine prefers paths while the X11 paint engine prefers regions. Setting a clip is done in the painters logical coordinates.</p>
<p>After <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a>'s clipping, the paint device may also clip. For example, most widgets clip away the pixels used by child widgets, and most printers clip away an area near the edges of the paper. This additional clipping is not reflected by the return value of <a href="QPainter.html#clipRegion()"><tt>clipRegion</tt></a> or <a href="QPainter.html#hasClipping()"><tt>hasClipping</tt></a>.</p>
<a name="composition-modes"></a>
<h3>Composition Modes</h3>
<a name="composition-modes"></a><p><a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> provides the <a href="QPainter.html#CompositionMode-enum"><tt>CompositionMode</tt></a> enum which defines the Porter-Duff rules for digital image compositing; it describes a model for combining the pixels in one image, the source, with the pixels in another image, the destination.</p>
<p>The two most common forms of composition are Source</tt> and SourceOver. Source</tt> is used to draw opaque objects onto a paint device. In this mode, each pixel in the source replaces the corresponding pixel in the destination. In SourceOver composition mode, the source object is transparent and is drawn on top of the destination.</p>
<p>Note that composition transformation operates pixelwise. For that reason, there is a difference between using the grahic primitive itself and its bounding rectangle: The bounding rect contains pixels with alpha == 0 (i.e the pixels surrounding the primitive). These pixels will overwrite the other image's pixels, affectively clearing those, while the primitive only overwrites its own area.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-compositiondemo.png" /></td><td><b>Composition Modes Demo</b><p>The Composition Modes</tt> demo, available in Qt's demo directory, allows you to experiment with the various composition modes and see the results immediately.</p>
</td></tr>
</table></p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QPaintDevice.html"><tt>QPaintDevice</tt></a>, 
<a href="QPaintEngine.html"><tt>QPaintEngine</tt></a>, 
<tt>QtSvg Module</tt>, 
<CODE>Drawing Example</tt></CODE></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.CompositionMode.html" title="enum in com.trolltech.qt.gui">QPainter.CompositionMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the Porter-Duff rules for digital image compositing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHint.html" title="enum in com.trolltech.qt.gui">QPainter.RenderHint</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renderhints are used to specify flags to <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> that may or may not be respected by any given engine.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHints.html" title="class in com.trolltech.qt.gui">QPainter.RenderHints</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This QFlag class provides flags for the int enum.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#QPainter()">QPainter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a painter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)">QPainter</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a painter that begins painting the paint <tt>arg__1</tt> immediately.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#QPainter(com.trolltech.qt.gui.QWidget)">QPainter</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a QPainter with parent <tt>widget</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#background()">background</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current background brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.BGMode.html" title="enum in com.trolltech.qt.core">Qt.BGMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#backgroundMode()">backgroundMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current background mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)">begin</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Begins painting the paint <tt>arg__1</tt> and returns true if successful; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#begin(com.trolltech.qt.gui.QWidget)">begin</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method initializes the painter to draw on <tt>widget</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#boundingRect(int, int, int, int, int, java.lang.String)">boundingRect</A></B>(int&nbsp;x,
             int&nbsp;y,
             int&nbsp;w,
             int&nbsp;h,
             int&nbsp;flags,
             java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding rectangle of the given <tt>text</tt> as it will appear when drawn inside the rectangle beginning at the point (<tt>x</tt>, <tt>y</tt>) with width <tt>w</tt> and height <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#boundingRect(com.trolltech.qt.core.QRectF, int, java.lang.String)">boundingRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
             int&nbsp;flags,
             java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding rectangle of the <tt>text</tt> as it will appear when drawn inside the given <tt>rect</tt> with the specified <tt>flags</tt> using the currently set <a href="QPainter.html#font()"><tt>font</tt></a>; i.e the function tells you where the <a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a> function will draw when given the same arguments.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#boundingRect(com.trolltech.qt.core.QRectF, java.lang.String)">boundingRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
             java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#boundingRect(int, int, int, int, int, java.lang.String)"><tt>boundingRect</tt></a>(<tt>rect</tt>, <tt>text</tt>, QTextOption()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#boundingRect(com.trolltech.qt.core.QRectF, java.lang.String, com.trolltech.qt.gui.QTextOption)">boundingRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
             java.lang.String&nbsp;text,
             <A HREF="../../../../com/trolltech/qt/gui/QTextOption.html" title="class in com.trolltech.qt.gui">QTextOption</A>&nbsp;o)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instead of specifying flags as a bitwise OR of the Qt::AlignmentFlag and Qt::TextFlag, this overloaded function takes an <tt>o</tt> argument.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#boundingRect(com.trolltech.qt.core.QRect, int, java.lang.String)">boundingRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
             int&nbsp;flags,
             java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding rectangle of the <tt>text</tt> as it will appear when drawn inside the given <tt>rect</tt> with the specified <tt>flags</tt> using the currently set <a href="QPainter.html#font()"><tt>font</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#brush()">brush</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the painter's current brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#brushOrigin()">brushOrigin</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the currently set brush origin.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#clipPath()">clipPath</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the currently clip as a path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#clipRegion()">clipRegion</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the currently set clip region.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#combinedMatrix()">combinedMatrix</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the transformation matrix combining the current window/viewport and world transformation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#combinedTransform()">combinedTransform</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the transformation matrix combining the current window/viewport and world transformation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainter.CompositionMode.html" title="enum in com.trolltech.qt.gui">QPainter.CompositionMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#compositionMode()">compositionMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current composition mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#device()">device</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the paint device on which this painter is currently painting, or 0 if the painter is not active.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#deviceMatrix()">deviceMatrix</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the matrix that transforms from logical coordinates to device coordinates of the platform dependent paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#deviceTransform()">deviceTransform</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the matrix that transforms from logical coordinates to device coordinates of the platform dependent paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawArc(int, int, int, int, int, int)">drawArc</A></B>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;w,
        int&nbsp;h,
        int&nbsp;a,
        int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the arc defined by the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the specified <tt>w</tt> and <tt>h</tt>, and the given <tt>a</tt> and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawArc(com.trolltech.qt.core.QRectF, int, int)">drawArc</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
        int&nbsp;a,
        int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the arc defined by the given <tt>rect</tt>, <tt>a</tt> and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawArc(com.trolltech.qt.core.QRect, int, int)">drawArc</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
        int&nbsp;a,
        int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the arc defined by the given <tt>arg__1</tt>, <tt>a</tt> and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawChord(int, int, int, int, int, int)">drawChord</A></B>(int&nbsp;x,
          int&nbsp;y,
          int&nbsp;w,
          int&nbsp;h,
          int&nbsp;a,
          int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the chord defined by the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the specified <tt>w</tt> and <tt>h</tt>, and the given <tt>a</tt> and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawChord(com.trolltech.qt.core.QRectF, int, int)">drawChord</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
          int&nbsp;a,
          int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the chord defined by the given <tt>rect</tt>, <tt>a</tt> and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawChord(com.trolltech.qt.core.QRect, int, int)">drawChord</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
          int&nbsp;a,
          int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the chord defined by the given <tt>arg__1</tt>, <tt>a</tt> and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawConvexPolygon(com.trolltech.qt.gui.QPolygon)">drawConvexPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the convex polygon defined by <tt>polygon</tt> using the current pen and brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawConvexPolygon(com.trolltech.qt.gui.QPolygonF)">drawConvexPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the convex polygon defined by <tt>polygon</tt> using the current pen and brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawEllipse(int, int, int, int)">drawEllipse</A></B>(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;w,
            int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the ellipse defined by the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawEllipse(com.trolltech.qt.core.QRect)">drawEllipse</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the ellipse defined by the given <tt>r</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawEllipse(com.trolltech.qt.core.QRectF)">drawEllipse</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the ellipse defined by the given <tt>r</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(int, int, com.trolltech.qt.gui.QImage)">drawImage</A></B>(int&nbsp;x,
          int&nbsp;y,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, 0, 0, -1, -1, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(int, int, com.trolltech.qt.gui.QImage, int)">drawImage</A></B>(int&nbsp;x,
          int&nbsp;y,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          int&nbsp;sx)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, <tt>sx</tt>, 0, -1, -1, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(int, int, com.trolltech.qt.gui.QImage, int, int)">drawImage</A></B>(int&nbsp;x,
          int&nbsp;y,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          int&nbsp;sx,
          int&nbsp;sy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, <tt>sx</tt>, <tt>sy</tt>, -1, -1, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(int, int, com.trolltech.qt.gui.QImage, int, int, int)">drawImage</A></B>(int&nbsp;x,
          int&nbsp;y,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          int&nbsp;sx,
          int&nbsp;sy,
          int&nbsp;sw)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, <tt>sx</tt>, <tt>sy</tt>, <tt>sw</tt>, -1, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(int, int, com.trolltech.qt.gui.QImage, int, int, int, int)">drawImage</A></B>(int&nbsp;x,
          int&nbsp;y,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          int&nbsp;sx,
          int&nbsp;sy,
          int&nbsp;sw,
          int&nbsp;sh)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, <tt>sx</tt>, <tt>sy</tt>, <tt>sw</tt>, <tt>sh</tt>, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(int, int, com.trolltech.qt.gui.QImage, int, int, int, int, com.trolltech.qt.core.Qt.ImageConversionFlag...)">drawImage</A></B>(int&nbsp;x,
          int&nbsp;y,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          int&nbsp;sx,
          int&nbsp;sy,
          int&nbsp;sw,
          int&nbsp;sh,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws an image at (<tt>x</tt>, <tt>y</tt>) by copying a part of <tt>image</tt> into the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(int, int, com.trolltech.qt.gui.QImage, int, int, int, int, com.trolltech.qt.core.Qt.ImageConversionFlags)">drawImage</A></B>(int&nbsp;x,
          int&nbsp;y,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          int&nbsp;sx,
          int&nbsp;sy,
          int&nbsp;sw,
          int&nbsp;sh,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws an image at (<tt>x</tt>, <tt>y</tt>) by copying a part of <tt>image</tt> into the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QImage)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>image</tt> at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sr)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>p</tt>, <tt>image</tt>, <tt>sr</tt>, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlag...)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sr,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sr</tt> of the given <tt>image</tt> with its origin at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlags)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sr,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sr</tt> of the given <tt>image</tt> with its origin at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QImage)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>image</tt> at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sr)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>p</tt>, <tt>image</tt>, <tt>sr</tt>, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ImageConversionFlag...)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sr,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sr</tt> of the given <tt>image</tt> with its origin at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ImageConversionFlags)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sr,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sr</tt> of the given <tt>image</tt> with its origin at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>image</tt> into the given <tt>r</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;targetRect,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sourceRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>targetRect</tt>, <tt>image</tt>, <tt>sourceRect</tt>, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlag...)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;targetRect,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sourceRect,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>image</tt> into the <tt>targetRect</tt> rectangle in the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlags)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;targetRect,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sourceRect,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>image</tt> into the <tt>targetRect</tt> rectangle in the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QImage)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>image</tt> into the given <tt>r</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;targetRect,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sourceRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>targetRect</tt>, <tt>image</tt>, <tt>sourceRect</tt>, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ImageConversionFlag...)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;targetRect,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sourceRect,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>image</tt> into the <tt>targetRect</tt> rectangle in the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawImage(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ImageConversionFlags)">drawImage</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;targetRect,
          <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sourceRect,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>image</tt> into the <tt>targetRect</tt> rectangle in the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLine(int, int, int, int)">drawLine</A></B>(int&nbsp;x1,
         int&nbsp;y1,
         int&nbsp;x2,
         int&nbsp;y2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a line from (<tt>x1</tt>, <tt>y1</tt>) to (<tt>x2</tt>, <tt>y2</tt>) and sets the current pen position to (<tt>x2</tt>, <tt>y2</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLine(com.trolltech.qt.gui.QLine)">drawLine</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A>&nbsp;line)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a line defined by <tt>line</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLine(com.trolltech.qt.gui.QLineF)">drawLine</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>&nbsp;line)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a line defined by <tt>line</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLine(com.trolltech.qt.core.QPointF, com.trolltech.qt.core.QPointF)">drawLine</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p1,
         <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a line from <tt>p1</tt> to <tt>p2</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLine(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.QPoint)">drawLine</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p1,
         <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a line from <tt>p1</tt> to <tt>p2</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLines(java.util.List)">drawLines</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A>&gt;&nbsp;lines)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the set of lines defined by the list <tt>lines</tt> using the current pen and brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLinesF(java.util.List)">drawLinesF</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>&gt;&nbsp;lines)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the set of lines defined by the list <tt>lines</tt> using the current pen and brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLinesFromPoints(java.util.List)">drawLinesFromPoints</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&gt;&nbsp;pointPairs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a line for each pair of points in the vector <tt>pointPairs</tt> using the current pen.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawLinesFromPointsF(java.util.List)">drawLinesFromPointsF</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&gt;&nbsp;pointPairs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a line for each pair of points in the vector <tt>pointPairs</tt> using the current pen.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPath(com.trolltech.qt.gui.QPainterPath)">drawPath</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given painter <tt>path</tt> using the current pen for outline and the current brush for filling.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPicture(int, int, com.trolltech.qt.gui.QPicture)">drawPicture</A></B>(int&nbsp;x,
            int&nbsp;y,
            <A HREF="../../../../com/trolltech/qt/gui/QPicture.html" title="class in com.trolltech.qt.gui">QPicture</A>&nbsp;picture)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>picture</tt> at point (<tt>x</tt>, <tt>y</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPicture(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QPicture)">drawPicture</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
            <A HREF="../../../../com/trolltech/qt/gui/QPicture.html" title="class in com.trolltech.qt.gui">QPicture</A>&nbsp;picture)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replays the given <tt>picture</tt> at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPicture(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QPicture)">drawPicture</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
            <A HREF="../../../../com/trolltech/qt/gui/QPicture.html" title="class in com.trolltech.qt.gui">QPicture</A>&nbsp;picture)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replays the given <tt>picture</tt> at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPie(int, int, int, int, int, int)">drawPie</A></B>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;w,
        int&nbsp;h,
        int&nbsp;a,
        int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the pie defined by the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the specified <tt>w</tt> and <tt>h</tt>, and the given <tt>a</tt> and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPie(com.trolltech.qt.core.QRectF, int, int)">drawPie</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
        int&nbsp;a,
        int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a pie defined by the given <tt>rect</tt>, <tt>a</tt> and and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPie(com.trolltech.qt.core.QRect, int, int)">drawPie</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
        int&nbsp;a,
        int&nbsp;alen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a pie defined by the given <tt>arg__1</tt>, <tt>a</tt> and and <tt>alen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap)">drawPixmap</A></B>(int&nbsp;x,
           int&nbsp;y,
           int&nbsp;w,
           int&nbsp;h,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the <tt>pm</tt> into the rectangle at position (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap, int, int, int, int)">drawPixmap</A></B>(int&nbsp;x,
           int&nbsp;y,
           int&nbsp;w,
           int&nbsp;h,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
           int&nbsp;sx,
           int&nbsp;sy,
           int&nbsp;sw,
           int&nbsp;sh)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion with the origin (<tt>sx</tt>, <tt>sy</tt>), width <tt>sw</tt> and height <tt>sh</tt>, of the given <tt>pm</tt> , at the point (<tt>x</tt>, <tt>y</tt>), with a width of <tt>w</tt> and a height of <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(int, int, com.trolltech.qt.gui.QPixmap)">drawPixmap</A></B>(int&nbsp;x,
           int&nbsp;y,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>pm</tt> at position (<tt>x</tt>, <tt>y</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(int, int, com.trolltech.qt.gui.QPixmap, int, int, int, int)">drawPixmap</A></B>(int&nbsp;x,
           int&nbsp;y,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
           int&nbsp;sx,
           int&nbsp;sy,
           int&nbsp;sw,
           int&nbsp;sh)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a pixmap at (<tt>x</tt>, <tt>y</tt>) by copying a part of the given <tt>pm</tt> into the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QPixmap)">drawPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>pm</tt> with its origin at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRectF)">drawPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
           <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sr)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sr</tt> of the given <tt>pm</tt> with its origin at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QPixmap)">drawPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>pm</tt> with its origin at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)">drawPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sr)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sr</tt> of the given <tt>pm</tt> with its origin at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRectF)">drawPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;targetRect,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
           <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sourceRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>pixmap</tt> into the given <tt>targetRect</tt> in the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap)">drawPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>pm</tt> into the given <tt>r</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)">drawPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;targetRect,
           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sourceRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>pixmap</tt> into the given <tt>targetRect</tt> in the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPoint(int, int)">drawPoint</A></B>(int&nbsp;x,
          int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a single point at position (<tt>x</tt>, <tt>y</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPoint(com.trolltech.qt.core.QPoint)">drawPoint</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a single point at the given <tt>p</tt> using the current pen's color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPoint(com.trolltech.qt.core.QPointF)">drawPoint</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;pt)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a single point at the given <tt>pt</tt> using the current pen's color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPoints(com.trolltech.qt.gui.QPolygon)">drawPoints</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;points)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the points in the vector <tt>points</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPoints(com.trolltech.qt.gui.QPolygonF)">drawPoints</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;points)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the points in the vector <tt>points</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygon)">drawPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)"><tt>drawPolygon</tt></a>(<tt>polygon</tt>, Qt::OddEvenFill).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygonF)">drawPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)"><tt>drawPolygon</tt></a>(<tt>polygon</tt>, Qt::OddEvenFill).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.core.Qt.FillRule)">drawPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon,
            <A HREF="../../../../com/trolltech/qt/core/Qt.FillRule.html" title="enum in com.trolltech.qt.core">Qt.FillRule</A>&nbsp;fillRule)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the polygon defined by the given <tt>polygon</tt> using the fill rule <tt>fillRule</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)">drawPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;polygon,
            <A HREF="../../../../com/trolltech/qt/core/Qt.FillRule.html" title="enum in com.trolltech.qt.core">Qt.FillRule</A>&nbsp;fillRule)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the polygon defined by the given <tt>polygon</tt> using the fill rule <tt>fillRule</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPolyline(com.trolltech.qt.gui.QPolygon)">drawPolyline</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the polyline defined by the given <tt>polygon</tt> using the current pen.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawPolyline(com.trolltech.qt.gui.QPolygonF)">drawPolyline</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polyline)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the polyline defined by the given <tt>polyline</tt> using the current pen.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRect(int, int, int, int)">drawRect</A></B>(int&nbsp;x1,
         int&nbsp;y1,
         int&nbsp;w,
         int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a rectangle with upper left corner at (<tt>x1</tt>, <tt>y1</tt>) and with the given <tt>w</tt> and <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRect(com.trolltech.qt.core.QRect)">drawRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the current <tt>rect</tt> with the current pen and brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRect(com.trolltech.qt.core.QRectF)">drawRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the current <tt>rect</tt> with the current pen and brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRects(java.util.List)">drawRects</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&gt;&nbsp;rectangles)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>rectangles</tt> using the current pen and brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRectsF(java.util.List)">drawRectsF</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&gt;&nbsp;rectangles)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>rectangles</tt> using the current pen and brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(int, int, int, int)">drawRoundRect</A></B>(int&nbsp;x,
              int&nbsp;y,
              int&nbsp;w,
              int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, 25, 25).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(int, int, int, int, int)">drawRoundRect</A></B>(int&nbsp;x,
              int&nbsp;y,
              int&nbsp;w,
              int&nbsp;h,
              int&nbsp;arg__5)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>arg__5</tt>, 25).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(int, int, int, int, int, int)">drawRoundRect</A></B>(int&nbsp;x,
              int&nbsp;y,
              int&nbsp;w,
              int&nbsp;h,
              int&nbsp;arg__5,
              int&nbsp;arg__6)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangle <tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt> with rounded corners.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(com.trolltech.qt.core.QRect)">drawRoundRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>r</tt>, 25, 25).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(com.trolltech.qt.core.QRectF)">drawRoundRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>r</tt>, 25, 25).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(com.trolltech.qt.core.QRectF, int)">drawRoundRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
              int&nbsp;xround)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>r</tt>, <tt>xround</tt>, 25).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(com.trolltech.qt.core.QRectF, int, int)">drawRoundRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
              int&nbsp;xround,
              int&nbsp;yround)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a rectangle <tt>r</tt> with rounded corners.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(com.trolltech.qt.core.QRect, int)">drawRoundRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
              int&nbsp;xround)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>r</tt>, <tt>xround</tt>, 25).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawRoundRect(com.trolltech.qt.core.QRect, int, int)">drawRoundRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
              int&nbsp;xround,
              int&nbsp;yround)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the rectangle <tt>r</tt> with rounded corners.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(int, int, int, int, int, java.lang.String)">drawText</A></B>(int&nbsp;x,
         int&nbsp;y,
         int&nbsp;width,
         int&nbsp;height,
         int&nbsp;flags,
         java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(int, int, int, int, int, java.lang.String, com.trolltech.qt.core.QRect)">drawText</A></B>(int&nbsp;x,
         int&nbsp;y,
         int&nbsp;width,
         int&nbsp;height,
         int&nbsp;flags,
         java.lang.String&nbsp;text,
         <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;boundingRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>text</tt> within the rectangle with origin
(<tt>x</tt>, <tt>y</tt>), <tt>width</tt> and <tt>height.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(int, int, java.lang.String)">drawText</A></B>(int&nbsp;x,
         int&nbsp;y,
         java.lang.String&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>s</tt> at position (<tt>x</tt>, <tt>y</tt>), using the painter's currently defined text direction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(com.trolltech.qt.core.QPointF, java.lang.String)">drawText</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
         java.lang.String&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>s</tt> with the currently defined text direction, beginning at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)">drawText</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
         java.lang.String&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>s</tt> with the currently defined text direction, beginning at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(com.trolltech.qt.core.QRectF, int, java.lang.String)">drawText</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rectangle,
         int&nbsp;flags,
         java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(com.trolltech.qt.core.QRectF, int, java.lang.String, com.trolltech.qt.core.QRectF)">drawText</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rectangle,
         int&nbsp;flags,
         java.lang.String&nbsp;text,
         <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;boundingRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>text</tt> within the provided <tt>rectangle</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(com.trolltech.qt.core.QRectF, java.lang.String)">drawText</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
         java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a>(<tt>r</tt>, <tt>text</tt>, QTextOption()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(com.trolltech.qt.core.QRectF, java.lang.String, com.trolltech.qt.gui.QTextOption)">drawText</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
         java.lang.String&nbsp;text,
         <A HREF="../../../../com/trolltech/qt/gui/QTextOption.html" title="class in com.trolltech.qt.gui">QTextOption</A>&nbsp;o)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>text</tt> in the <tt>r</tt> specified using the <tt>o</tt> to control its positioning and orientation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(com.trolltech.qt.core.QRect, int, java.lang.String)">drawText</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rectangle,
         int&nbsp;flags,
         java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded function provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawText(com.trolltech.qt.core.QRect, int, java.lang.String, com.trolltech.qt.core.QRect)">drawText</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rectangle,
         int&nbsp;flags,
         java.lang.String&nbsp;text,
         <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;boundingRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>text</tt> within the provided <tt>rectangle</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTextItem(int, int, com.trolltech.qt.gui.QTextItem)">drawTextItem</A></B>(int&nbsp;x,
             int&nbsp;y,
             <A HREF="../../../../com/trolltech/qt/gui/QTextItem.html" title="class in com.trolltech.qt.gui">QTextItem</A>&nbsp;ti)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTextItem(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QTextItem)">drawTextItem</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
             <A HREF="../../../../com/trolltech/qt/gui/QTextItem.html" title="class in com.trolltech.qt.gui">QTextItem</A>&nbsp;ti)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTextItem(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QTextItem)">drawTextItem</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
             <A HREF="../../../../com/trolltech/qt/gui/QTextItem.html" title="class in com.trolltech.qt.gui">QTextItem</A>&nbsp;ti)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTiledPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap)">drawTiledPixmap</A></B>(int&nbsp;x,
                int&nbsp;y,
                int&nbsp;w,
                int&nbsp;h,
                <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__5)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>arg__5</tt>, 0, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTiledPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap, int)">drawTiledPixmap</A></B>(int&nbsp;x,
                int&nbsp;y,
                int&nbsp;w,
                int&nbsp;h,
                <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__5,
                int&nbsp;sx)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>arg__5</tt>, <tt>sx</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTiledPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap, int, int)">drawTiledPixmap</A></B>(int&nbsp;x,
                int&nbsp;y,
                int&nbsp;w,
                int&nbsp;h,
                <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__5,
                int&nbsp;sx,
                int&nbsp;sy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a tiled <tt>arg__5</tt> in the specified rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPixmap)">drawTiledPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>(<tt>rect</tt>, <tt>pm</tt>, QPointF()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPointF)">drawTiledPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
                <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;offset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a tiled <tt>pm</tt>, inside the given <tt>rect</tt> with its origin at the given <tt>offset</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap)">drawTiledPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>(<tt>arg__1</tt>, <tt>arg__2</tt>, QPoint()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)">drawTiledPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__2,
                <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__3)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws a tiled <tt>arg__2</tt>, inside the given <tt>arg__1</tt> with its origin at the given <tt>arg__3</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#end()">end</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ends painting.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#eraseRect(int, int, int, int)">eraseRect</A></B>(int&nbsp;x,
          int&nbsp;y,
          int&nbsp;w,
          int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Erases the area inside the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#eraseRect(com.trolltech.qt.core.QRect)">eraseRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Erases the area inside the given <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#eraseRect(com.trolltech.qt.core.QRectF)">eraseRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Erases the area inside the given <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#fillPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QBrush)">fillPath</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path,
         <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills the given <tt>path</tt> using the given <tt>brush</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#fillRect(int, int, int, int, com.trolltech.qt.gui.QBrush)">fillRect</A></B>(int&nbsp;x,
         int&nbsp;y,
         int&nbsp;w,
         int&nbsp;h,
         <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;arg__5)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>, using the given <tt>arg__5</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#fillRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QBrush)">fillRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;arg__1,
         <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills the given <tt>arg__1</tt> with the given <tt>arg__2</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#fillRect(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QBrush)">fillRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
         <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills the given <tt>arg__1</tt> with the given <tt>arg__2</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#font()">font</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the currently set font used for drawing text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFontInfo.html" title="class in com.trolltech.qt.gui">QFontInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#fontInfo()">fontInfo</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the font info for the painter if the painter is active.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFontMetrics.html" title="class in com.trolltech.qt.gui">QFontMetrics</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#fontMetrics()">fontMetrics</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the font metrics for the painter if the painter is active.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QPainter instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#hasClipping()">hasClipping</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if clipping has been set; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#initFrom(com.trolltech.qt.gui.QWidget)">initFrom</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the painters pen, background and font to the same as the given <tt>widget</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#isActive()">isActive</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> has been called and <a href="QPainter.html#end()"><tt>end</tt></a> has not yet been called; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#layoutDirection()">layoutDirection</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the layout direction used by the painter when drawing text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#opacity()">opacity</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the opacity of the painter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#paintEngine()">paintEngine</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the paint engine that the painter is currently operating on if the painter is active; otherwise 0.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#pen()">pen</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the painter's current pen.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#redirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)">redirected</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;device,
           <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;offset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the replacement for given <tt>device</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHints.html" title="class in com.trolltech.qt.gui">QPainter.RenderHints</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#renderHints()">renderHints</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a flag that specifies the rendering hints that are set for this painter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#resetMatrix()">resetMatrix</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets any transformations that were made using <a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a>, <a href="QPainter.html#scale(double, double)"><tt>scale</tt></a>, <a href="QPainter.html#shear(double, double)"><tt>shear</tt></a>, <a href="QPainter.html#rotate(double)"><tt>rotate</tt></a>, <a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, <a href="QPainter.html#setViewport(com.trolltech.qt.core.QRect)"><tt>setViewport</tt></a> and <a href="QPainter.html#setWindow(com.trolltech.qt.core.QRect)"><tt>setWindow</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#resetTransform()">resetTransform</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets any transformations that were made using <a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a>, <a href="QPainter.html#scale(double, double)"><tt>scale</tt></a>, <a href="QPainter.html#shear(double, double)"><tt>shear</tt></a>, <a href="QPainter.html#rotate(double)"><tt>rotate</tt></a>, <a href="QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setWorldTransform</tt></a>, <a href="QPainter.html#setViewport(com.trolltech.qt.core.QRect)"><tt>setViewport</tt></a> and <a href="QPainter.html#setWindow(com.trolltech.qt.core.QRect)"><tt>setWindow</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#restore()">restore</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restores the current painter state (pops a saved state off the stack).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#restoreRedirected(com.trolltech.qt.gui.QPaintDeviceInterface)">restoreRedirected</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;device)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restores the previous redirection for the given <tt>device</tt> after a call to <a href="QPainter.html#setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)"><tt>setRedirected</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#rotate(double)">rotate</A></B>(double&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rotates the coordinate system the given <tt>a</tt> clockwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#save()">save</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves the current painter state (pushes the state onto a stack).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#scale(double, double)">scale</A></B>(double&nbsp;sx,
      double&nbsp;sy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scales the coordinate system by (<tt>sx</tt>, <tt>sy</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBackground(com.trolltech.qt.gui.QBrush)">setBackground</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;bg)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the background brush of the painter to the given <tt>bg</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBackgroundMode(com.trolltech.qt.core.Qt.BGMode)">setBackgroundMode</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.BGMode.html" title="enum in com.trolltech.qt.core">Qt.BGMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the background mode of the painter to the given <tt>mode</tt></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBrush(com.trolltech.qt.gui.QBrush)">setBrush</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's brush to the given <tt>brush</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBrush(com.trolltech.qt.gui.QColor)">setBrush</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;color)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the brush of this QPainter to a solid <tt>color</tt> brush.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBrush(com.trolltech.qt.gui.QGradient)">setBrush</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGradient.html" title="class in com.trolltech.qt.gui">QGradient</A>&nbsp;gradient)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this QPainter's brush to use <tt>gradient</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBrush(com.trolltech.qt.gui.QPixmap)">setBrush</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this QPainter's brush to use <tt>pm</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBrush(com.trolltech.qt.core.Qt.BrushStyle)">setBrush</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.BrushStyle.html" title="enum in com.trolltech.qt.core">Qt.BrushStyle</A>&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's brush to black color and the specified <tt>style</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBrushOrigin(int, int)">setBrushOrigin</A></B>(int&nbsp;x,
               int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the brush's origin to point (<tt>x</tt>, <tt>y</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBrushOrigin(com.trolltech.qt.core.QPoint)">setBrushOrigin</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the brush's origin to the given <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setBrushOrigin(com.trolltech.qt.core.QPointF)">setBrushOrigin</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the brush origin to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipPath(com.trolltech.qt.gui.QPainterPath)">setClipPath</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setClipPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipPath</tt></a>(<tt>path</tt>, Qt::ReplaceClip).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ClipOperation)">setClipPath</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path,
            <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables clipping, and sets the clip path for the painter to the given <tt>path</tt>, with the clip <tt>op</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipping(boolean)">setClipping</A></B>(boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables clipping if <tt>enable</tt> is true, or disables clipping if <tt>enable</tt> is false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipRect(int, int, int, int)">setClipRect</A></B>(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;w,
            int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, Qt::ReplaceClip).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipRect(int, int, int, int, com.trolltech.qt.core.Qt.ClipOperation)">setClipRect</A></B>(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;w,
            int&nbsp;h,
            <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables clipping, and sets the clip region to the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipRect(com.trolltech.qt.core.QRect)">setClipRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRect</tt></a>(<tt>arg__1</tt>, Qt::ReplaceClip).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipRect(com.trolltech.qt.core.QRectF)">setClipRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRect</tt></a>(<tt>arg__1</tt>, Qt::ReplaceClip).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ClipOperation)">setClipRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;arg__1,
            <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables clipping, and sets the clip region to the given <tt>arg__1</tt> using the given clip <tt>op</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)">setClipRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
            <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables clipping, and sets the clip region to the given <tt>arg__1</tt> using the given clip <tt>op</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipRegion(com.trolltech.qt.gui.QRegion)">setClipRegion</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setClipRegion(com.trolltech.qt.gui.QRegion, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRegion</tt></a>(<tt>arg__1</tt>, Qt::ReplaceClip).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setClipRegion(com.trolltech.qt.gui.QRegion, com.trolltech.qt.core.Qt.ClipOperation)">setClipRegion</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1,
              <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the clip region to the given <tt>arg__1</tt> using the specified clip <tt>op</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setCompositionMode(com.trolltech.qt.gui.QPainter.CompositionMode)">setCompositionMode</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.CompositionMode.html" title="enum in com.trolltech.qt.gui">QPainter.CompositionMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the composition mode to the given <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setFont(com.trolltech.qt.gui.QFont)">setFont</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's font to the given <tt>f</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)">setLayoutDirection</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the layout direction used by the painter when drawing text, to the specified <tt>direction</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setOpacity(double)">setOpacity</A></B>(double&nbsp;opacity)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the opacity of the painter to <tt>opacity</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setPen(com.trolltech.qt.gui.QColor)">setPen</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;color)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's pen to have style Qt::SolidLine, width 0 and the specified <tt>color</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setPen(com.trolltech.qt.gui.QPen)">setPen</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's pen to be the given <tt>pen</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setPen(com.trolltech.qt.core.Qt.PenStyle)">setPen</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.PenStyle.html" title="enum in com.trolltech.qt.core">Qt.PenStyle</A>&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's pen to have the given <tt>style</tt>, width 0 and black color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface)">setRedirected</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;device,
              <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;replacement)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)"><tt>setRedirected</tt></a>(<tt>device</tt>, <tt>replacement</tt>, QPoint()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)">setRedirected</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;device,
              <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;replacement,
              <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;offset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Redirects all paint commands for the given paint <tt>device</tt>, to the <tt>replacement</tt> device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint)">setRenderHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHint.html" title="enum in com.trolltech.qt.gui">QPainter.RenderHint</A>&nbsp;hint)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint, boolean)"><tt>setRenderHint</tt></a>(<tt>hint</tt>, true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint, boolean)">setRenderHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHint.html" title="enum in com.trolltech.qt.gui">QPainter.RenderHint</A>&nbsp;hint,
              boolean&nbsp;on)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the given render <tt>hint</tt> on the painter if <tt>on</tt> is true; otherwise clears the render hint.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setRenderHints(com.trolltech.qt.gui.QPainter.RenderHints)">setRenderHints</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHints.html" title="class in com.trolltech.qt.gui">QPainter.RenderHints</A>&nbsp;hints)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setRenderHints(com.trolltech.qt.gui.QPainter.RenderHints, boolean)"><tt>setRenderHints</tt></a>(<tt>hints</tt>, true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setRenderHints(com.trolltech.qt.gui.QPainter.RenderHints, boolean)">setRenderHints</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHints.html" title="class in com.trolltech.qt.gui">QPainter.RenderHints</A>&nbsp;hints,
               boolean&nbsp;on)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the given render <tt>hints</tt> on the painter if <tt>on</tt> is true; otherwise clears the render hints.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setTransform(com.trolltech.qt.gui.QTransform)">setTransform</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;transform)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>(<tt>transform</tt>, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)">setTransform</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;transform,
             boolean&nbsp;combine)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the world transformation matrix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setViewport(int, int, int, int)">setViewport</A></B>(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;w,
            int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's viewport rectangle to be the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setViewport(com.trolltech.qt.core.QRect)">setViewport</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;viewport)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's viewport rectangle to the given <tt>viewport</tt>, and enables view transformations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setViewTransformEnabled(boolean)">setViewTransformEnabled</A></B>(boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables view transformations if <tt>enable</tt> is true, or disables view transformations if <tt>enable</tt> is false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setWindow(int, int, int, int)">setWindow</A></B>(int&nbsp;x,
          int&nbsp;y,
          int&nbsp;w,
          int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's window to the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) and the given <tt>w</tt> and <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setWindow(com.trolltech.qt.core.QRect)">setWindow</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;window)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the painter's window to the given <tt>window</tt>, and enables view transformations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix)">setWorldMatrix</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A>&nbsp;matrix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>(<tt>matrix</tt>, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)">setWorldMatrix</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A>&nbsp;matrix,
               boolean&nbsp;combine)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the transformation matrix to <tt>matrix</tt> and enables transformations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setWorldMatrixEnabled(boolean)">setWorldMatrixEnabled</A></B>(boolean&nbsp;enabled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables transformations if <tt>enabled</tt> is true, or disables transformations if <tt>enabled</tt> is false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform)">setWorldTransform</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;matrix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setWorldTransform</tt></a>(<tt>matrix</tt>, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)">setWorldTransform</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;matrix,
                  boolean&nbsp;combine)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the world transformation matrix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#shear(double, double)">shear</A></B>(double&nbsp;sh,
      double&nbsp;sv)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shears the coordinate system by (<tt>sh</tt>, <tt>sv</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#strokePath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen)">strokePath</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path,
           <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the outline (strokes) the path <tt>path</tt> with the pen specified by <tt>pen</tt></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#testRenderHint(com.trolltech.qt.gui.QPainter.RenderHint)">testRenderHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHint.html" title="enum in com.trolltech.qt.gui">QPainter.RenderHint</A>&nbsp;hint)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <tt>hint</tt> is set; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#transform()">transform</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the world transformation matrix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#translate(double, double)">translate</A></B>(double&nbsp;dx,
          double&nbsp;dy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the coordinate system by the vector (<tt>dx</tt>, <tt>dy</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#translate(com.trolltech.qt.core.QPoint)">translate</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;offset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the coordinate system by the given <tt>offset</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#translate(com.trolltech.qt.core.QPointF)">translate</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;offset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the coordinate system by the given <tt>offset</tt>; i.e&#x2e; the given <tt>offset</tt> is added to points.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#viewport()">viewport</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the viewport rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#viewTransformEnabled()">viewTransformEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if view transformation is enabled; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#window()">window</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the window rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#worldMatrix()">worldMatrix</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the world transformation matrix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#worldMatrixEnabled()">worldMatrixEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if world transformation is enabled; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPainter.html#worldTransform()">worldTransform</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the world transformation matrix.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QPainter()"><!-- --></A><H3>
QPainter</H3>
<PRE>
public <B>QPainter</B>()</PRE>
<DL>
<DD><p>Constructs a painter.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a>, 
<a href="QPainter.html#end()"><tt>end</tt></a></DL>
</DL>
<HR>

<A NAME="QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><!-- --></A><H3>
QPainter</H3>
<PRE>
public <B>QPainter</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Constructs a painter that begins painting the paint <tt>arg__1</tt> immediately.</p>
<p>This constructor is convenient for short-lived painters, e.g&#x2e; in a QWidget::paintEvent() and should be used only once. The constructor calls <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> for you and the <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> destructor automatically calls <a href="QPainter.html#end()"><tt>end</tt></a>.</p>
<p>Here's an example using <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> and <a href="QPainter.html#end()"><tt>end</tt></a>:</p>
<pre>    void MyWidget::paintEvent(QPaintEvent *)
    {
        QPainter p;
        p.begin(this);
        p.drawLine(...);        <span class="comment">// drawing code</span>
        p.end();
    }</pre>
<p>The same example using this constructor:</p>
<pre>    void MyWidget::paintEvent(QPaintEvent *)
    {
        QPainter p(this);
        p.drawLine(...);        <span class="comment">// drawing code</span>
    }</pre>
<p>Since the constructor cannot provide feedback when the initialization of the painter failed you should rather use <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> and <a href="QPainter.html#end()"><tt>end</tt></a> to paint on external devices, e.g&#x2e; printers.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a>, 
<a href="QPainter.html#end()"><tt>end</tt></a></DL>
</DL>
<HR>

<A NAME="QPainter(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
QPainter</H3>
<PRE>
public <B>QPainter</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD>Creates a QPainter with parent <tt>widget</tt>.
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="background()"><!-- --></A><H3>
background</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> <B>background</B>()</PRE>
<DL>
<DD><p>Returns the current background brush.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setBackground(com.trolltech.qt.gui.QBrush)"><tt>setBackground</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="backgroundMode()"><!-- --></A><H3>
backgroundMode</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.BGMode.html" title="enum in com.trolltech.qt.core">Qt.BGMode</A> <B>backgroundMode</B>()</PRE>
<DL>
<DD><p>Returns the current background mode.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setBackgroundMode(com.trolltech.qt.core.Qt.BGMode)"><tt>setBackgroundMode</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><!-- --></A><H3>
begin</H3>
<PRE>
public final boolean <B>begin</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Begins painting the paint <tt>arg__1</tt> and returns true if successful; otherwise returns false.</p>
<p>Notice that all painter settings (<a href="QPainter.html#setPen(com.trolltech.qt.core.Qt.PenStyle)"><tt>setPen</tt></a>, <a href="QPainter.html#setBrush(com.trolltech.qt.core.Qt.BrushStyle)"><tt>setBrush</tt></a> etc.) are reset to default values when <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> is called.</p>
<p>The errors that can occur are serious problems, such as these:</p>
<pre>    painter-&gt;begin(0); <span class="comment">// impossible - paint device cannot be 0</span>

    QPixmap image(0, 0);
    painter-&gt;begin(&amp;image); <span class="comment">// impossible - image.isNull() == true;</span>

    painter-&gt;begin(myWidget);
    painter2-&gt;begin(myWidget); <span class="comment">// impossible - only one painter at a time</span></pre>
<p>Note that most of the time, you can use one of the constructors instead of <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a>, and that <a href="QPainter.html#end()"><tt>end</tt></a> is automatically done at destruction.</p>
<p><b>Warning:</b> A paint device can only be painted by one painter at a time.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#end()"><tt>end</tt></a>, 
<a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="boundingRect(com.trolltech.qt.core.QRectF, java.lang.String)"><!-- --></A><H3>
boundingRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>boundingRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                 java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#boundingRect(int, int, int, int, int, java.lang.String)"><tt>boundingRect</tt></a>(<tt>rect</tt>, <tt>text</tt>, QTextOption()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="boundingRect(com.trolltech.qt.core.QRectF, java.lang.String, com.trolltech.qt.gui.QTextOption)"><!-- --></A><H3>
boundingRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>boundingRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                 java.lang.String&nbsp;text,
                                 <A HREF="../../../../com/trolltech/qt/gui/QTextOption.html" title="class in com.trolltech.qt.gui">QTextOption</A>&nbsp;o)</PRE>
<DL>
<DD><p>Instead of specifying flags as a bitwise OR of the Qt::AlignmentFlag and Qt::TextFlag, this overloaded function takes an <tt>o</tt> argument. The <a href="QTextOption.html"><tt>QTextOption</tt></a> class provides a description of general rich text properties.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTextOption.html"><tt>QTextOption</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="boundingRect(com.trolltech.qt.core.QRect, int, java.lang.String)"><!-- --></A><H3>
boundingRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>boundingRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
                                int&nbsp;flags,
                                java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Returns the bounding rectangle of the <tt>text</tt> as it will appear when drawn inside the given <tt>rect</tt> with the specified <tt>flags</tt> using the currently set <a href="QPainter.html#font()"><tt>font</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="boundingRect(com.trolltech.qt.core.QRectF, int, java.lang.String)"><!-- --></A><H3>
boundingRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>boundingRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                 int&nbsp;flags,
                                 java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Returns the bounding rectangle of the <tt>text</tt> as it will appear when drawn inside the given <tt>rect</tt> with the specified <tt>flags</tt> using the currently set <a href="QPainter.html#font()"><tt>font</tt></a>; i.e the function tells you where the <a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a> function will draw when given the same arguments.</p>
<p>If the <tt>text</tt> does not fit within the given <tt>rect</tt> using the specified <tt>flags</tt>, the function returns the required rectangle.</p>
<p>The <tt>flags</tt> argument is a bitwise OR of the following flags:</p>
<ul>
<li>Qt::AlignLeft</li>
<li>Qt::AlignRight</li>
<li>Qt::AlignHCenter</li>
<li>Qt::AlignTop</li>
<li>Qt::AlignBottom</li>
<li>Qt::AlignVCenter</li>
<li>Qt::AlignCenter</li>
<li>Qt::TextSingleLine</li>
<li>Qt::TextExpandTabs</li>
<li>Qt::TextShowMnemonic</li>
<li>Qt::TextWordWrap</li>
</ul>
<p>If several of the horizontal or several of the vertical alignment flags are set, the resulting alignment is undefined.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a>, 
<CODE>Qt::Alignment</tt></CODE>, 
<tt>Qt::TextFlag</tt></DL>
</DD>
</DL>
<HR>

<A NAME="boundingRect(int, int, int, int, int, java.lang.String)"><!-- --></A><H3>
boundingRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>boundingRect</B>(int&nbsp;x,
                                int&nbsp;y,
                                int&nbsp;w,
                                int&nbsp;h,
                                int&nbsp;flags,
                                java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Returns the bounding rectangle of the given <tt>text</tt> as it will appear when drawn inside the rectangle beginning at the point (<tt>x</tt>, <tt>y</tt>) with width <tt>w</tt> and height <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="brush()"><!-- --></A><H3>
brush</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> <B>brush</B>()</PRE>
<DL>
<DD><p>Returns the painter's current brush.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QPainter::setBrush</tt>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="brushOrigin()"><!-- --></A><H3>
brushOrigin</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>brushOrigin</B>()</PRE>
<DL>
<DD><p>Returns the currently set brush origin.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setBrushOrigin(com.trolltech.qt.core.QPointF)"><tt>setBrushOrigin</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="clipPath()"><!-- --></A><H3>
clipPath</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>clipPath</B>()</PRE>
<DL>
<DD><p>Returns the currently clip as a path. Note that the clip path is given in logical coordinates.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setClipPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipPath</tt></a>, 
<a href="QPainter.html#clipRegion()"><tt>clipRegion</tt></a>, 
<a href="QPainter.html#setClipping(boolean)"><tt>setClipping</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clipRegion()"><!-- --></A><H3>
clipRegion</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>clipRegion</B>()</PRE>
<DL>
<DD><p>Returns the currently set clip region. Note that the clip region is given in logical coordinates.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setClipRegion(com.trolltech.qt.gui.QRegion, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRegion</tt></a>, 
<a href="QPainter.html#clipPath()"><tt>clipPath</tt></a>, 
<a href="QPainter.html#setClipping(boolean)"><tt>setClipping</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="combinedMatrix()"><!-- --></A><H3>
combinedMatrix</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A> <B>combinedMatrix</B>()</PRE>
<DL>
<DD><p>Returns the transformation matrix combining the current window/viewport and world transformation.</p>
<p>It is advisable to use <a href="QPainter.html#combinedTransform()"><tt>combinedTransform</tt></a> instead of this function to preserve the properties of perspective transformations.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, 
<a href="QPainter.html#setWindow(com.trolltech.qt.core.QRect)"><tt>setWindow</tt></a>, 
<a href="QPainter.html#setViewport(com.trolltech.qt.core.QRect)"><tt>setViewport</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="combinedTransform()"><!-- --></A><H3>
combinedTransform</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>combinedTransform</B>()</PRE>
<DL>
<DD><p>Returns the transformation matrix combining the current window/viewport and world transformation.</p>
<p>It is advisable to use <a href="QPainter.html#combinedTransform()"><tt>combinedTransform</tt></a> instead of this function to preserve the properties of perspective transformations.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, 
<a href="QPainter.html#setWindow(com.trolltech.qt.core.QRect)"><tt>setWindow</tt></a>, 
<a href="QPainter.html#setViewport(com.trolltech.qt.core.QRect)"><tt>setViewport</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="compositionMode()"><!-- --></A><H3>
compositionMode</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPainter.CompositionMode.html" title="enum in com.trolltech.qt.gui">QPainter.CompositionMode</A> <B>compositionMode</B>()</PRE>
<DL>
<DD><p>Returns the current composition mode.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#CompositionMode-enum"><tt>CompositionMode</tt></a>, 
<a href="QPainter.html#setCompositionMode(com.trolltech.qt.gui.QPainter.CompositionMode)"><tt>setCompositionMode</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="device()"><!-- --></A><H3>
device</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A> <B>device</B>()</PRE>
<DL>
<DD><p>Returns the paint device on which this painter is currently painting, or 0 if the painter is not active.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#isActive()"><tt>isActive</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="deviceMatrix()"><!-- --></A><H3>
deviceMatrix</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A> <B>deviceMatrix</B>()</PRE>
<DL>
<DD><p>Returns the matrix that transforms from logical coordinates to device coordinates of the platform dependent paint device.</p>
<p><b>Note:</b> It is advisable to use <a href="QPainter.html#deviceTransform()"><tt>deviceTransform</tt></a> instead of this function to preserve the properties of perspective transformations.</p>
<p>This function is <i>only</i> needed when using platform painting commands on the platform dependent handle (Qt::HANDLE), and the platform does not do transformations nativly.</p>
<p>The QPaintEngine::PaintEngineFeature enum can be queried to determine whether the platform performs the transformations or not.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a>, 
<tt>QPaintEngine::hasFeature</tt></DL>
</DD>
</DL>
<HR>

<A NAME="deviceTransform()"><!-- --></A><H3>
deviceTransform</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>deviceTransform</B>()</PRE>
<DL>
<DD><p>Returns the matrix that transforms from logical coordinates to device coordinates of the platform dependent paint device.</p>
<p>This function is <i>only</i> needed when using platform painting commands on the platform dependent handle (Qt::HANDLE), and the platform does not do transformations nativly.</p>
<p>The QPaintEngine::PaintEngineFeature enum can be queried to determine whether the platform performs the transformations or not.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#worldTransform()"><tt>worldTransform</tt></a>, 
<tt>QPaintEngine::hasFeature</tt></DL>
</DD>
</DL>
<HR>

<A NAME="drawArc(com.trolltech.qt.core.QRectF, int, int)"><!-- --></A><H3>
drawArc</H3>
<PRE>
public final void <B>drawArc</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                          int&nbsp;a,
                          int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws the arc defined by the given <tt>rect</tt>, <tt>a</tt> and <tt>alen</tt>.</p>
<p>The <tt>a</tt> and <tt>alen</tt> must be specified in 1/16th of a degree, i.e&#x2e; a full circle equals 5760 (16 * 360). Positive values for the angles mean counter-clockwise while negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-arc.png" /></td><td><pre>    QRectF rectangle(10.0, 20.0, 80.0, 60.0);
    int startAngle = 30 * 16;
    int spanAngle = 120 * 16;

    QPainter painter(this);
    painter.drawArc(rectangle, startAngle, spanAngle);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawPie(com.trolltech.qt.core.QRectF, int, int)"><tt>drawPie</tt></a>, 
<a href="QPainter.html#drawChord(com.trolltech.qt.core.QRectF, int, int)"><tt>drawChord</tt></a>, 
<a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawArc(int, int, int, int, int, int)"><!-- --></A><H3>
drawArc</H3>
<PRE>
public final void <B>drawArc</B>(int&nbsp;x,
                          int&nbsp;y,
                          int&nbsp;w,
                          int&nbsp;h,
                          int&nbsp;a,
                          int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws the arc defined by the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the specified <tt>w</tt> and <tt>h</tt>, and the given <tt>a</tt> and <tt>alen</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawArc(com.trolltech.qt.core.QRect, int, int)"><!-- --></A><H3>
drawArc</H3>
<PRE>
public final void <B>drawArc</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                          int&nbsp;a,
                          int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws the arc defined by the given <tt>arg__1</tt>, <tt>a</tt> and <tt>alen</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawChord(int, int, int, int, int, int)"><!-- --></A><H3>
drawChord</H3>
<PRE>
public final void <B>drawChord</B>(int&nbsp;x,
                            int&nbsp;y,
                            int&nbsp;w,
                            int&nbsp;h,
                            int&nbsp;a,
                            int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws the chord defined by the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the specified <tt>w</tt> and <tt>h</tt>, and the given <tt>a</tt> and <tt>alen</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawChord(com.trolltech.qt.core.QRect, int, int)"><!-- --></A><H3>
drawChord</H3>
<PRE>
public final void <B>drawChord</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                            int&nbsp;a,
                            int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws the chord defined by the given <tt>arg__1</tt>, <tt>a</tt> and <tt>alen</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawChord(com.trolltech.qt.core.QRectF, int, int)"><!-- --></A><H3>
drawChord</H3>
<PRE>
public final void <B>drawChord</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                            int&nbsp;a,
                            int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws the chord defined by the given <tt>rect</tt>, <tt>a</tt> and <tt>alen</tt>. The chord is filled with the current <a href="QPainter.html#brush()"><tt>brush</tt></a>.</p>
<p>The startAngle and spanAngle must be specified in 1/16th of a degree, i.e&#x2e; a full circle equals 5760 (16 * 360). Positive values for the angles mean counter-clockwise while negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-chord.png" /></td><td><pre>    QRectF rectangle(10.0, 20.0, 80.0, 60.0);
    int startAngle = 30 * 16;
    int spanAngle = 120 * 16;

    QPainter painter(this);
    painter.drawChord(rect, startAngle, spanAngle);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawArc(com.trolltech.qt.core.QRect, int, int)"><tt>drawArc</tt></a>, 
<a href="QPainter.html#drawPie(com.trolltech.qt.core.QRectF, int, int)"><tt>drawPie</tt></a>, 
<a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawConvexPolygon(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
drawConvexPolygon</H3>
<PRE>
public final void <B>drawConvexPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Draws the convex polygon defined by <tt>polygon</tt> using the current pen and brush.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawConvexPolygon(com.trolltech.qt.gui.QPolygon)"><!-- --></A><H3>
drawConvexPolygon</H3>
<PRE>
public final void <B>drawConvexPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Draws the convex polygon defined by <tt>polygon</tt> using the current pen and brush.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawEllipse(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawEllipse</H3>
<PRE>
public final void <B>drawEllipse</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r)</PRE>
<DL>
<DD><p>Draws the ellipse defined by the given <tt>r</tt>.</p>
<p>A filled ellipse has a size of <tt>r</tt>.size(). A stroked ellipse has a size of <tt>r</tt>.size() plus the pen width.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-ellipse.png" /></td><td><pre>    QRectF rectangle(10.0, 20.0, 80.0, 60.0);

    QPainter painter(this);
    painter.drawEllipse(rectangle);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawPie(com.trolltech.qt.core.QRectF, int, int)"><tt>drawPie</tt></a>, 
<a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawEllipse(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawEllipse</H3>
<PRE>
public final void <B>drawEllipse</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</PRE>
<DL>
<DD><p>Draws the ellipse defined by the given <tt>r</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawEllipse(int, int, int, int)"><!-- --></A><H3>
drawEllipse</H3>
<PRE>
public final void <B>drawEllipse</B>(int&nbsp;x,
                              int&nbsp;y,
                              int&nbsp;w,
                              int&nbsp;h)</PRE>
<DL>
<DD><p>Draws the ellipse defined by the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sr,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sr</tt> of the given <tt>image</tt> with its origin at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sr)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>p</tt>, <tt>image</tt>, <tt>sr</tt>, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sr,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sr</tt> of the given <tt>image</tt> with its origin at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sr,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sr</tt> of the given <tt>image</tt> with its origin at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sr)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>p</tt>, <tt>image</tt>, <tt>sr</tt>, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sr,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sr</tt> of the given <tt>image</tt> with its origin at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QImage)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</PRE>
<DL>
<DD><p>Draws the given <tt>image</tt> into the given <tt>r</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;targetRect,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sourceRect,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>image</tt> into the <tt>targetRect</tt> rectangle in the paint device.</p>
<p>If the image needs to be modified to fit in a lower-resolution result (e.g&#x2e; converting from 32-bit to 8-bit), use the <tt>flags</tt> to specify how you would prefer this to happen.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><pre>    QRectF target(10.0, 20.0, 80.0, 60.0);
    QRectF source(0.0, 0.0, 70.0, 40.0);
    QImage image(&quot;:/images/myImage.png&quot;);

    QPainter(this);
    painter.drawImage(target, image, source);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><tt>drawPixmap</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;targetRect,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sourceRect)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>targetRect</tt>, <tt>image</tt>, <tt>sourceRect</tt>, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;targetRect,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sourceRect,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>image</tt> into the <tt>targetRect</tt> rectangle in the paint device.</p>
<p>If the image needs to be modified to fit in a lower-resolution result (e.g&#x2e; converting from 32-bit to 8-bit), use the <tt>flags</tt> to specify how you would prefer this to happen.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><pre>    QRectF target(10.0, 20.0, 80.0, 60.0);
    QRectF source(0.0, 0.0, 70.0, 40.0);
    QImage image(&quot;:/images/myImage.png&quot;);

    QPainter(this);
    painter.drawImage(target, image, source);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><tt>drawPixmap</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(int, int, com.trolltech.qt.gui.QImage, int, int, int, int, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(int&nbsp;x,
                            int&nbsp;y,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            int&nbsp;sx,
                            int&nbsp;sy,
                            int&nbsp;sw,
                            int&nbsp;sh,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD><p>Draws an image at (<tt>x</tt>, <tt>y</tt>) by copying a part of <tt>image</tt> into the paint device.</p>
<p>(<tt>x</tt>, <tt>y</tt>) specifies the top-left point in the paint device that is to be drawn onto. (<tt>sx</tt>, <tt>sy</tt>) specifies the top-left point in <tt>image</tt> that is to be drawn. The default is (0, 0).</p>
<p>(<tt>sw</tt>, <tt>sh</tt>) specifies the size of the image that is to be drawn. The default, (0, 0) (and negative) means all the way to the bottom-right of the image.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(int, int, com.trolltech.qt.gui.QImage, int, int, int, int)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(int&nbsp;x,
                            int&nbsp;y,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            int&nbsp;sx,
                            int&nbsp;sy,
                            int&nbsp;sw,
                            int&nbsp;sh)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, <tt>sx</tt>, <tt>sy</tt>, <tt>sw</tt>, <tt>sh</tt>, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(int, int, com.trolltech.qt.gui.QImage, int, int, int)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(int&nbsp;x,
                            int&nbsp;y,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            int&nbsp;sx,
                            int&nbsp;sy,
                            int&nbsp;sw)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, <tt>sx</tt>, <tt>sy</tt>, <tt>sw</tt>, -1, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(int, int, com.trolltech.qt.gui.QImage, int, int)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(int&nbsp;x,
                            int&nbsp;y,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            int&nbsp;sx,
                            int&nbsp;sy)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, <tt>sx</tt>, <tt>sy</tt>, -1, -1, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(int, int, com.trolltech.qt.gui.QImage, int)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(int&nbsp;x,
                            int&nbsp;y,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            int&nbsp;sx)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, <tt>sx</tt>, 0, -1, -1, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(int, int, com.trolltech.qt.gui.QImage)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(int&nbsp;x,
                            int&nbsp;y,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>image</tt>, 0, 0, -1, -1, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(int, int, com.trolltech.qt.gui.QImage, int, int, int, int, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(int&nbsp;x,
                            int&nbsp;y,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            int&nbsp;sx,
                            int&nbsp;sy,
                            int&nbsp;sw,
                            int&nbsp;sh,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Draws an image at (<tt>x</tt>, <tt>y</tt>) by copying a part of <tt>image</tt> into the paint device.</p>
<p>(<tt>x</tt>, <tt>y</tt>) specifies the top-left point in the paint device that is to be drawn onto. (<tt>sx</tt>, <tt>sy</tt>) specifies the top-left point in <tt>image</tt> that is to be drawn. The default is (0, 0).</p>
<p>(<tt>sw</tt>, <tt>sh</tt>) specifies the size of the image that is to be drawn. The default, (0, 0) (and negative) means all the way to the bottom-right of the image.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QImage)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</PRE>
<DL>
<DD><p>Draws the given <tt>image</tt> at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QImage)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</PRE>
<DL>
<DD><p>Draws the given <tt>image</tt> at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;targetRect,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sourceRect,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>image</tt> into the <tt>targetRect</tt> rectangle in the paint device.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;targetRect,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sourceRect)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a>(<tt>targetRect</tt>, <tt>image</tt>, <tt>sourceRect</tt>, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;targetRect,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sourceRect,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>image</tt> into the <tt>targetRect</tt> rectangle in the paint device.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public final void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
                            <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</PRE>
<DL>
<DD><p>Draws the given <tt>image</tt> into the given <tt>r</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawLine(com.trolltech.qt.gui.QLine)"><!-- --></A><H3>
drawLine</H3>
<PRE>
public final void <B>drawLine</B>(<A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A>&nbsp;line)</PRE>
<DL>
<DD><p>Draws a line defined by <tt>line</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawLine(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
drawLine</H3>
<PRE>
public final void <B>drawLine</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p1,
                           <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p2)</PRE>
<DL>
<DD><p>Draws a line from <tt>p1</tt> to <tt>p2</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawLine(com.trolltech.qt.core.QPointF, com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
drawLine</H3>
<PRE>
public final void <B>drawLine</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p1,
                           <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p2)</PRE>
<DL>
<DD><p>Draws a line from <tt>p1</tt> to <tt>p2</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawLine(int, int, int, int)"><!-- --></A><H3>
drawLine</H3>
<PRE>
public final void <B>drawLine</B>(int&nbsp;x1,
                           int&nbsp;y1,
                           int&nbsp;x2,
                           int&nbsp;y2)</PRE>
<DL>
<DD><p>Draws a line from (<tt>x1</tt>, <tt>y1</tt>) to (<tt>x2</tt>, <tt>y2</tt>) and sets the current pen position to (<tt>x2</tt>, <tt>y2</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawLine(com.trolltech.qt.gui.QLineF)"><!-- --></A><H3>
drawLine</H3>
<PRE>
public final void <B>drawLine</B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>&nbsp;line)</PRE>
<DL>
<DD><p>Draws a line defined by <tt>line</tt>.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-line.png" /></td><td><pre>    QLineF line(10.0, 80.0, 90.0, 20.0);

    QPainter(this);
    painter.drawLine(line);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawLines(java.util.List<com.trolltech.qt.gui.QLine>)"><tt>drawLines</tt></a>, 
<a href="QPainter.html#drawPolyline(com.trolltech.qt.gui.QPolygonF)"><tt>drawPolyline</tt></a>, 
<a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawLinesFromPointsF(java.util.List)"><!-- --></A><H3>
drawLinesFromPointsF</H3>
<PRE>
public final void <B>drawLinesFromPointsF</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&gt;&nbsp;pointPairs)</PRE>
<DL>
<DD><p>Draws a line for each pair of points in the vector <tt>pointPairs</tt> using the current pen. If there is an odd number of points in the array, the last point will be ignored.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawLinesF(java.util.List)"><!-- --></A><H3>
drawLinesF</H3>
<PRE>
public final void <B>drawLinesF</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>&gt;&nbsp;lines)</PRE>
<DL>
<DD><p>Draws the set of lines defined by the list <tt>lines</tt> using the current pen and brush.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawLines(java.util.List)"><!-- --></A><H3>
drawLines</H3>
<PRE>
public final void <B>drawLines</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A>&gt;&nbsp;lines)</PRE>
<DL>
<DD><p>Draws the set of lines defined by the list <tt>lines</tt> using the current pen and brush.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawLinesFromPoints(java.util.List)"><!-- --></A><H3>
drawLinesFromPoints</H3>
<PRE>
public final void <B>drawLinesFromPoints</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&gt;&nbsp;pointPairs)</PRE>
<DL>
<DD><p>Draws a line for each pair of points in the vector <tt>pointPairs</tt> using the current pen.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPath(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
drawPath</H3>
<PRE>
public final void <B>drawPath</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Draws the given painter <tt>path</tt> using the current pen for outline and the current brush for filling.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-path.png" /></td><td><pre>    QPainterPath path;
    path.moveTo(20, 80);
    path.lineTo(20, 30);
    path.cubicTo(80, 0, 50, 50, 80, 80);

    QPainter painter(this);
    painter.drawPath(path);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>Painter Paths example</tt></CODE>, 
<CODE>Vector Deformation demo</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="drawPicture(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QPicture)"><!-- --></A><H3>
drawPicture</H3>
<PRE>
public final void <B>drawPicture</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                              <A HREF="../../../../com/trolltech/qt/gui/QPicture.html" title="class in com.trolltech.qt.gui">QPicture</A>&nbsp;picture)</PRE>
<DL>
<DD><p>Replays the given <tt>picture</tt> at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPicture(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QPicture)"><!-- --></A><H3>
drawPicture</H3>
<PRE>
public final void <B>drawPicture</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                              <A HREF="../../../../com/trolltech/qt/gui/QPicture.html" title="class in com.trolltech.qt.gui">QPicture</A>&nbsp;picture)</PRE>
<DL>
<DD><p>Replays the given <tt>picture</tt> at the given <tt>p</tt>.</p>
<p>The <a href="QPicture.html"><tt>QPicture</tt></a> class is a paint device that records and replays <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> commands. A picture serializes the painter commands to an IO device in a platform-independent format. Everything that can be painted on a widget or pixmap can also be stored in a picture.</p>
<p>This function does exactly the same as QPicture::play() when called with <tt>p</tt> = <a href="%2E%2E/core/QPoint.html"><tt>QPoint</tt></a>(0, 0).</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><pre>    QPicture picture;
    QPointF point(10.0, 20.0)
    picture.load(&quot;drawing.pic&quot;);

    QPainter painter(this);
    painter.drawPicture(0, 0, picture);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QPicture::play</tt></DL>
</DD>
</DL>
<HR>

<A NAME="drawPicture(int, int, com.trolltech.qt.gui.QPicture)"><!-- --></A><H3>
drawPicture</H3>
<PRE>
public final void <B>drawPicture</B>(int&nbsp;x,
                              int&nbsp;y,
                              <A HREF="../../../../com/trolltech/qt/gui/QPicture.html" title="class in com.trolltech.qt.gui">QPicture</A>&nbsp;picture)</PRE>
<DL>
<DD><p>Draws the given <tt>picture</tt> at point (<tt>x</tt>, <tt>y</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPie(int, int, int, int, int, int)"><!-- --></A><H3>
drawPie</H3>
<PRE>
public final void <B>drawPie</B>(int&nbsp;x,
                          int&nbsp;y,
                          int&nbsp;w,
                          int&nbsp;h,
                          int&nbsp;a,
                          int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws the pie defined by the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the specified <tt>w</tt> and <tt>h</tt>, and the given <tt>a</tt> and <tt>alen</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPie(com.trolltech.qt.core.QRect, int, int)"><!-- --></A><H3>
drawPie</H3>
<PRE>
public final void <B>drawPie</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                          int&nbsp;a,
                          int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws a pie defined by the given <tt>arg__1</tt>, <tt>a</tt> and and <tt>alen</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPie(com.trolltech.qt.core.QRectF, int, int)"><!-- --></A><H3>
drawPie</H3>
<PRE>
public final void <B>drawPie</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                          int&nbsp;a,
                          int&nbsp;alen)</PRE>
<DL>
<DD><p>Draws a pie defined by the given <tt>rect</tt>, <tt>a</tt> and and <tt>alen</tt>.</p>
<p>The pie is filled with the current <a href="QPainter.html#brush()"><tt>brush</tt></a>.</p>
<p>The startAngle and spanAngle must be specified in 1/16th of a degree, i.e&#x2e; a full circle equals 5760 (16 * 360). Positive values for the angles mean counter-clockwise while negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-pie.png" /></td><td><pre>    QRectF rectangle(10.0, 20.0, 80.0, 60.0);
    int startAngle = 30 * 16;
    int spanAngle = 120 * 16;

    QPainter painter(this);
    painter.drawPie(rectangle, startAngle, spanAngle);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawEllipse(int, int, int, int)"><tt>drawEllipse</tt></a>, 
<a href="QPainter.html#drawChord(com.trolltech.qt.core.QRectF, int, int)"><tt>drawChord</tt></a>, 
<a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</PRE>
<DL>
<DD><p>Draws the given <tt>pm</tt> into the given <tt>r</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
                             <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sr)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sr</tt> of the given <tt>pm</tt> with its origin at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;targetRect,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
                             <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sourceRect)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>pixmap</tt> into the given <tt>targetRect</tt> in the paint device.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><pre>    QRectF target(10.0, 20.0, 80.0, 60.0);
    QRectF source(0.0, 0.0, 70.0, 40.0);
    QPixmap pixmap(&quot;:myPixmap.png&quot;);

    QPainter(this);
    painter.drawPixmap(target, image, source);</pre>
</td></tr>
</table></p>
<p>If <tt>pixmap</tt> is a <a href="QBitmap.html"><tt>QBitmap</tt></a> it is drawn with the bits that are &quot;set&quot; using the pens color. If <a href="QPainter.html#backgroundMode()"><tt>backgroundMode</tt></a> is Qt::OpaqueMode, the &quot;unset&quot; bits are drawn using the color of the background brush; if <a href="QPainter.html#backgroundMode()"><tt>backgroundMode</tt></a> is Qt::TransparentMode, the &quot;unset&quot; bits are transparent. Drawing bitmaps with gradient or texture colors is not supported.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage)"><tt>drawImage</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</PRE>
<DL>
<DD><p>Draws the given <tt>pm</tt> with its origin at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap, int, int, int, int)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(int&nbsp;x,
                             int&nbsp;y,
                             int&nbsp;w,
                             int&nbsp;h,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
                             int&nbsp;sx,
                             int&nbsp;sy,
                             int&nbsp;sw,
                             int&nbsp;sh)</PRE>
<DL>
<DD><p>Draws the rectangular portion with the origin (<tt>sx</tt>, <tt>sy</tt>), width <tt>sw</tt> and height <tt>sh</tt>, of the given <tt>pm</tt> , at the point (<tt>x</tt>, <tt>y</tt>), with a width of <tt>w</tt> and a height of <tt>h</tt>. If sw or sh are equal to zero the width/height of the pixmap is used and adjusted by the offset sx/sy;</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(int, int, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(int&nbsp;x,
                             int&nbsp;y,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</PRE>
<DL>
<DD><p>Draws the given <tt>pm</tt> at position (<tt>x</tt>, <tt>y</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</PRE>
<DL>
<DD><p>Draws the given <tt>pm</tt> with its origin at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
                             <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sr)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sr</tt> of the given <tt>pm</tt> with its origin at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(int&nbsp;x,
                             int&nbsp;y,
                             int&nbsp;w,
                             int&nbsp;h,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</PRE>
<DL>
<DD><p>Draws the <tt>pm</tt> into the rectangle at position (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(int, int, com.trolltech.qt.gui.QPixmap, int, int, int, int)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(int&nbsp;x,
                             int&nbsp;y,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
                             int&nbsp;sx,
                             int&nbsp;sy,
                             int&nbsp;sw,
                             int&nbsp;sh)</PRE>
<DL>
<DD><p>Draws a pixmap at (<tt>x</tt>, <tt>y</tt>) by copying a part of the given <tt>pm</tt> into the paint device.</p>
<p>(<tt>x</tt>, <tt>y</tt>) specifies the top-left point in the paint device that is to be drawn onto. (<tt>sx</tt>, <tt>sy</tt>) specifies the top-left point in <tt>pm</tt> that is to be drawn. The default is (0, 0).</p>
<p>(<tt>sw</tt>, <tt>sh</tt>) specifies the size of the pixmap that is to be drawn. The default, (0, 0) (and negative) means all the way to the bottom-right of the pixmap.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawPixmap</H3>
<PRE>
public final void <B>drawPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;targetRect,
                             <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
                             <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;sourceRect)</PRE>
<DL>
<DD><p>Draws the rectangular portion <tt>sourceRect</tt> of the given <tt>pixmap</tt> into the given <tt>targetRect</tt> in the paint device.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPoint(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
drawPoint</H3>
<PRE>
public final void <B>drawPoint</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;pt)</PRE>
<DL>
<DD><p>Draws a single point at the given <tt>pt</tt> using the current pen's color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawPoint(int, int)"><!-- --></A><H3>
drawPoint</H3>
<PRE>
public final void <B>drawPoint</B>(int&nbsp;x,
                            int&nbsp;y)</PRE>
<DL>
<DD><p>Draws a single point at position (<tt>x</tt>, <tt>y</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPoint(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
drawPoint</H3>
<PRE>
public final void <B>drawPoint</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Draws a single point at the given <tt>p</tt> using the current pen's color.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPoints(com.trolltech.qt.gui.QPolygon)"><!-- --></A><H3>
drawPoints</H3>
<PRE>
public final void <B>drawPoints</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;points)</PRE>
<DL>
<DD><p>Draws the points in the vector <tt>points</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPoints(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
drawPoints</H3>
<PRE>
public final void <B>drawPoints</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;points)</PRE>
<DL>
<DD><p>Draws the points in the vector <tt>points</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPolygon(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
drawPolygon</H3>
<PRE>
public final void <B>drawPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)"><tt>drawPolygon</tt></a>(<tt>polygon</tt>, Qt::OddEvenFill).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.core.Qt.FillRule)"><!-- --></A><H3>
drawPolygon</H3>
<PRE>
public final void <B>drawPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon,
                              <A HREF="../../../../com/trolltech/qt/core/Qt.FillRule.html" title="enum in com.trolltech.qt.core">Qt.FillRule</A>&nbsp;fillRule)</PRE>
<DL>
<DD><p>Draws the polygon defined by the given <tt>polygon</tt> using the fill rule <tt>fillRule</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPolygon(com.trolltech.qt.gui.QPolygon)"><!-- --></A><H3>
drawPolygon</H3>
<PRE>
public final void <B>drawPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)"><tt>drawPolygon</tt></a>(<tt>polygon</tt>, Qt::OddEvenFill).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPolygon(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)"><!-- --></A><H3>
drawPolygon</H3>
<PRE>
public final void <B>drawPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;polygon,
                              <A HREF="../../../../com/trolltech/qt/core/Qt.FillRule.html" title="enum in com.trolltech.qt.core">Qt.FillRule</A>&nbsp;fillRule)</PRE>
<DL>
<DD><p>Draws the polygon defined by the given <tt>polygon</tt> using the fill rule <tt>fillRule</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPolyline(com.trolltech.qt.gui.QPolygon)"><!-- --></A><H3>
drawPolyline</H3>
<PRE>
public final void <B>drawPolyline</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Draws the polyline defined by the given <tt>polygon</tt> using the current pen.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPolyline(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
drawPolyline</H3>
<PRE>
public final void <B>drawPolyline</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polyline)</PRE>
<DL>
<DD><p>Draws the polyline defined by the given <tt>polyline</tt> using the current pen.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRect(int, int, int, int)"><!-- --></A><H3>
drawRect</H3>
<PRE>
public final void <B>drawRect</B>(int&nbsp;x1,
                           int&nbsp;y1,
                           int&nbsp;w,
                           int&nbsp;h)</PRE>
<DL>
<DD><p>Draws a rectangle with upper left corner at (<tt>x1</tt>, <tt>y1</tt>) and with the given <tt>w</tt> and <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRect(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawRect</H3>
<PRE>
public final void <B>drawRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Draws the current <tt>rect</tt> with the current pen and brush.</p>
<p>A filled rectangle has a size of <tt>rect</tt>.size(). A stroked rectangle has a size of <tt>rect</tt>.size() plus the pen width.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-rectangle.png" /></td><td><pre>    QRectF rectangle(10.0, 20.0, 80.0, 60.0);

    QPainter painter(this);
    painter.drawRect(rectangle);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawRects(java.util.List<com.trolltech.qt.core.QRect>)"><tt>drawRects</tt></a>, 
<a href="QPainter.html#drawPolygon(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)"><tt>drawPolygon</tt></a>, 
<a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawRect(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawRect</H3>
<PRE>
public final void <B>drawRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Draws the current <tt>rect</tt> with the current pen and brush.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRects(java.util.List)"><!-- --></A><H3>
drawRects</H3>
<PRE>
public final void <B>drawRects</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&gt;&nbsp;rectangles)</PRE>
<DL>
<DD><p>Draws the given <tt>rectangles</tt> using the current pen and brush.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRectsF(java.util.List)"><!-- --></A><H3>
drawRectsF</H3>
<PRE>
public final void <B>drawRectsF</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&gt;&nbsp;rectangles)</PRE>
<DL>
<DD><p>Draws the given <tt>rectangles</tt> using the current pen and brush.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(com.trolltech.qt.core.QRect, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
                                int&nbsp;xround)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>r</tt>, <tt>xround</tt>, 25).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>r</tt>, 25, 25).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(com.trolltech.qt.core.QRect, int, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
                                int&nbsp;xround,
                                int&nbsp;yround)</PRE>
<DL>
<DD><p>Draws the rectangle <tt>r</tt> with rounded corners.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(com.trolltech.qt.core.QRectF, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
                                int&nbsp;xround)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>r</tt>, <tt>xround</tt>, 25).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>r</tt>, 25, 25).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(com.trolltech.qt.core.QRectF, int, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
                                int&nbsp;xround,
                                int&nbsp;yround)</PRE>
<DL>
<DD><p>Draws a rectangle <tt>r</tt> with rounded corners.</p>
<p>The <tt>xround</tt> and <tt>yround</tt> arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness.</p>
<p>A filled rectangle has a size of r.size(). A stroked rectangle has a size of r.size() plus the pen width.</p>
<p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qpainter-roundrect.png" /></td><td><pre>    QRectF rectangle(10.0, 20.0, 80.0, 60.0);

    QPainter painter(this);
    painter.drawRoundRect(rectangle);</pre>
</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawRect(com.trolltech.qt.core.QRect)"><tt>drawRect</tt></a>, 
<a href="QPen.html"><tt>QPen</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(int, int, int, int, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(int&nbsp;x,
                                int&nbsp;y,
                                int&nbsp;w,
                                int&nbsp;h,
                                int&nbsp;arg__5)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>arg__5</tt>, 25).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(int, int, int, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(int&nbsp;x,
                                int&nbsp;y,
                                int&nbsp;w,
                                int&nbsp;h)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawRoundRect(int, int, int, int, int, int)"><tt>drawRoundRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, 25, 25).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRoundRect(int, int, int, int, int, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public final void <B>drawRoundRect</B>(int&nbsp;x,
                                int&nbsp;y,
                                int&nbsp;w,
                                int&nbsp;h,
                                int&nbsp;arg__5,
                                int&nbsp;arg__6)</PRE>
<DL>
<DD><p>Draws the rectangle <tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt> with rounded corners.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(com.trolltech.qt.core.QRectF, java.lang.String)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
                           java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a>(<tt>r</tt>, <tt>text</tt>, QTextOption()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(com.trolltech.qt.core.QRectF, java.lang.String, com.trolltech.qt.gui.QTextOption)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;r,
                           java.lang.String&nbsp;text,
                           <A HREF="../../../../com/trolltech/qt/gui/QTextOption.html" title="class in com.trolltech.qt.gui">QTextOption</A>&nbsp;o)</PRE>
<DL>
<DD><p>Draws the given <tt>text</tt> in the <tt>r</tt> specified using the <tt>o</tt> to control its positioning and orientation.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(int, int, java.lang.String)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(int&nbsp;x,
                           int&nbsp;y,
                           java.lang.String&nbsp;s)</PRE>
<DL>
<DD><p>Draws the given <tt>s</tt> at position (<tt>x</tt>, <tt>y</tt>), using the painter's currently defined text direction.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(com.trolltech.qt.core.QPointF, java.lang.String)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                           java.lang.String&nbsp;s)</PRE>
<DL>
<DD><p>Draws the given <tt>s</tt> with the currently defined text direction, beginning at the given <tt>p</tt>.</p>
<p>This function does not break text into multiple lines. Use the QPainter::drawText() overload that takes a rectangle instead if you want line breaking.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                           java.lang.String&nbsp;s)</PRE>
<DL>
<DD><p>Draws the given <tt>s</tt> with the currently defined text direction, beginning at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTextItem(int, int, com.trolltech.qt.gui.QTextItem)"><!-- --></A><H3>
drawTextItem</H3>
<PRE>
public final void <B>drawTextItem</B>(int&nbsp;x,
                               int&nbsp;y,
                               <A HREF="../../../../com/trolltech/qt/gui/QTextItem.html" title="class in com.trolltech.qt.gui">QTextItem</A>&nbsp;ti)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTextItem(com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QTextItem)"><!-- --></A><H3>
drawTextItem</H3>
<PRE>
public final void <B>drawTextItem</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                               <A HREF="../../../../com/trolltech/qt/gui/QTextItem.html" title="class in com.trolltech.qt.gui">QTextItem</A>&nbsp;ti)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTextItem(com.trolltech.qt.core.QPointF, com.trolltech.qt.gui.QTextItem)"><!-- --></A><H3>
drawTextItem</H3>
<PRE>
public final void <B>drawTextItem</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;p,
                               <A HREF="../../../../com/trolltech/qt/gui/QTextItem.html" title="class in com.trolltech.qt.gui">QTextItem</A>&nbsp;ti)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTiledPixmap(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawTiledPixmap</H3>
<PRE>
public final void <B>drawTiledPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                  <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>(<tt>rect</tt>, <tt>pm</tt>, QPointF()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTiledPixmap(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
drawTiledPixmap</H3>
<PRE>
public final void <B>drawTiledPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                  <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm,
                                  <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;offset)</PRE>
<DL>
<DD><p>Draws a tiled <tt>pm</tt>, inside the given <tt>rect</tt> with its origin at the given <tt>offset</tt>.</p>
<p>Calling <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a> is similar to calling <a href="QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><tt>drawPixmap</tt></a> several times to fill (tile) an area with a pixmap, but is potentially much more efficient depending on the underlying window system.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QRect)"><tt>drawPixmap</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawTiledPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap, int)"><!-- --></A><H3>
drawTiledPixmap</H3>
<PRE>
public final void <B>drawTiledPixmap</B>(int&nbsp;x,
                                  int&nbsp;y,
                                  int&nbsp;w,
                                  int&nbsp;h,
                                  <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__5,
                                  int&nbsp;sx)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>arg__5</tt>, <tt>sx</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTiledPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawTiledPixmap</H3>
<PRE>
public final void <B>drawTiledPixmap</B>(int&nbsp;x,
                                  int&nbsp;y,
                                  int&nbsp;w,
                                  int&nbsp;h,
                                  <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__5)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>arg__5</tt>, 0, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTiledPixmap(int, int, int, int, com.trolltech.qt.gui.QPixmap, int, int)"><!-- --></A><H3>
drawTiledPixmap</H3>
<PRE>
public final void <B>drawTiledPixmap</B>(int&nbsp;x,
                                  int&nbsp;y,
                                  int&nbsp;w,
                                  int&nbsp;h,
                                  <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__5,
                                  int&nbsp;sx,
                                  int&nbsp;sy)</PRE>
<DL>
<DD><p>Draws a tiled <tt>arg__5</tt> in the specified rectangle.</p>
<p>(<tt>x</tt>, <tt>y</tt>) specifies the top-left point in the paint device that is to be drawn onto; with the given <tt>w</tt> and <tt>h</tt>. (<tt>sx</tt>, <tt>sy</tt>) specifies the top-left point in the <tt>arg__5</tt> that is to be drawn; this defaults to (0, 0).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawTiledPixmap</H3>
<PRE>
public final void <B>drawTiledPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                                  <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__2)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><tt>drawTiledPixmap</tt></a>(<tt>arg__1</tt>, <tt>arg__2</tt>, QPoint()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawTiledPixmap(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
drawTiledPixmap</H3>
<PRE>
public final void <B>drawTiledPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                                  <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__2,
                                  <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__3)</PRE>
<DL>
<DD><p>Draws a tiled <tt>arg__2</tt>, inside the given <tt>arg__1</tt> with its origin at the given <tt>arg__3</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="end()"><!-- --></A><H3>
end</H3>
<PRE>
public final boolean <B>end</B>()</PRE>
<DL>
<DD><p>Ends painting. Any resources used while painting are released. You don't normally need to call this since it is called by the destructor.</p>
<p>Returns true if the painter is no longer active; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a>, 
<a href="QPainter.html#isActive()"><tt>isActive</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="eraseRect(int, int, int, int)"><!-- --></A><H3>
eraseRect</H3>
<PRE>
public final void <B>eraseRect</B>(int&nbsp;x,
                            int&nbsp;y,
                            int&nbsp;w,
                            int&nbsp;h)</PRE>
<DL>
<DD><p>Erases the area inside the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="eraseRect(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
eraseRect</H3>
<PRE>
public final void <B>eraseRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Erases the area inside the given <tt>arg__1</tt>. Equivalent to calling</p>
<pre>    fillRect(rectangle, background()).</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#fillRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QBrush)"><tt>fillRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="eraseRect(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
eraseRect</H3>
<PRE>
public final void <B>eraseRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Erases the area inside the given <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fillPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
fillPath</H3>
<PRE>
public final void <B>fillPath</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path,
                           <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>Fills the given <tt>path</tt> using the given <tt>brush</tt>. The outline is not drawn.</p>
<p>Alternatively, you can specify a <a href="QColor.html"><tt>QColor</tt></a> instead of a <a href="QBrush.html"><tt>QBrush</tt></a>; the <a href="QBrush.html"><tt>QBrush</tt></a> constructor (taking a <a href="QColor.html"><tt>QColor</tt></a> argument) will automatically create a solid pattern brush.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawPath(com.trolltech.qt.gui.QPainterPath)"><tt>drawPath</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fillRect(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
fillRect</H3>
<PRE>
public final void <B>fillRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                           <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;arg__2)</PRE>
<DL>
<DD><p>Fills the given <tt>arg__1</tt> with the given <tt>arg__2</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fillRect(int, int, int, int, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
fillRect</H3>
<PRE>
public final void <B>fillRect</B>(int&nbsp;x,
                           int&nbsp;y,
                           int&nbsp;w,
                           int&nbsp;h,
                           <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;arg__5)</PRE>
<DL>
<DD><p>Fills the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>, using the given <tt>arg__5</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fillRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
fillRect</H3>
<PRE>
public final void <B>fillRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;arg__1,
                           <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;arg__2)</PRE>
<DL>
<DD><p>Fills the given <tt>arg__1</tt> with the given <tt>arg__2</tt>.</p>
<p>Alternatively, you can specify a <a href="QColor.html"><tt>QColor</tt></a> instead of a <a href="QBrush.html"><tt>QBrush</tt></a>; the <a href="QBrush.html"><tt>QBrush</tt></a> constructor (taking a <a href="QColor.html"><tt>QColor</tt></a> argument) will automatically create a solid pattern brush.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#drawRect(com.trolltech.qt.core.QRect)"><tt>drawRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="font()"><!-- --></A><H3>
font</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>font</B>()</PRE>
<DL>
<DD><p>Returns the currently set font used for drawing text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a>, 
<a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fontInfo()"><!-- --></A><H3>
fontInfo</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFontInfo.html" title="class in com.trolltech.qt.gui">QFontInfo</A> <B>fontInfo</B>()</PRE>
<DL>
<DD><p>Returns the font info for the painter if the painter is active. Otherwise, the return value is undefined.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#font()"><tt>font</tt></a>, 
<a href="QPainter.html#isActive()"><tt>isActive</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fontMetrics()"><!-- --></A><H3>
fontMetrics</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFontMetrics.html" title="class in com.trolltech.qt.gui">QFontMetrics</A> <B>fontMetrics</B>()</PRE>
<DL>
<DD><p>Returns the font metrics for the painter if the painter is active. Otherwise, the return value is undefined.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#font()"><tt>font</tt></a>, 
<a href="QPainter.html#isActive()"><tt>isActive</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="hasClipping()"><!-- --></A><H3>
hasClipping</H3>
<PRE>
public final boolean <B>hasClipping</B>()</PRE>
<DL>
<DD><p>Returns true if clipping has been set; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setClipping(boolean)"><tt>setClipping</tt></a>, 
<CODE>Clipping</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="initFrom(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
initFrom</H3>
<PRE>
public final void <B>initFrom</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Initializes the painters pen, background and font to the same as the given <tt>widget</tt>. Call this function after <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> while the painter is active.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isActive()"><!-- --></A><H3>
isActive</H3>
<PRE>
public final boolean <B>isActive</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> has been called and <a href="QPainter.html#end()"><tt>end</tt></a> has not yet been called; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a>, 
<tt>QPaintDevice::paintingActive</tt></DL>
</DD>
</DL>
<HR>

<A NAME="layoutDirection()"><!-- --></A><H3>
layoutDirection</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A> <B>layoutDirection</B>()</PRE>
<DL>
<DD><p>Returns the layout direction used by the painter when drawing text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)"><tt>setLayoutDirection</tt></a>, 
<a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="opacity()"><!-- --></A><H3>
opacity</H3>
<PRE>
public final double <B>opacity</B>()</PRE>
<DL>
<DD><p>Returns the opacity of the painter. The default value is 1.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setOpacity(double)"><tt>setOpacity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="paintEngine()"><!-- --></A><H3>
paintEngine</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A> <B>paintEngine</B>()</PRE>
<DL>
<DD><p>Returns the paint engine that the painter is currently operating on if the painter is active; otherwise 0.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#isActive()"><tt>isActive</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pen()"><!-- --></A><H3>
pen</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A> <B>pen</B>()</PRE>
<DL>
<DD><p>Returns the painter's current pen.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setPen(com.trolltech.qt.core.Qt.PenStyle)"><tt>setPen</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="renderHints()"><!-- --></A><H3>
renderHints</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHints.html" title="class in com.trolltech.qt.gui">QPainter.RenderHints</A> <B>renderHints</B>()</PRE>
<DL>
<DD><p>Returns a flag that specifies the rendering hints that are set for this painter.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setRenderHints(com.trolltech.qt.gui.QPainter.RenderHints, boolean)"><tt>setRenderHints</tt></a>, 
<a href="QPainter.html#testRenderHint(com.trolltech.qt.gui.QPainter.RenderHint)"><tt>testRenderHint</tt></a>, 
<CODE>Quality</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="resetMatrix()"><!-- --></A><H3>
resetMatrix</H3>
<PRE>
public final void <B>resetMatrix</B>()</PRE>
<DL>
<DD><p>Resets any transformations that were made using <a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a>, <a href="QPainter.html#scale(double, double)"><tt>scale</tt></a>, <a href="QPainter.html#shear(double, double)"><tt>shear</tt></a>, <a href="QPainter.html#rotate(double)"><tt>rotate</tt></a>, <a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, <a href="QPainter.html#setViewport(com.trolltech.qt.core.QRect)"><tt>setViewport</tt></a> and <a href="QPainter.html#setWindow(com.trolltech.qt.core.QRect)"><tt>setWindow</tt></a>.</p>
<p>It is advisable to use <a href="QPainter.html#resetTransform()"><tt>resetTransform</tt></a> instead of this function to preserve the properties of perspective transformations.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="resetTransform()"><!-- --></A><H3>
resetTransform</H3>
<PRE>
public final void <B>resetTransform</B>()</PRE>
<DL>
<DD><p>Resets any transformations that were made using <a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a>, <a href="QPainter.html#scale(double, double)"><tt>scale</tt></a>, <a href="QPainter.html#shear(double, double)"><tt>shear</tt></a>, <a href="QPainter.html#rotate(double)"><tt>rotate</tt></a>, <a href="QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setWorldTransform</tt></a>, <a href="QPainter.html#setViewport(com.trolltech.qt.core.QRect)"><tt>setViewport</tt></a> and <a href="QPainter.html#setWindow(com.trolltech.qt.core.QRect)"><tt>setWindow</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#coordinate-transformations">Coordinate Transformations</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="restore()"><!-- --></A><H3>
restore</H3>
<PRE>
public final void <B>restore</B>()</PRE>
<DL>
<DD><p>Restores the current painter state (pops a saved state off the stack).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#save()"><tt>save</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rotate(double)"><!-- --></A><H3>
rotate</H3>
<PRE>
public final void <B>rotate</B>(double&nbsp;a)</PRE>
<DL>
<DD><p>Rotates the coordinate system the given <tt>a</tt> clockwise.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="save()"><!-- --></A><H3>
save</H3>
<PRE>
public final void <B>save</B>()</PRE>
<DL>
<DD><p>Saves the current painter state (pushes the state onto a stack). A <a href="QPainter.html#save()"><tt>save</tt></a> must be followed by a corresponding <a href="QPainter.html#restore()"><tt>restore</tt></a>; the <a href="QPainter.html#end()"><tt>end</tt></a> function unwinds the stack.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#restore()"><tt>restore</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="scale(double, double)"><!-- --></A><H3>
scale</H3>
<PRE>
public final void <B>scale</B>(double&nbsp;sx,
                        double&nbsp;sy)</PRE>
<DL>
<DD><p>Scales the coordinate system by (<tt>sx</tt>, <tt>sy</tt>).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setBackground(com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
setBackground</H3>
<PRE>
public final void <B>setBackground</B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;bg)</PRE>
<DL>
<DD><p>Sets the background brush of the painter to the given <tt>bg</tt>.</p>
<p>The background brush is the brush that is filled in when drawing opaque text, stippled lines and bitmaps. The background brush has no effect in transparent background mode (which is the default).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#background()"><tt>background</tt></a>, 
<a href="QPainter.html#setBackgroundMode(com.trolltech.qt.core.Qt.BGMode)"><tt>setBackgroundMode</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setBackgroundMode(com.trolltech.qt.core.Qt.BGMode)"><!-- --></A><H3>
setBackgroundMode</H3>
<PRE>
public final void <B>setBackgroundMode</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.BGMode.html" title="enum in com.trolltech.qt.core">Qt.BGMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Sets the background mode of the painter to the given <tt>mode</tt></p>
<p>Qt::TransparentMode (the default) draws stippled lines and text without setting the background pixels. Qt::OpaqueMode fills these space with the current background color.</p>
<p>Note that in order to draw a bitmap or pixmap transparently, you must use QPixmap::setMask().</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#backgroundMode()"><tt>backgroundMode</tt></a>, 
<a href="QPainter.html#setBackground(com.trolltech.qt.gui.QBrush)"><tt>setBackground</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setBrush(com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
setBrush</H3>
<PRE>
public final void <B>setBrush</B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>Sets the painter's brush to the given <tt>brush</tt>.</p>
<p>The painter's brush defines how shapes are filled.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#brush()"><tt>brush</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setBrush(com.trolltech.qt.core.Qt.BrushStyle)"><!-- --></A><H3>
setBrush</H3>
<PRE>
public final void <B>setBrush</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.BrushStyle.html" title="enum in com.trolltech.qt.core">Qt.BrushStyle</A>&nbsp;style)</PRE>
<DL>
<DD><p>Sets the painter's brush to black color and the specified <tt>style</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#brush()"><tt>brush</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBrushOrigin(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
setBrushOrigin</H3>
<PRE>
public final void <B>setBrushOrigin</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the brush's origin to the given <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBrushOrigin(int, int)"><!-- --></A><H3>
setBrushOrigin</H3>
<PRE>
public final void <B>setBrushOrigin</B>(int&nbsp;x,
                                 int&nbsp;y)</PRE>
<DL>
<DD><p>Sets the brush's origin to point (<tt>x</tt>, <tt>y</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBrushOrigin(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
setBrushOrigin</H3>
<PRE>
public final void <B>setBrushOrigin</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the brush origin to <tt>arg__1</tt>.</p>
<p>The brush origin specifies the (0, 0) coordinate of the painter's brush. This setting only applies to pattern brushes and pixmap brushes.</p>
<p>Note that while the <a href="QPainter.html#brushOrigin()"><tt>brushOrigin</tt></a> was necessary to adopt the parent's background for a widget in Qt 3, this is no longer the case since the Qt 4 painter doesn't paint the background unless you explicitly tell it to do so by setting the widget's autoFillBackground property to true.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#brushOrigin()"><tt>brushOrigin</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setClipPath(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
setClipPath</H3>
<PRE>
public final void <B>setClipPath</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setClipPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipPath</tt></a>(<tt>path</tt>, Qt::ReplaceClip).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClipPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ClipOperation)"><!-- --></A><H3>
setClipPath</H3>
<PRE>
public final void <B>setClipPath</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path,
                              <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</PRE>
<DL>
<DD><p>Enables clipping, and sets the clip path for the painter to the given <tt>path</tt>, with the clip <tt>op</tt>.</p>
<p>Note that the clip path is specified in logical (painter) coordinates.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#clipPath()"><tt>clipPath</tt></a>, 
<a href="QPainter.html#clipRegion()"><tt>clipRegion</tt></a>, 
<CODE>Clipping</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setClipRect(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
setClipRect</H3>
<PRE>
public final void <B>setClipRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRect</tt></a>(<tt>arg__1</tt>, Qt::ReplaceClip).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClipRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ClipOperation)"><!-- --></A><H3>
setClipRect</H3>
<PRE>
public final void <B>setClipRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;arg__1,
                              <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</PRE>
<DL>
<DD><p>Enables clipping, and sets the clip region to the given <tt>arg__1</tt> using the given clip <tt>op</tt>. The default operation is to replace the current clip rectangle.</p>
<p>Note that the clip rectangle is specified in logical (painter) coordinates.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#clipRegion()"><tt>clipRegion</tt></a>, 
<a href="QPainter.html#setClipping(boolean)"><tt>setClipping</tt></a>, 
<CODE>Clipping</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setClipRect(int, int, int, int)"><!-- --></A><H3>
setClipRect</H3>
<PRE>
public final void <B>setClipRect</B>(int&nbsp;x,
                              int&nbsp;y,
                              int&nbsp;w,
                              int&nbsp;h)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, Qt::ReplaceClip).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClipRect(int, int, int, int, com.trolltech.qt.core.Qt.ClipOperation)"><!-- --></A><H3>
setClipRect</H3>
<PRE>
public final void <B>setClipRect</B>(int&nbsp;x,
                              int&nbsp;y,
                              int&nbsp;w,
                              int&nbsp;h,
                              <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</PRE>
<DL>
<DD><p>Enables clipping, and sets the clip region to the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClipRect(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
setClipRect</H3>
<PRE>
public final void <B>setClipRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRect</tt></a>(<tt>arg__1</tt>, Qt::ReplaceClip).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)"><!-- --></A><H3>
setClipRect</H3>
<PRE>
public final void <B>setClipRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1,
                              <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</PRE>
<DL>
<DD><p>Enables clipping, and sets the clip region to the given <tt>arg__1</tt> using the given clip <tt>op</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClipRegion(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
setClipRegion</H3>
<PRE>
public final void <B>setClipRegion</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setClipRegion(com.trolltech.qt.gui.QRegion, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRegion</tt></a>(<tt>arg__1</tt>, Qt::ReplaceClip).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClipRegion(com.trolltech.qt.gui.QRegion, com.trolltech.qt.core.Qt.ClipOperation)"><!-- --></A><H3>
setClipRegion</H3>
<PRE>
public final void <B>setClipRegion</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1,
                                <A HREF="../../../../com/trolltech/qt/core/Qt.ClipOperation.html" title="enum in com.trolltech.qt.core">Qt.ClipOperation</A>&nbsp;op)</PRE>
<DL>
<DD><p>Sets the clip region to the given <tt>arg__1</tt> using the specified clip <tt>op</tt>. The default clip operation is to replace the current clip region.</p>
<p>Note that the clip region is given in logical coordinates.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#clipRegion()"><tt>clipRegion</tt></a>, 
<a href="QPainter.html#setClipRect(com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.ClipOperation)"><tt>setClipRect</tt></a>, 
<CODE>Clipping</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setClipping(boolean)"><!-- --></A><H3>
setClipping</H3>
<PRE>
public final void <B>setClipping</B>(boolean&nbsp;enable)</PRE>
<DL>
<DD><p>Enables clipping if <tt>enable</tt> is true, or disables clipping if <tt>enable</tt> is false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#hasClipping()"><tt>hasClipping</tt></a>, 
<CODE>Clipping</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setCompositionMode(com.trolltech.qt.gui.QPainter.CompositionMode)"><!-- --></A><H3>
setCompositionMode</H3>
<PRE>
public final void <B>setCompositionMode</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.CompositionMode.html" title="enum in com.trolltech.qt.gui">QPainter.CompositionMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Sets the composition mode to the given <tt>mode</tt>.</p>
<p><b>Warning:</b> You can only set the composition mode for <a href="QPainter.html#QPainter(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QPainter</tt></a> objects that operates on a <a href="QImage.html"><tt>QImage</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#compositionMode()"><tt>compositionMode</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFont(com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
setFont</H3>
<PRE>
public final void <B>setFont</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;f)</PRE>
<DL>
<DD><p>Sets the painter's font to the given <tt>f</tt>.</p>
<p>This font is used by subsequent <a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a> functions. The text color is the same as the pen color.</p>
<p>If you set a font that isn't available, Qt finds a close match. <a href="QPainter.html#font()"><tt>font</tt></a> will return what you set using <a href="QPainter.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a> and <a href="QPainter.html#fontInfo()"><tt>fontInfo</tt></a> returns the font actually being used (which may be the same).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#font()"><tt>font</tt></a>, 
<a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)"><!-- --></A><H3>
setLayoutDirection</H3>
<PRE>
public final void <B>setLayoutDirection</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction)</PRE>
<DL>
<DD><p>Sets the layout direction used by the painter when drawing text, to the specified <tt>direction</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#layoutDirection()"><tt>layoutDirection</tt></a>, 
<a href="QPainter.html#drawText(com.trolltech.qt.core.QPoint, java.lang.String)"><tt>drawText</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setOpacity(double)"><!-- --></A><H3>
setOpacity</H3>
<PRE>
public final void <B>setOpacity</B>(double&nbsp;opacity)</PRE>
<DL>
<DD><p>Sets the opacity of the painter to <tt>opacity</tt>. The value should be in the range 0.0 to 1.0, where 0.0 is fully transparent and 1.0 is fully opaque.</p>
<p>Opacity set on the painter will apply to all drawing operations individually.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#opacity()"><tt>opacity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPen(com.trolltech.qt.gui.QColor)"><!-- --></A><H3>
setPen</H3>
<PRE>
public final void <B>setPen</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;color)</PRE>
<DL>
<DD><p>Sets the painter's pen to have style Qt::SolidLine, width 0 and the specified <tt>color</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setPen(com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
setPen</H3>
<PRE>
public final void <B>setPen</B>(<A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Sets the painter's pen to be the given <tt>pen</tt>.</p>
<p>The <tt>pen</tt> defines how to draw lines and outlines, and it also defines the text color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#pen()"><tt>pen</tt></a>, 
<CODE>Settings</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setPen(com.trolltech.qt.core.Qt.PenStyle)"><!-- --></A><H3>
setPen</H3>
<PRE>
public final void <B>setPen</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.PenStyle.html" title="enum in com.trolltech.qt.core">Qt.PenStyle</A>&nbsp;style)</PRE>
<DL>
<DD><p>Sets the painter's pen to have the given <tt>style</tt>, width 0 and black color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#pen()"><tt>pen</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint)"><!-- --></A><H3>
setRenderHint</H3>
<PRE>
public final void <B>setRenderHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHint.html" title="enum in com.trolltech.qt.gui">QPainter.RenderHint</A>&nbsp;hint)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint, boolean)"><tt>setRenderHint</tt></a>(<tt>hint</tt>, true).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint, boolean)"><!-- --></A><H3>
setRenderHint</H3>
<PRE>
public final void <B>setRenderHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHint.html" title="enum in com.trolltech.qt.gui">QPainter.RenderHint</A>&nbsp;hint,
                                boolean&nbsp;on)</PRE>
<DL>
<DD><p>Sets the given render <tt>hint</tt> on the painter if <tt>on</tt> is true; otherwise clears the render hint.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setRenderHints(com.trolltech.qt.gui.QPainter.RenderHints, boolean)"><tt>setRenderHints</tt></a>, 
<a href="QPainter.html#renderHints()"><tt>renderHints</tt></a>, 
<CODE>Quality</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setRenderHints(com.trolltech.qt.gui.QPainter.RenderHints)"><!-- --></A><H3>
setRenderHints</H3>
<PRE>
public final void <B>setRenderHints</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHints.html" title="class in com.trolltech.qt.gui">QPainter.RenderHints</A>&nbsp;hints)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setRenderHints(com.trolltech.qt.gui.QPainter.RenderHints, boolean)"><tt>setRenderHints</tt></a>(<tt>hints</tt>, true).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRenderHints(com.trolltech.qt.gui.QPainter.RenderHints, boolean)"><!-- --></A><H3>
setRenderHints</H3>
<PRE>
public final void <B>setRenderHints</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHints.html" title="class in com.trolltech.qt.gui">QPainter.RenderHints</A>&nbsp;hints,
                                 boolean&nbsp;on)</PRE>
<DL>
<DD><p>Sets the given render <tt>hints</tt> on the painter if <tt>on</tt> is true; otherwise clears the render hints.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint, boolean)"><tt>setRenderHint</tt></a>, 
<a href="QPainter.html#renderHints()"><tt>renderHints</tt></a>, 
<CODE>Quality</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setTransform(com.trolltech.qt.gui.QTransform)"><!-- --></A><H3>
setTransform</H3>
<PRE>
public final void <B>setTransform</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;transform)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>(<tt>transform</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setTransform(com.trolltech.qt.gui.QTransform, boolean)"><!-- --></A><H3>
setTransform</H3>
<PRE>
public final void <B>setTransform</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;transform,
                               boolean&nbsp;combine)</PRE>
<DL>
<DD><p>Sets the world transformation matrix. If <tt>combine</tt> is true, the specified <tt>transform</tt> is combined with the current matrix; otherwise it replaces the current matrix.</p>
<p>This function has been added for compatibility with setMatrix(), but as with setMatrix() the preferred method of setting a transformation on the painter is through <a href="QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setWorldTransform</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#transform()"><tt>transform</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setViewTransformEnabled(boolean)"><!-- --></A><H3>
setViewTransformEnabled</H3>
<PRE>
public final void <B>setViewTransformEnabled</B>(boolean&nbsp;enable)</PRE>
<DL>
<DD><p>Enables view transformations if <tt>enable</tt> is true, or disables view transformations if <tt>enable</tt> is false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#viewTransformEnabled()"><tt>viewTransformEnabled</tt></a>, 
<a href="%2E%2E/coordsys.html#window-viewport-conversion">Window-Viewport Conversion</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setViewport(int, int, int, int)"><!-- --></A><H3>
setViewport</H3>
<PRE>
public final void <B>setViewport</B>(int&nbsp;x,
                              int&nbsp;y,
                              int&nbsp;w,
                              int&nbsp;h)</PRE>
<DL>
<DD><p>Sets the painter's viewport rectangle to be the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) with the given <tt>w</tt> and <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setViewport(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
setViewport</H3>
<PRE>
public final void <B>setViewport</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;viewport)</PRE>
<DL>
<DD><p>Sets the painter's viewport rectangle to the given <tt>viewport</tt>, and enables view transformations.</p>
<p>The viewport rectangle is part of the view transformation. The viewport specifies the device coordinate system. Its sister, the <a href="QPainter.html#window()"><tt>window</tt></a>, specifies the logical coordinate system.</p>
<p>The default viewport rectangle is the same as the device's rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#viewport()"><tt>viewport</tt></a>, 
<a href="QPainter.html#viewTransformEnabled()"><tt>viewTransformEnabled</tt></a>, 
<a href="%2E%2E/coordsys.html#window-viewport-conversion">Window-Viewport Conversion</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindow(int, int, int, int)"><!-- --></A><H3>
setWindow</H3>
<PRE>
public final void <B>setWindow</B>(int&nbsp;x,
                            int&nbsp;y,
                            int&nbsp;w,
                            int&nbsp;h)</PRE>
<DL>
<DD><p>Sets the painter's window to the rectangle beginning at (<tt>x</tt>, <tt>y</tt>) and the given <tt>w</tt> and <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setWindow(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
setWindow</H3>
<PRE>
public final void <B>setWindow</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;window)</PRE>
<DL>
<DD><p>Sets the painter's window to the given <tt>window</tt>, and enables view transformations.</p>
<p>The window rectangle is part of the view transformation. The window specifies the logical coordinate system. Its sister, the <a href="QPainter.html#viewport()"><tt>viewport</tt></a>, specifies the device coordinate system.</p>
<p>The default window rectangle is the same as the device's rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#window()"><tt>window</tt></a>, 
<a href="QPainter.html#viewTransformEnabled()"><tt>viewTransformEnabled</tt></a>, 
<a href="%2E%2E/coordsys.html#window-viewport-conversion">Window-Viewport Conversion</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWorldMatrix(com.trolltech.qt.gui.QMatrix)"><!-- --></A><H3>
setWorldMatrix</H3>
<PRE>
public final void <B>setWorldMatrix</B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A>&nbsp;matrix)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>(<tt>matrix</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><!-- --></A><H3>
setWorldMatrix</H3>
<PRE>
public final void <B>setWorldMatrix</B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A>&nbsp;matrix,
                                 boolean&nbsp;combine)</PRE>
<DL>
<DD><p>Sets the transformation matrix to <tt>matrix</tt> and enables transformations.</p>
<p><b>Note:</b> It is advisable to use <a href="QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setWorldTransform</tt></a> instead of this function to preserve the properties of perspective transformations.</p>
<p>If <tt>combine</tt> is true, then <tt>matrix</tt> is combined with the current transformation matrix; otherwise <tt>matrix</tt> replaces the current transformation matrix.</p>
<p>If <tt>matrix</tt> is the identity matrix and <tt>combine</tt> is false, this function calls <a href="QPainter.html#setWorldMatrixEnabled(boolean)"><tt>setWorldMatrixEnabled</tt></a>(false). (The identity matrix is the matrix where QMatrix::m11() and QMatrix::m22() are 1.0 and the rest are 0.0&#x2e;)</p>
<p>The following functions can transform the coordinate system without using a <a href="QMatrix.html"><tt>QMatrix</tt></a>:</p>
<ul>
<li><a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a></li>
<li><a href="QPainter.html#scale(double, double)"><tt>scale</tt></a></li>
<li><a href="QPainter.html#shear(double, double)"><tt>shear</tt></a></li>
<li><a href="QPainter.html#rotate(double)"><tt>rotate</tt></a></li>
</ul>
<p>They operate on the painter's <a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a> and are implemented like this:</p>
<pre>    void QPainter::rotate(qreal angle)
    {
        QMatrix matrix;
        matrix.rotate(angle);
        setWorldMatrix(matrix, true);
    }</pre>
<p>Note that when using <a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a> function you should always have <tt>combine</tt> be true when you are drawing into a <a href="QPicture.html"><tt>QPicture</tt></a>. Otherwise it may not be possible to replay the picture with additional transformations; using the <a href="QPainter.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a>, <a href="QPainter.html#scale(double, double)"><tt>scale</tt></a>, etc. convenience functions is safe.</p>
<p>For more information about the coordinate system, transformations and window-viewport conversion, see <a href="%2E%2E/coordsys.html">The Coordinate System</tt></a> documentation.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#worldMatrixEnabled()"><tt>worldMatrixEnabled</tt></a>, 
<a href="QMatrix.html"><tt>QMatrix</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWorldMatrixEnabled(boolean)"><!-- --></A><H3>
setWorldMatrixEnabled</H3>
<PRE>
public final void <B>setWorldMatrixEnabled</B>(boolean&nbsp;enabled)</PRE>
<DL>
<DD><p>Enables transformations if <tt>enabled</tt> is true, or disables transformations if <tt>enabled</tt> is false. The world transformation matrix is not changed.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#worldMatrixEnabled()"><tt>worldMatrixEnabled</tt></a>, 
<a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setWorldTransform(com.trolltech.qt.gui.QTransform)"><!-- --></A><H3>
setWorldTransform</H3>
<PRE>
public final void <B>setWorldTransform</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;matrix)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setWorldTransform</tt></a>(<tt>matrix</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)"><!-- --></A><H3>
setWorldTransform</H3>
<PRE>
public final void <B>setWorldTransform</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;matrix,
                                    boolean&nbsp;combine)</PRE>
<DL>
<DD><p>Sets the world transformation matrix. If <tt>combine</tt> is true, the specified <tt>matrix</tt> is combined with the current matrix; otherwise it replaces the current matrix.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#worldTransform()"><tt>worldTransform</tt></a>, 
<a href="QPainter.html#transform()"><tt>transform</tt></a>, 
<a href="QPainter.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="shear(double, double)"><!-- --></A><H3>
shear</H3>
<PRE>
public final void <B>shear</B>(double&nbsp;sh,
                        double&nbsp;sv)</PRE>
<DL>
<DD><p>Shears the coordinate system by (<tt>sh</tt>, <tt>sv</tt>).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="strokePath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
strokePath</H3>
<PRE>
public final void <B>strokePath</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path,
                             <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Draws the outline (strokes) the path <tt>path</tt> with the pen specified by <tt>pen</tt></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#fillPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QBrush)"><tt>fillPath</tt></a>, 
<CODE>Drawing</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="testRenderHint(com.trolltech.qt.gui.QPainter.RenderHint)"><!-- --></A><H3>
testRenderHint</H3>
<PRE>
public final boolean <B>testRenderHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.RenderHint.html" title="enum in com.trolltech.qt.gui">QPainter.RenderHint</A>&nbsp;hint)</PRE>
<DL>
<DD><p>Returns true if <tt>hint</tt> is set; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#renderHints()"><tt>renderHints</tt></a>, 
<a href="QPainter.html#setRenderHint(com.trolltech.qt.gui.QPainter.RenderHint, boolean)"><tt>setRenderHint</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="transform()"><!-- --></A><H3>
transform</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>transform</B>()</PRE>
<DL>
<DD><p>Returns the world transformation matrix.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="translate(double, double)"><!-- --></A><H3>
translate</H3>
<PRE>
public final void <B>translate</B>(double&nbsp;dx,
                            double&nbsp;dy)</PRE>
<DL>
<DD><p>Translates the coordinate system by the vector (<tt>dx</tt>, <tt>dy</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="translate(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
translate</H3>
<PRE>
public final void <B>translate</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;offset)</PRE>
<DL>
<DD><p>Translates the coordinate system by the given <tt>offset</tt>; i.e&#x2e; the given <tt>offset</tt> is added to points.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="translate(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
translate</H3>
<PRE>
public final void <B>translate</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;offset)</PRE>
<DL>
<DD><p>Translates the coordinate system by the given <tt>offset</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="viewTransformEnabled()"><!-- --></A><H3>
viewTransformEnabled</H3>
<PRE>
public final boolean <B>viewTransformEnabled</B>()</PRE>
<DL>
<DD><p>Returns true if view transformation is enabled; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setViewTransformEnabled(boolean)"><tt>setViewTransformEnabled</tt></a>, 
<a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="viewport()"><!-- --></A><H3>
viewport</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>viewport</B>()</PRE>
<DL>
<DD><p>Returns the viewport rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setViewport(com.trolltech.qt.core.QRect)"><tt>setViewport</tt></a>, 
<a href="QPainter.html#setViewTransformEnabled(boolean)"><tt>setViewTransformEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="window()"><!-- --></A><H3>
window</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>window</B>()</PRE>
<DL>
<DD><p>Returns the window rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWindow(com.trolltech.qt.core.QRect)"><tt>setWindow</tt></a>, 
<a href="QPainter.html#setViewTransformEnabled(boolean)"><tt>setViewTransformEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="worldMatrix()"><!-- --></A><H3>
worldMatrix</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A> <B>worldMatrix</B>()</PRE>
<DL>
<DD><p>Returns the world transformation matrix.</p>
<p>It is advisable to use <a href="QPainter.html#worldTransform()"><tt>worldTransform</tt></a> because <a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a> does not preserve the properties of perspective transformations.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldMatrix(com.trolltech.qt.gui.QMatrix, boolean)"><tt>setWorldMatrix</tt></a>, 
<CODE>Transformations</tt></CODE>, 
<a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="worldMatrixEnabled()"><!-- --></A><H3>
worldMatrixEnabled</H3>
<PRE>
public final boolean <B>worldMatrixEnabled</B>()</PRE>
<DL>
<DD><p>Returns true if world transformation is enabled; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldMatrixEnabled(boolean)"><tt>setWorldMatrixEnabled</tt></a>, 
<a href="QPainter.html#worldMatrix()"><tt>worldMatrix</tt></a>, 
<a href="%2E%2E/coordsys.html">The Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="worldTransform()"><!-- --></A><H3>
worldTransform</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>worldTransform</B>()</PRE>
<DL>
<DD><p>Returns the world transformation matrix.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPainter.html#setWorldTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setWorldTransform</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="restoreRedirected(com.trolltech.qt.gui.QPaintDeviceInterface)"><!-- --></A><H3>
restoreRedirected</H3>
<PRE>
public static void <B>restoreRedirected</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;device)</PRE>
<DL>
<DD><p>Restores the previous redirection for the given <tt>device</tt> after a call to <a href="QPainter.html#setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)"><tt>setRedirected</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>redirected</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface)"><!-- --></A><H3>
setRedirected</H3>
<PRE>
public static void <B>setRedirected</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;device,
                                 <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;replacement)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPainter.html#setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)"><tt>setRedirected</tt></a>(<tt>device</tt>, <tt>replacement</tt>, QPoint()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRedirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
setRedirected</H3>
<PRE>
public static void <B>setRedirected</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;device,
                                 <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;replacement,
                                 <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;offset)</PRE>
<DL>
<DD><p>Redirects all paint commands for the given paint <tt>device</tt>, to the <tt>replacement</tt> device. The optional point <tt>offset</tt> defines an offset within the source device.</p>
<p>The redirection will not be effective until the <a href="QPainter.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a> function has been called; make sure to call <a href="QPainter.html#end()"><tt>end</tt></a> for the given <tt>device</tt>'s painter (if any) before redirecting. Call <a href="QPainter.html#restoreRedirected(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>restoreRedirected</tt></a> to restore the previous redirection.</p>
<p>In general, you'll probably find that calling QPixmap::grabWidget() or QPixmap::grabWindow() is an easier solution.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>redirected</tt>, 
<a href="QPainter.html#restoreRedirected(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>restoreRedirected</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QPainter instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="setBrush(com.trolltech.qt.gui.QColor)"><!-- --></A><H3>
setBrush</H3>
<PRE>
public void <B>setBrush</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;color)</PRE>
<DL>
<DD>Sets the brush of this QPainter to a solid <tt>color</tt> brush.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBrush(com.trolltech.qt.gui.QGradient)"><!-- --></A><H3>
setBrush</H3>
<PRE>
public void <B>setBrush</B>(<A HREF="../../../../com/trolltech/qt/gui/QGradient.html" title="class in com.trolltech.qt.gui">QGradient</A>&nbsp;gradient)</PRE>
<DL>
<DD>Sets this QPainter's brush to use <tt>gradient</tt>.

<tt>gradient</tt>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBrush(com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
setBrush</H3>
<PRE>
public void <B>setBrush</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</PRE>
<DL>
<DD>Sets this QPainter's brush to use <tt>pm</tt>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(com.trolltech.qt.core.QRect, int, java.lang.String, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rectangle,
                           int&nbsp;flags,
                           java.lang.String&nbsp;text,
                           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;boundingRect)</PRE>
<DL>
<DD>Draws the given <tt>text</tt> within the provided <tt>rectangle</tt>.
<p>
The <tt>boundingRect</tt> (if not null) is set to the actual bounding
rectangle of the output.  The <tt>flags</tt> argument is a bitwise OR of
Qt.AlignmentFlags.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(com.trolltech.qt.core.QRect, int, java.lang.String)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rectangle,
                           int&nbsp;flags,
                           java.lang.String&nbsp;text)</PRE>
<DL>
<DD>This is an overloaded function provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(com.trolltech.qt.core.QRectF, int, java.lang.String, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rectangle,
                           int&nbsp;flags,
                           java.lang.String&nbsp;text,
                           <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;boundingRect)</PRE>
<DL>
<DD>Draws the given <tt>text</tt> within the provided <tt>rectangle</tt>.
<p>
The <tt>boundingRect</tt> (if not null) is set to the actual bounding
rectangle of the output.  The <tt>flags</tt> argument is a bitwise OR of
Qt.AlignmentFlags.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(com.trolltech.qt.core.QRectF, int, java.lang.String)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rectangle,
                           int&nbsp;flags,
                           java.lang.String&nbsp;text)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(int, int, int, int, int, java.lang.String, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(int&nbsp;x,
                           int&nbsp;y,
                           int&nbsp;width,
                           int&nbsp;height,
                           int&nbsp;flags,
                           java.lang.String&nbsp;text,
                           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;boundingRect)</PRE>
<DL>
<DD>Draws the given <tt>text</tt> within the rectangle with origin
(<tt>x</tt>, <tt>y</tt>), <tt>width</tt> and <tt>height</dd>.
<p>
The <tt>boundingRect</tt> (if not null) is set to the actual bounding
rectangle of the output.  The <tt>flags</tt> argument is a bitwise OR
of the following flags:
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawText(int, int, int, int, int, java.lang.String)"><!-- --></A><H3>
drawText</H3>
<PRE>
public final void <B>drawText</B>(int&nbsp;x,
                           int&nbsp;y,
                           int&nbsp;width,
                           int&nbsp;height,
                           int&nbsp;flags,
                           java.lang.String&nbsp;text)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="redirected(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
redirected</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A> <B>redirected</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;device,
                                               <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;offset)</PRE>
<DL>
<DD>Returns the replacement for given <tt>device</tt>. The optional out
parameter <tt>offset</tt> returns the offset within the replaced
device.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="begin(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
begin</H3>
<PRE>
public boolean <B>begin</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD>This method initializes the painter to draw on <tt>widget</tt>.
It returns true if successful; otherwise, it returns false.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintEngineState.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainter.CompositionMode.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QPainter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QPainter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>