Sophie

Sophie

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

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:03:26 CEST 2007 -->
<TITLE>
QRegion
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QRegion";
}
</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/QRegExpValidator.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QRegion.RegionType.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/QRegion.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QRegion.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 QRegion</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.QRegion</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 class <B>QRegion</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="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a> class specifies a clip region for a painter.</p>
<p><a href="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a> is used with QPainter::setClipRegion() to limit the paint area to what needs to be painted. There is also a QWidget::repaint() function that takes a <a href="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a> parameter. <a href="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a> is the best tool for reducing flicker.</p>
<p>A region can be created from a rectangle, an ellipse, a polygon or a bitmap. Complex regions may be created by combining simple regions using <a href="QRegion.html#united(com.trolltech.qt.gui.QRegion)"><tt>united</tt></a>, <a href="QRegion.html#intersected(com.trolltech.qt.gui.QRegion)"><tt>intersected</tt></a>, <a href="QRegion.html#subtracted(com.trolltech.qt.gui.QRegion)"><tt>subtracted</tt></a>, or <a href="QRegion.html#xored(com.trolltech.qt.gui.QRegion)"><tt>xored</tt></a> (exclusive or). You can move a region using <a href="QRegion.html#translate(int, int)"><tt>translate</tt></a>.</p>
<p>You can test whether a region <a href="QRegion.html#isEmpty()"><tt>isEmpty</tt></a> or if it <a href="QRegion.html#contains(com.trolltech.qt.core.QPoint)"><tt>contains</tt></a> a <a href="%2E%2E/core/QPoint.html"><tt>QPoint</tt></a> or <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>. The bounding rectangle can be found with <a href="QRegion.html#boundingRect()"><tt>boundingRect</tt></a>.</p>
<p>The function <a href="QRegion.html#rects()"><tt>rects</tt></a> gives a decomposition of the region into rectangles.</p>
<p>Example of using complex regions:</p>
<pre>    void MyWidget::paintEvent(QPaintEvent *)
    {
        QRegion r1(QRect(100, 100, 200, 80),    <span class="comment">// r1: elliptic region</span>
                   QRegion::Ellipse);
        QRegion r2(QRect(100, 120, 90, 30));    <span class="comment">// r2: rectangular region</span>
        QRegion r3 = r1.intersected(r2);        <span class="comment">// r3: intersection</span>

        QPainter painter(this);
        painter.setClipRegion(r3);
        ...                                     <span class="comment">// paint clipped graphics</span>
    }</pre>
<p><a href="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a> is an implicitly shared class</tt>.</p>
<p><b>Warning:</b> Due to window system limitations, the whole coordinate space for a region is limited to the points between -32767 and 32767 on Windows 95/98/ME. You can circumvent this limitation by using a <a href="QPainterPath.html"><tt>QPainterPath</tt></a>.</p>
<a name="additional-license-information"></a>
<h3>Additional License Information</h3>
<p>For Qt/X11 and Qtopia Core, parts of this class rely on code obtained under the following license:</p>
<div style="padding: 0.5em; background: #e0e0e0; color: black"><p>Copyright (c) 1987 X Consortium</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p>Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium.</p>
</div>    <hr />
    <div style="padding: 0.5em; background: #e0e0e0; color: black"><p>Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.</p>
