<class name="QPaintEngineState" doc="/**
&lt;p&gt;The &lt;a href=&quot;QPaintEngineState.html#QPaintEngineState()&quot;&gt;&lt;tt&gt;QPaintEngineState&lt;/tt&gt;&lt;/a&gt; class provides information about the active paint engine's current state.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QPaintEngineState.html#QPaintEngineState()&quot;&gt;&lt;tt&gt;QPaintEngineState&lt;/tt&gt;&lt;/a&gt; records which properties that have changed since the last time the paint engine was updated, as well as their current value.&lt;/p&gt;
&lt;p&gt;Which properties that have changed can at any time be retrieved using the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; function. This function returns an instance of the QPaintEngine::DirtyFlags type which stores an OR combination of QPaintEngine::DirtyFlag values. The QPaintEngine::DirtyFlag enum defines whether a property has changed since the last update or not.&lt;/p&gt;
&lt;p&gt;If a property is marked with a dirty flag, its current value can be retrieved using the corresponding get function:&lt;/p&gt;
&lt;a name=&quot;getfunction&quot;&gt;&lt;/a&gt;&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Property Flag&lt;/th&gt;&lt;th&gt;Current Property Value&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;QPaintEngine::DirtyBackground&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#backgroundBrush()&quot;&gt;&lt;tt&gt;backgroundBrush&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;QPaintEngine::DirtyBackgroundMode&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#backgroundMode()&quot;&gt;&lt;tt&gt;backgroundMode&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;QPaintEngine::DirtyBrush&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#brush()&quot;&gt;&lt;tt&gt;brush&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;QPaintEngine::DirtyBrushOrigin&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#brushOrigin()&quot;&gt;&lt;tt&gt;brushOrigin&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;QPaintEngine::DirtyClipRegion &lt;i&gt;or&lt;/i&gt; QPaintEngine::DirtyClipPath&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#clipOperation()&quot;&gt;&lt;tt&gt;clipOperation&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;QPaintEngine::DirtyClipPath&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#clipPath()&quot;&gt;&lt;tt&gt;clipPath&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;QPaintEngine::DirtyClipRegion&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#clipRegion()&quot;&gt;&lt;tt&gt;clipRegion&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;QPaintEngine::DirtyCompositionMode&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#compositionMode()&quot;&gt;&lt;tt&gt;compositionMode&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;QPaintEngine::DirtyFont&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;QPaintEngine::DirtyTransform&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#matrix()&quot;&gt;&lt;tt&gt;matrix&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;QPaintEngine::DirtyClipEnabled&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#isClipEnabled()&quot;&gt;&lt;tt&gt;isClipEnabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;QPaintEngine::DirtyPen&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#pen()&quot;&gt;&lt;tt&gt;pen&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;QPaintEngine::DirtyHints&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QPaintEngineState.html#renderHints()&quot;&gt;&lt;tt&gt;renderHints&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QPaintEngineState.html#QPaintEngineState()&quot;&gt;&lt;tt&gt;QPaintEngineState&lt;/tt&gt;&lt;/a&gt; class also provide the &lt;a href=&quot;QPaintEngineState.html#painter()&quot;&gt;&lt;tt&gt;painter&lt;/tt&gt;&lt;/a&gt; function which returns a pointer to the painter that is currently updating the paint engine.&lt;/p&gt;
&lt;p&gt;An instance of this class, representing the current state of the active paint engine, is passed as argument to the QPaintEngine::updateState() function. The only situation in which you will have to use this class directly is when implementing your own paint engine.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngine.html&quot;&gt;&lt;tt&gt;QPaintEngine&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QPaintEngineState()"/>
    <method name="public final com.trolltech.qt.gui.QBrush backgroundBrush()" doc="/**
&lt;p&gt;Returns the background brush in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyBackground flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.BGMode backgroundMode()" doc="/**
&lt;p&gt;Returns the background mode in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyBackgroundMode flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QBrush brush()" doc="/**
&lt;p&gt;Returns the brush in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyBrush flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final boolean brushNeedsResolving()" doc="/**
&lt;p&gt;Returns whether the coordinate of the fill have been specified as bounded by the current rendering operation and have to be resolved (about the currently rendered primitive).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QPointF brushOrigin()" doc="/**
&lt;p&gt;Returns the brush origin in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyBrushOrigin flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.ClipOperation clipOperation()" doc="/**
&lt;p&gt;Returns the clip operation in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes either the QPaintEngine::DirtyClipPath or the QPaintEngine::DirtyClipRegion flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPainterPath clipPath()" doc="/**
&lt;p&gt;Returns the clip path in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyClipPath flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QRegion clipRegion()" doc="/**
&lt;p&gt;Returns the clip region in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyClipRegion flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPainter.CompositionMode compositionMode()" doc="/**
&lt;p&gt;Returns the composition mode in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyCompositionMode flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFont font()" doc="/**
&lt;p&gt;Returns the font in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyFont flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final boolean isClipEnabled()" doc="/**
&lt;p&gt;Returns wether clipping is enabled or not in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyClipEnabled flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QMatrix matrix()" doc="/**
&lt;p&gt;Returns the matrix in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyTransform flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final double opacity()" doc="/**
&lt;p&gt;Returns the opacity in the current paint engine state.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPainter painter()" doc="/**
&lt;p&gt;Returns a pointer to the painter currently updating the paint engine.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPen pen()" doc="/**
&lt;p&gt;Returns the pen in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyPen flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final boolean penNeedsResolving()" doc="/**
&lt;p&gt;Returns whether the coordinate of the stroke have been specified as bounded by the current rendering operation and have to be resolved (about the currently rendered primitive).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPainter.RenderHints renderHints()" doc="/**
&lt;p&gt;Returns the render hints in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyHints flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPaintEngine.DirtyFlags state()" doc="/**
&lt;p&gt;Returns a combination of flags identifying the set of properties that need to be updated when updating the paint engine's state (i.e&amp;#x2e; during a call to the QPaintEngine::updateState() function).&lt;/p&gt;

@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTransform transform()" doc="/**
&lt;p&gt;Returns the matrix in the current paint engine state.&lt;/p&gt;
&lt;p&gt;This variable should only be used when the &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; returns a combination which includes the QPaintEngine::DirtyTransform flag.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngineState.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPaintEngine::updateState&lt;/tt&gt; */"/>
    <method name="protected final com.trolltech.qt.gui.QPaintEngine.DirtyFlags dirtyFlags()"/>
    <method name="protected final void setDirtyFlags(com.trolltech.qt.gui.QPaintEngine.DirtyFlags dirtyFlags)"/>
</class>
