<!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> QPaintEngine </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.gui.QPaintEngine class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QPaintEngine"; } </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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.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/QPaintEngine.html" target="_top"><B>FRAMES</B></A> <A HREF="QPaintEngine.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 QPaintEngine</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.QPaintEngine</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> <HR> <DL> <DT><PRE>public abstract class <B>QPaintEngine</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="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a> class provides an abstract definition of how <a href="QPainter.html"><tt>QPainter</tt></a> draws to a given device on a given platform.</p> <p>Qt 4.0 provides several premade implementations of <a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a> for the different painter backends we support. We provide one paint engine for each window system and painting framework we support. This includes X11 on Unix/Linux and <a href="QPaintEngine.html#Type-enum"><tt>CoreGraphics</tt></a> on Mac OS X. In addition we provide <a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a> implementations for <a href="QPaintEngine.html#Type-enum"><tt>OpenGL</tt></a> (accessible through <a href="%2E%2E/opengl/QGLWidget.html"><tt>QGLWidget</tt></a>) and <a href="QPaintEngine.html#Type-enum"><tt>PostScript</tt></a> (accessible through QPSPrinter on X11). Additionally there is a raster-based paint engine that is a fallback for when an engine does not support a certain capability.</p> <p>If one wants to use <a href="QPainter.html"><tt>QPainter</tt></a> to draw to a different backend, one must subclass <a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a> and reimplement all its virtual functions. The <a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a> implementation is then made available by subclassing <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a> and reimplementing the virtual function QPaintDevice::paintEngine().</p> <p><a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a> is created and owned by the <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a> that created it.</p> <p>The big advantage of the <a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a> approach opposed to Qt 3's <a href="QPainter.html"><tt>QPainter</tt></a>/QPaintDevice::cmd() approach is that it is now possible to adapt to multiple technologies on each platform and take advantage of each to the fullest.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QPainter.html"><tt>QPainter</tt></a>, <tt>QPaintDevice::paintEngine</tt>, <a href="%2E%2E/paintsystem.html">The Paint System</tt></a></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 class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.html" title="enum in com.trolltech.qt.gui">QPaintEngine.DirtyFlag</A></B></CODE> <BR> These types are used by <a href="QPainter.html"><tt>QPainter</tt></a> to trigger lazy updates of the various states in the <a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a> using QPaintEngine::updateState().</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlags.html" title="class in com.trolltech.qt.gui">QPaintEngine.DirtyFlags</A></B></CODE> <BR> This QFlag class provides flags for the int enum.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeature.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeature</A></B></CODE> <BR> This enum is used to describe the features or capabilities that the paint engine has.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeatures.html" title="class in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeatures</A></B></CODE> <BR> This QFlag class provides flags for the int enum.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PolygonDrawMode.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PolygonDrawMode</A></B></CODE> <BR> Press link for info on QPaintEngine.PolygonDrawMode</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.Type.html" title="enum in com.trolltech.qt.gui">QPaintEngine.Type</A></B></CODE> <BR> Press link for info on QPaintEngine.Type</TD> </TR> </TABLE> <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><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<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>></CODE></TD> </TR> </TABLE> <!-- ======== 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/QPaintEngine.html#QPaintEngine()">QPaintEngine</A></B>()</CODE> <BR> Equivalent to <a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a>(0).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)">QPaintEngine</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeatures.html" title="class in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeatures</A> features)</CODE> <BR> Creates a paint engine with the featureset specified by <tt>features</tt>.</TD> </TR> </TABLE> <!-- ========== 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>protected int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#active()">active</A></B>()</CODE> <BR> Returns the active state of this paint engine.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> pdev)</CODE> <BR> Reimplement this function to initialise your paint engine when painting is to start on the paint device <tt>pdev</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#clearDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlag...)">clearDirty</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.html" title="enum in com.trolltech.qt.gui">QPaintEngine.DirtyFlag</A>... df)</CODE> <BR> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#clearDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlags)">clearDirty</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlags.html" title="class in com.trolltech.qt.gui">QPaintEngine.DirtyFlags</A> df)</CODE> <BR> 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> <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/QPaintEngine.html#coordinateOffset()">coordinateOffset</A></B>()</CODE> <BR> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> r)</CODE> <BR> The default implementation of this function calls the floating point version of this function</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> r)</CODE> <BR> Reimplement this function to draw the largest ellipse that can be contained within rectangle <tt>r</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> r, <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> pm, <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> sr)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlags)"><tt>drawImage</tt></a>(<tt>r</tt>, <tt>pm</tt>, <tt>sr</tt>, Qt::AutoColor).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> r, <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> pm, <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> sr, <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>... flags)</CODE> <BR> Reimplement this function to draw the part of the <tt>pm</tt> specified by the <tt>sr</tt> rectangle in the given <tt>r</tt> using the given conversion flags <tt>flags</tt>, to convert it to a pixmap.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> r, <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> pm, <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> sr, <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A> flags)</CODE> <BR> Reimplement this function to draw the part of the <tt>pm</tt> specified by the <tt>sr</tt> rectangle in the given <tt>r</tt> using the given conversion flags <tt>flags</tt>, to convert it to a pixmap.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#drawLines(com.trolltech.qt.gui.QLine[])">drawLines</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A>[] lines)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawLines(com.trolltech.qt.gui.QLineF[])"><tt>drawLines</tt></a>(<tt>lines</tt>, ).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#drawLines(com.trolltech.qt.gui.QLineF[])">drawLines</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>[] lines)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawLines(com.trolltech.qt.gui.QLineF[])"><tt>drawLines</tt></a>(<tt>lines</tt>, ).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> path)</CODE> <BR> The default implementation ignores the <tt>path</tt> and does nothing.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> r, <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> pm, <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> sr)</CODE> <BR> Reimplement this function to draw the part of the <tt>pm</tt> specified by the <tt>sr</tt> rectangle in the given <tt>r</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#drawPoints(com.trolltech.qt.core.QPoint[])">drawPoints</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>[] points)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawPoints(com.trolltech.qt.core.QPointF[])"><tt>drawPoints</tt></a>(<tt>points</tt>, ).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#drawPoints(com.trolltech.qt.core.QPointF[])">drawPoints</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>[] points)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawPoints(com.trolltech.qt.core.QPointF[])"><tt>drawPoints</tt></a>(<tt>points</tt>, ).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#drawPolygon(com.trolltech.qt.core.QPoint[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)">drawPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>[] points, <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PolygonDrawMode.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PolygonDrawMode</A> mode)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawPolygon(com.trolltech.qt.core.QPointF[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)"><tt>drawPolygon</tt></a>(<tt>points</tt>, <tt>mode</tt>, ).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#drawPolygon(com.trolltech.qt.core.QPointF[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)">drawPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>[] points, <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PolygonDrawMode.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PolygonDrawMode</A> mode)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawPolygon(com.trolltech.qt.core.QPointF[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)"><tt>drawPolygon</tt></a>(<tt>points</tt>, <tt>mode</tt>, ).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#drawRects(com.trolltech.qt.core.QRect[])">drawRects</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>[] rects)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawRects(com.trolltech.qt.core.QRect[])"><tt>drawRects</tt></a>(<tt>rects</tt>, ).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#drawRects(com.trolltech.qt.core.QRectF[])">drawRects</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>[] rects)</CODE> <BR> Equivalent to <a href="QPaintEngine.html#drawRects(com.trolltech.qt.core.QRect[])"><tt>drawRects</tt></a>(<tt>rects</tt>, ).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> p, <A HREF="../../../../com/trolltech/qt/gui/QTextItem.html" title="class in com.trolltech.qt.gui">QTextItem</A> textItem)</CODE> <BR> This function draws the text item <tt>textItem</tt> at position <tt>p</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.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> r, <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> pixmap, <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> s)</CODE> <BR> Reimplement this function to draw the <tt>pixmap</tt> in the given <tt>r</tt>, starting at the given <tt>s</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#end()">end</A></B>()</CODE> <BR> Reimplement this function to finish painting on the current paint device.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <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/QPaintEngine.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QPaintEngine instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#hasFeature(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeature...)">hasFeature</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeature.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeature</A>... feature)</CODE> <BR> Returns true if the paint engine supports the specified <tt>feature</tt>; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#hasFeature(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)">hasFeature</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeatures.html" title="class in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeatures</A> feature)</CODE> <BR> Returns true if the paint engine supports the specified <tt>feature</tt>; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#isActive()">isActive</A></B>()</CODE> <BR> Returns true if the paint engine is actively drawing; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/QPaintEngine.html#paintDevice()">paintDevice</A></B>()</CODE> <BR> Returns the device that this engine is painting on, if painting is active; otherwise returns 0.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/QPaintEngine.html#painter()">painter</A></B>()</CODE> <BR> Returns the paint engine's painter.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#setActive(boolean)">setActive</A></B>(boolean newState)</CODE> <BR> Sets the active state of the paint engine to <tt>newState</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#setActive(int)">setActive</A></B>(int active)</CODE> <BR> Sets the active state of the paint engine to <tt>active</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#setDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlag...)">setDirty</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.html" title="enum in com.trolltech.qt.gui">QPaintEngine.DirtyFlag</A>... df)</CODE> <BR> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#setDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlags)">setDirty</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlags.html" title="class in com.trolltech.qt.gui">QPaintEngine.DirtyFlags</A> df)</CODE> <BR> 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>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#setGccaps(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeature...)">setGccaps</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeature.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeature</A>... gccaps)</CODE> <BR> Sets this QPaintEngine's <tt>gccaps</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#setSystemClip(com.trolltech.qt.gui.QRegion)">setSystemClip</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> baseClip)</CODE> <BR> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#setSystemRect(com.trolltech.qt.core.QRect)">setSystemRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> rect)</CODE> <BR> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#syncState()">syncState</A></B>()</CODE> <BR> 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> <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/QPaintEngine.html#systemClip()">systemClip</A></B>()</CODE> <BR> 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> <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/QPaintEngine.html#systemRect()">systemRect</A></B>()</CODE> <BR> 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> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#testDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlag...)">testDirty</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.html" title="enum in com.trolltech.qt.gui">QPaintEngine.DirtyFlag</A>... df)</CODE> <BR> 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> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#testDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlags)">testDirty</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlags.html" title="class in com.trolltech.qt.gui">QPaintEngine.DirtyFlags</A> df)</CODE> <BR> 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>abstract <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.Type.html" title="enum in com.trolltech.qt.gui">QPaintEngine.Type</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#type()">type</A></B>()</CODE> <BR> Reimplement this function to return the paint engine <a href="QPaintEngine.html#Type-enum">Type</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html#updateState(com.trolltech.qt.gui.QPaintEngineState)">updateState</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngineState.html" title="class in com.trolltech.qt.gui">QPaintEngineState</A> state)</CODE> <BR> Reimplement this function to update the state of a paint engine.</TD> </TR> </TABLE> <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> <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> <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> <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> <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="QPaintEngine()"><!-- --></A><H3> QPaintEngine</H3> <PRE> public <B>QPaintEngine</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><tt>QPaintEngine</tt></a>(0). <P> </DL> <HR> <A NAME="QPaintEngine(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><!-- --></A><H3> QPaintEngine</H3> <PRE> public <B>QPaintEngine</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeatures.html" title="class in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeatures</A> features)</PRE> <DL> <DD><p>Creates a paint engine with the featureset specified by <tt>features</tt>.</p> <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="clearDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlag...)"><!-- --></A><H3> clearDirty</H3> <PRE> public final void <B>clearDirty</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.html" title="enum in com.trolltech.qt.gui">QPaintEngine.DirtyFlag</A>... df)</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="clearDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlags)"><!-- --></A><H3> clearDirty</H3> <PRE> public final void <B>clearDirty</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlags.html" title="class in com.trolltech.qt.gui">QPaintEngine.DirtyFlags</A> df)</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="hasFeature(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeature...)"><!-- --></A><H3> hasFeature</H3> <PRE> public final boolean <B>hasFeature</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeature.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeature</A>... feature)</PRE> <DL> <DD><p>Returns true if the paint engine supports the specified <tt>feature</tt>; otherwise returns false.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hasFeature(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeatures)"><!-- --></A><H3> hasFeature</H3> <PRE> public final boolean <B>hasFeature</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeatures.html" title="class in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeatures</A> feature)</PRE> <DL> <DD><p>Returns true if the paint engine supports the specified <tt>feature</tt>; otherwise returns false.</p> <P> <DD><DL> </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 the paint engine is actively drawing; otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngine.html#setActive(boolean)"><tt>setActive</tt></a></DL> </DD> </DL> <HR> <A NAME="paintDevice()"><!-- --></A><H3> paintDevice</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A> <B>paintDevice</B>()</PRE> <DL> <DD><p>Returns the device that this engine is painting on, if painting is active; otherwise returns 0.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="painter()"><!-- --></A><H3> painter</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A> <B>painter</B>()</PRE> <DL> <DD><p>Returns the paint engine's painter.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setActive(boolean)"><!-- --></A><H3> setActive</H3> <PRE> public final void <B>setActive</B>(boolean newState)</PRE> <DL> <DD><p>Sets the active state of the paint engine to <tt>newState</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngine.html#active()"><tt>active</tt></a>, <a href="QPaintEngine.html#isActive()"><tt>isActive</tt></a></DL> </DD> </DL> <HR> <A NAME="setDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlag...)"><!-- --></A><H3> setDirty</H3> <PRE> public final void <B>setDirty</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.html" title="enum in com.trolltech.qt.gui">QPaintEngine.DirtyFlag</A>... df)</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="setDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlags)"><!-- --></A><H3> setDirty</H3> <PRE> public final void <B>setDirty</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlags.html" title="class in com.trolltech.qt.gui">QPaintEngine.DirtyFlags</A> df)</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="setSystemClip(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3> setSystemClip</H3> <PRE> public final void <B>setSystemClip</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> baseClip)</PRE> <DL> <DD><p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngine.html#systemClip()"><tt>systemClip</tt></a></DL> </DD> </DL> <HR> <A NAME="setSystemRect(com.trolltech.qt.core.QRect)"><!-- --></A><H3> setSystemRect</H3> <PRE> public final void <B>setSystemRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> rect)</PRE> <DL> <DD><p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngine.html#systemRect()"><tt>systemRect</tt></a></DL> </DD> </DL> <HR> <A NAME="syncState()"><!-- --></A><H3> syncState</H3> <PRE> public final void <B>syncState</B>()</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="systemClip()"><!-- --></A><H3> systemClip</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>systemClip</B>()</PRE> <DL> <DD><p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngine.html#setSystemClip(com.trolltech.qt.gui.QRegion)"><tt>setSystemClip</tt></a></DL> </DD> </DL> <HR> <A NAME="systemRect()"><!-- --></A><H3> systemRect</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>systemRect</B>()</PRE> <DL> <DD><p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngine.html#setSystemRect(com.trolltech.qt.core.QRect)"><tt>setSystemRect</tt></a></DL> </DD> </DL> <HR> <A NAME="testDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlag...)"><!-- --></A><H3> testDirty</H3> <PRE> public final boolean <B>testDirty</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.html" title="enum in com.trolltech.qt.gui">QPaintEngine.DirtyFlag</A>... df)</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="testDirty(com.trolltech.qt.gui.QPaintEngine.DirtyFlags)"><!-- --></A><H3> testDirty</H3> <PRE> public final boolean <B>testDirty</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlags.html" title="class in com.trolltech.qt.gui">QPaintEngine.DirtyFlags</A> df)</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="begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><!-- --></A><H3> begin</H3> <PRE> public abstract boolean <B>begin</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A> pdev)</PRE> <DL> <DD><p>Reimplement this function to initialise your paint engine when painting is to start on the paint device <tt>pdev</tt>. Return true if the initialization was successful; otherwise return false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngine.html#end()"><tt>end</tt></a>, <a href="QPaintEngine.html#isActive()"><tt>isActive</tt></a></DL> </DD> </DL> <HR> <A NAME="coordinateOffset()"><!-- --></A><H3> coordinateOffset</H3> <PRE> public <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>coordinateOffset</B>()</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="drawEllipse(com.trolltech.qt.core.QRect)"><!-- --></A><H3> drawEllipse</H3> <PRE> public void <B>drawEllipse</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> r)</PRE> <DL> <DD><p>The default implementation of this function calls the floating point version of this function</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawEllipse(com.trolltech.qt.core.QRectF)"><!-- --></A><H3> drawEllipse</H3> <PRE> public void <B>drawEllipse</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> r)</PRE> <DL> <DD><p>Reimplement this function to draw the largest ellipse that can be contained within rectangle <tt>r</tt>.</p> <p>The default implementation calls <a href="QPaintEngine.html#drawPolygon(com.trolltech.qt.core.QPointF[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)"><tt>drawPolygon</tt></a>.</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> r, <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> pm, <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> sr, <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>... flags)</PRE> <DL> <DD>Reimplement this function to draw the part of the <tt>pm</tt> specified by the <tt>sr</tt> rectangle in the given <tt>r</tt> using the given conversion flags <tt>flags</tt>, to convert it to a pixmap. <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)"><!-- --></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> r, <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> pm, <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> sr)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawImage(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QImage, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ImageConversionFlags)"><tt>drawImage</tt></a>(<tt>r</tt>, <tt>pm</tt>, <tt>sr</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 void <B>drawImage</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> r, <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> pm, <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> sr, <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A> flags)</PRE> <DL> <DD><p>Reimplement this function to draw the part of the <tt>pm</tt> specified by the <tt>sr</tt> rectangle in the given <tt>r</tt> using the given conversion flags <tt>flags</tt>, to convert it to a pixmap.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawLines(com.trolltech.qt.gui.QLineF[])"><!-- --></A><H3> drawLines</H3> <PRE> public void <B>drawLines</B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>[] lines)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawLines(com.trolltech.qt.gui.QLineF[])"><tt>drawLines</tt></a>(<tt>lines</tt>, ). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawLines(com.trolltech.qt.gui.QLine[])"><!-- --></A><H3> drawLines</H3> <PRE> public void <B>drawLines</B>(<A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A>[] lines)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawLines(com.trolltech.qt.gui.QLineF[])"><tt>drawLines</tt></a>(<tt>lines</tt>, ). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawPath(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3> drawPath</H3> <PRE> public void <B>drawPath</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> path)</PRE> <DL> <DD><p>The default implementation ignores the <tt>path</tt> and does nothing.</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 abstract void <B>drawPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> r, <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> pm, <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> sr)</PRE> <DL> <DD><p>Reimplement this function to draw the part of the <tt>pm</tt> specified by the <tt>sr</tt> rectangle in the given <tt>r</tt>.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawPoints(com.trolltech.qt.core.QPointF[])"><!-- --></A><H3> drawPoints</H3> <PRE> public void <B>drawPoints</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>[] points)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawPoints(com.trolltech.qt.core.QPointF[])"><tt>drawPoints</tt></a>(<tt>points</tt>, ). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawPoints(com.trolltech.qt.core.QPoint[])"><!-- --></A><H3> drawPoints</H3> <PRE> public void <B>drawPoints</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>[] points)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawPoints(com.trolltech.qt.core.QPointF[])"><tt>drawPoints</tt></a>(<tt>points</tt>, ). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawPolygon(com.trolltech.qt.core.QPointF[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)"><!-- --></A><H3> drawPolygon</H3> <PRE> public void <B>drawPolygon</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>[] points, <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PolygonDrawMode.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PolygonDrawMode</A> mode)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawPolygon(com.trolltech.qt.core.QPointF[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)"><tt>drawPolygon</tt></a>(<tt>points</tt>, <tt>mode</tt>, ). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawPolygon(com.trolltech.qt.core.QPoint[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)"><!-- --></A><H3> drawPolygon</H3> <PRE> public void <B>drawPolygon</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>[] points, <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PolygonDrawMode.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PolygonDrawMode</A> mode)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawPolygon(com.trolltech.qt.core.QPointF[], com.trolltech.qt.gui.QPaintEngine.PolygonDrawMode)"><tt>drawPolygon</tt></a>(<tt>points</tt>, <tt>mode</tt>, ). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawRects(com.trolltech.qt.core.QRect[])"><!-- --></A><H3> drawRects</H3> <PRE> public void <B>drawRects</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>[] rects)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawRects(com.trolltech.qt.core.QRect[])"><tt>drawRects</tt></a>(<tt>rects</tt>, ). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="drawRects(com.trolltech.qt.core.QRectF[])"><!-- --></A><H3> drawRects</H3> <PRE> public void <B>drawRects</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>[] rects)</PRE> <DL> <DD><p>Equivalent to <a href="QPaintEngine.html#drawRects(com.trolltech.qt.core.QRect[])"><tt>drawRects</tt></a>(<tt>rects</tt>, ). <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 void <B>drawTextItem</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> p, <A HREF="../../../../com/trolltech/qt/gui/QTextItem.html" title="class in com.trolltech.qt.gui">QTextItem</A> textItem)</PRE> <DL> <DD><p>This function draws the text item <tt>textItem</tt> at position <tt>p</tt>. The default implementation of this function converts the text to a <a href="QPainterPath.html"><tt>QPainterPath</tt></a> and paints the resulting path.</p> <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 void <B>drawTiledPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> r, <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> pixmap, <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> s)</PRE> <DL> <DD><p>Reimplement this function to draw the <tt>pixmap</tt> in the given <tt>r</tt>, starting at the given <tt>s</tt>. The pixmap will be drawn repeatedly until the <tt>r</tt> is filled.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="end()"><!-- --></A><H3> end</H3> <PRE> public abstract boolean <B>end</B>()</PRE> <DL> <DD><p>Reimplement this function to finish painting on the current paint device. Return true if painting was finished successfully; otherwise return false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngine.html#begin(com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>begin</tt></a>, <a href="QPaintEngine.html#isActive()"><tt>isActive</tt></a></DL> </DD> </DL> <HR> <A NAME="type()"><!-- --></A><H3> type</H3> <PRE> public abstract <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.Type.html" title="enum in com.trolltech.qt.gui">QPaintEngine.Type</A> <B>type</B>()</PRE> <DL> <DD><p>Reimplement this function to return the paint engine <a href="QPaintEngine.html#Type-enum">Type</tt></a>.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="updateState(com.trolltech.qt.gui.QPaintEngineState)"><!-- --></A><H3> updateState</H3> <PRE> public abstract void <B>updateState</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngineState.html" title="class in com.trolltech.qt.gui">QPaintEngineState</A> state)</PRE> <DL> <DD><p>Reimplement this function to update the state of a paint engine.</p> <p>When implemented, this function is responsible for checking the paint engine's current <tt>state</tt> and update the properties that are changed. Use the QPaintEngineState::state() function to find out which properties that must be updated, then use the corresponding <a href="QPaintEngineState.html#getfunction">get function</tt></a> to retrieve the current values for the given properties.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QPaintEngineState.html"><tt>QPaintEngineState</tt></a></DL> </DD> </DL> <HR> <A NAME="setActive(int)"><!-- --></A><H3> setActive</H3> <PRE> protected final void <B>setActive</B>(int active)</PRE> <DL> <DD>Sets the active state of the paint engine to <tt>active</tt>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="active()"><!-- --></A><H3> active</H3> <PRE> protected final int <B>active</B>()</PRE> <DL> <DD>Returns the active state of this paint engine. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setGccaps(com.trolltech.qt.gui.QPaintEngine.PaintEngineFeature...)"><!-- --></A><H3> setGccaps</H3> <PRE> protected final void <B>setGccaps</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeature.html" title="enum in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeature</A>... gccaps)</PRE> <DL> <DD>Sets this QPaintEngine's <tt>gccaps</tt>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QPaintEngine 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> <!-- ========= 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlag.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/QPaintEngine.html" target="_top"><B>FRAMES</B></A> <A HREF="QPaintEngine.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>