<p>All Rights Reserved</p>
<p>Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Digital not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.</p>
<p>DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p>
</div>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><tt>QPainter::setClipRegion</tt>, 
<tt>QPainter::setClipRect</tt>, 
<a href="QPainterPath.html"><tt>QPainterPath</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&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.RegionType.html" title="enum in com.trolltech.qt.gui">QRegion.RegionType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the shape of the region to be created.</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/QRegion.html#QRegion()">QRegion</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty region.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#QRegion(int, int, int, int)">QRegion</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="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, Rectangle).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#QRegion(int, int, int, int, com.trolltech.qt.gui.QRegion.RegionType)">QRegion</A></B>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;w,
        int&nbsp;h,
        <A HREF="../../../../com/trolltech/qt/gui/QRegion.RegionType.html" title="enum in com.trolltech.qt.gui">QRegion.RegionType</A>&nbsp;t)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a rectangular or elliptic region.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#QRegion(com.trolltech.qt.gui.QBitmap)">QRegion</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;bitmap)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a region from the bitmap <tt>bitmap</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#QRegion(com.trolltech.qt.gui.QPolygon)">QRegion</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;pa)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a>(<tt>pa</tt>, Qt::OddEvenFill).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#QRegion(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)">QRegion</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;pa,
        <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;Constructs a polygon region from the point array <tt>pa</tt> with the fill rule specified by <tt>fillRule</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#QRegion(com.trolltech.qt.core.QRect)">QRegion</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="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a>(<tt>r</tt>, Rectangle).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)">QRegion</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/QRegion.RegionType.html" title="enum in com.trolltech.qt.gui">QRegion.RegionType</A>&nbsp;t)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a region based on the rectange <tt>r</tt> with region type <tt>t</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#QRegion(com.trolltech.qt.gui.QRegion)">QRegion</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;region)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new region which is equal to region <tt>region</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/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#boundingRect()">boundingRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding rectangle of this region.</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/QRegion.html#contains(com.trolltech.qt.core.QPoint)">contains</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;Returns true if the region contains the point <tt>p</tt>; 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/QRegion.html#contains(com.trolltech.qt.core.QRect)">contains</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;Returns true if the region overlaps the rectangle <tt>r</tt>; 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/QRegion.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.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 QRegion instance pointed to by nativePointer</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/QRegion.html#intersected(com.trolltech.qt.gui.QRegion)">intersected</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a region which is the intersection of this region and <tt>r</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/QRegion.html#intersects(com.trolltech.qt.core.QRect)">intersects</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;Returns true if this region intersects with <tt>r</tt>, 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/QRegion.html#intersects(com.trolltech.qt.gui.QRegion)">intersects</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this region intersects with <tt>r</tt>, 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/QRegion.html#isEmpty()">isEmpty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the region is empty; otherwise returns false.</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/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#nativePointerArray(com.trolltech.qt.gui.QRegion[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QRegion array.</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/QRegion.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QRegion from arg__1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QRegion.html#rects()">rects</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of non-overlapping rectangles that make up the region.</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/QRegion.html#setRects(com.trolltech.qt.core.QRect[])">setRects</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>[]&nbsp;rects)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the region using the array of rectangles specified by rects.</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/QRegion.html#subtracted(com.trolltech.qt.gui.QRegion)">subtracted</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a region which is <tt>r</tt> subtracted from this region.</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/QRegion.html#translate(int, int)">translate</A></B>(int&nbsp;dx,
          int&nbsp;dy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates (moves) the region <tt>dx</tt> along the X axis and <tt>dy</tt> along the Y axis.</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/QRegion.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;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the region <tt>p</tt><i>.x()</i> along the x axis and <tt>p</tt><i>.y()</i> along the y axis, relative to the current position.</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/QRegion.html#translated(int, int)">translated</A></B>(int&nbsp;dx,
           int&nbsp;dy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the region that is translated <tt>dx</tt> along the x axis and <tt>dy</tt> along the y axis, relative to the current position.</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/QRegion.html#translated(com.trolltech.qt.core.QPoint)">translated</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;Returns a copy of the regtion that is translated <tt>p</tt><i>.x()</i> along the x axis and <tt>p</tt><i>.y()</i> along the y axis, relative to the current position.</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/QRegion.html#united(com.trolltech.qt.gui.QRegion)">united</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a region which is the union of this region and <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/QRegion.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQRegion to arg__1.</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/QRegion.html#xored(com.trolltech.qt.gui.QRegion)">xored</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a region which is the exclusive or (XOR) of this region and <tt>r</tt>.</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, 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="QRegion(com.trolltech.qt.gui.QBitmap)"><!-- --></A><H3>
QRegion</H3>
<PRE>
public <B>QRegion</B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;bitmap)</PRE>
<DL>
<DD><p>Constructs a region from the bitmap <tt>bitmap</tt>.</p>
<p>The resulting region consists of the pixels in bitmap <tt>bitmap</tt> that are Qt::color1, as if each pixel was a 1 by 1 rectangle.</p>
<p>This constructor may create complex regions that will slow down painting when used. Note that drawing masked pixmaps can be done much faster using QPixmap::setMask().</p>
<P>
</DL>
<HR>

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

<A NAME="QRegion(com.trolltech.qt.gui.QPolygon, com.trolltech.qt.core.Qt.FillRule)"><!-- --></A><H3>
QRegion</H3>
<PRE>
public <B>QRegion</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A>&nbsp;pa,
               <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>Constructs a polygon region from the point array <tt>pa</tt> with the fill rule specified by <tt>fillRule</tt>.</p>
<p>If <tt>fillRule</tt> is <tt>Qt::WindingFill</tt>, the polygon region is defined using the winding algorithm; if it is <tt>Qt::OddEvenFill</tt>, the odd-even fill algorithm is used.</p>
<p><b>Warning:</b> This constructor can be used to create complex regions that will slow down painting when used.</p>
<P>
</DL>
<HR>

<A NAME="QRegion(int, int, int, int)"><!-- --></A><H3>
QRegion</H3>
<PRE>
public <B>QRegion</B>(int&nbsp;x,
               int&nbsp;y,
               int&nbsp;w,
               int&nbsp;h)</PRE>
<DL>
<DD><p>Equivalent to <a href="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, Rectangle).
<P>
</DL>
<HR>

<A NAME="QRegion(int, int, int, int, com.trolltech.qt.gui.QRegion.RegionType)"><!-- --></A><H3>
QRegion</H3>
<PRE>
public <B>QRegion</B>(int&nbsp;x,
               int&nbsp;y,
               int&nbsp;w,
               int&nbsp;h,
               <A HREF="../../../../com/trolltech/qt/gui/QRegion.RegionType.html" title="enum in com.trolltech.qt.gui">QRegion.RegionType</A>&nbsp;t)</PRE>
<DL>
<DD><p>Constructs a rectangular or elliptic region.</p>
<p>If <tt>t</tt> is <tt>Rectangle</tt>, the region is the filled rectangle (<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>). If <tt>t</tt> is <tt>Ellipse</tt>, the region is the filled ellipse with center at (<tt>x</tt> + <tt>w</tt> / 2, <tt>y</tt> + <tt>h</tt> / 2) and size (<tt>w</tt> ,<tt>h</tt>).</p>
<P>
</DL>
<HR>

<A NAME="QRegion()"><!-- --></A><H3>
QRegion</H3>
<PRE>
public <B>QRegion</B>()</PRE>
<DL>
<DD><p>Constructs an empty region.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QRegion.html#isEmpty()"><tt>isEmpty</tt></a></DL>
</DL>
<HR>

<A NAME="QRegion(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
QRegion</H3>
<PRE>
public <B>QRegion</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;region)</PRE>
<DL>
<DD><p>Constructs a new region which is equal to region <tt>region</tt>.</p>
<P>
</DL>
<HR>

<A NAME="QRegion(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
QRegion</H3>
<PRE>
public <B>QRegion</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="QRegion.html#QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><tt>QRegion</tt></a>(<tt>r</tt>, Rectangle).
<P>
</DL>
<HR>

<A NAME="QRegion(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QRegion.RegionType)"><!-- --></A><H3>
QRegion</H3>
<PRE>
public <B>QRegion</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/QRegion.RegionType.html" title="enum in com.trolltech.qt.gui">QRegion.RegionType</A>&nbsp;t)</PRE>
<DL>
<DD><p>Create a region based on the rectange <tt>r</tt> with region type <tt>t</tt>.</p>
<p>If the rectangle is invalid a null region will be created.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><tt>QRegion::RegionType</tt></DL>
</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="boundingRect()"><!-- --></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>()</PRE>
<DL>
<DD><p>Returns the bounding rectangle of this region. An empty region gives a rectangle that is QRect::isNull().</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</PRE>
<DL>
<DD><p>Returns true if the region overlaps the rectangle <tt>r</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Returns true if the region contains the point <tt>p</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="intersected(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
intersected</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>intersected</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</PRE>
<DL>
<DD><p>Returns a region which is the intersection of this region and <tt>r</tt>.</p>
<p align="center"><img src="%2E%2E/images/rintersect.png" alt="Region Intersection" /></p><p>The figure shows the intersection of two elliptical regions.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="intersects(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
intersects</H3>
<PRE>
public final boolean <B>intersects</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</PRE>
<DL>
<DD><p>Returns true if this region intersects with <tt>r</tt>, otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="intersects(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
intersects</H3>
<PRE>
public final boolean <B>intersects</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</PRE>
<DL>
<DD><p>Returns true if this region intersects with <tt>r</tt>, otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isEmpty()"><!-- --></A><H3>
isEmpty</H3>
<PRE>
public final boolean <B>isEmpty</B>()</PRE>
<DL>
<DD><p>Returns true if the region is empty; otherwise returns false. An empty region is a region that contains no points.</p>
<p>Example:</p>
<pre>    QRegion r1(10, 10, 20, 20);
    r1.isNull();                <span class="comment">// false</span>
    r1.isEmpty();               <span class="comment">// false</span>

    QRegion r2(40, 40, 20, 20);
    QRegion r3;
    r3.isNull();                <span class="comment">// true</span>
    r3.isEmpty();               <span class="comment">// true</span>

    r3 = r1.intersected(r2);    <span class="comment">// r3: intersection of r1 and r2</span>
    r3.isNull();                <span class="comment">// false</span>
    r3.isEmpty();               <span class="comment">// true</span>

    r3 = r1.united(r2);         <span class="comment">// r3: union of r1 and r2</span>
    r3.isNull();                <span class="comment">// false</span>
    r3.isEmpty();               <span class="comment">// false</span></pre>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
writeTo</H3>
<PRE>
public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Writes thisQRegion to arg__1.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
readFrom</H3>
<PRE>
public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Reads a QRegion from arg__1.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="rects()"><!-- --></A><H3>
rects</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&gt; <B>rects</B>()</PRE>
<DL>
<DD><p>Returns an array of non-overlapping rectangles that make up the region.</p>
<p>The union of all the rectangles is equal to the original region.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="subtracted(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
subtracted</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>subtracted</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</PRE>
<DL>
<DD><p>Returns a region which is <tt>r</tt> subtracted from this region.</p>
<p align="center"><img src="%2E%2E/images/rsubtract.png" alt="Region Subtraction" /></p><p>The figure shows the result when the ellipse on the right is subtracted from the ellipse on the left (<tt>left - right</tt>).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRegion.html#intersected(com.trolltech.qt.gui.QRegion)"><tt>intersected</tt></a>, 
<a href="QRegion.html#united(com.trolltech.qt.gui.QRegion)"><tt>united</tt></a>, 
<a href="QRegion.html#xored(com.trolltech.qt.gui.QRegion)"><tt>xored</tt></a></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;p)</PRE>
<DL>
<DD><p>Translates the region <tt>p</tt><i>.x()</i> along the x axis and <tt>p</tt><i>.y()</i> along the y axis, relative to the current position. Positive values move the region to the right and down.</p>
<p>Translates to the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="translate(int, int)"><!-- --></A><H3>
translate</H3>
<PRE>
public final void <B>translate</B>(int&nbsp;dx,
                            int&nbsp;dy)</PRE>
<DL>
<DD><p>Translates (moves) the region <tt>dx</tt> along the X axis and <tt>dy</tt> along the Y axis.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="translated(int, int)"><!-- --></A><H3>
translated</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>translated</B>(int&nbsp;dx,
                                int&nbsp;dy)</PRE>
<DL>
<DD><p>Returns a copy of the region that is translated <tt>dx</tt> along the x axis and <tt>dy</tt> along the y axis, relative to the current position. Positive values move the region to the right and down.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRegion.html#translate(int, int)"><tt>translate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="translated(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
translated</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>translated</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Returns a copy of the regtion that is translated <tt>p</tt><i>.x()</i> along the x axis and <tt>p</tt><i>.y()</i> along the y axis, relative to the current position. Positive values move the rectangle to the right and down.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRegion.html#translate(int, int)"><tt>translate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="united(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
united</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>united</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</PRE>
<DL>
<DD><p>Returns a region which is the union of this region and <tt>r</tt>.</p>
<p align="center"><img src="%2E%2E/images/runion.png" alt="Region Union" /></p><p>The figure shows the union of two elliptical regions.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRegion.html#intersected(com.trolltech.qt.gui.QRegion)"><tt>intersected</tt></a>, 
<a href="QRegion.html#subtracted(com.trolltech.qt.gui.QRegion)"><tt>subtracted</tt></a>, 
<a href="QRegion.html#xored(com.trolltech.qt.gui.QRegion)"><tt>xored</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="xored(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
xored</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>xored</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;r)</PRE>
<DL>
<DD><p>Returns a region which is the exclusive or (XOR) of this region and <tt>r</tt>.</p>
<p align="center"><img src="%2E%2E/images/rxor.png" alt="Region XORed" /></p><p>The figure shows the exclusive or of two elliptical regions.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRegion.html#intersected(com.trolltech.qt.gui.QRegion)"><tt>intersected</tt></a>, 
<a href="QRegion.html#united(com.trolltech.qt.gui.QRegion)"><tt>united</tt></a>, 
<a href="QRegion.html#subtracted(com.trolltech.qt.gui.QRegion)"><tt>subtracted</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/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</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 QRegion 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="nativePointerArray(com.trolltech.qt.gui.QRegion[])"><!-- --></A><H3>
nativePointerArray</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QRegion array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to.
<DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRects(com.trolltech.qt.core.QRect[])"><!-- --></A><H3>
setRects</H3>
<PRE>
public void <B>setRects</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>[]&nbsp;rects)</PRE>
<DL>
<DD>Sets the region using the array of rectangles specified by rects. The
rectangles must be optimally Y-X sorted and follow these restrictions:
<p>
<dir>
<li> The rectangles must not intersect.
<li> All rectangles with a given top coordinate must have the same height.
<li> No two rectangles may abut horizontally (they should be combined into a single wider rectangle in that case).
<li> The rectangles must be sorted in ascending order, with Y as the major sort key and X as the minor sort key.
</dir>
<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/QRegExpValidator.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QRegion.RegionType.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/QRegion.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QRegion.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>