Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QRegion QRegion::subtracted ( const QRegion r  )  const [inline]

Since:
4.2
Returns a region which is r subtracted from this region.

rsubtract.png Region Subtraction

The figure shows the result when the ellipse on the right is subtracted from the ellipse on the left ({left - right}).

See also:
intersected(), united(), xored()

Definition at line 102 of file qregion.h.

Referenced by Q3IconView::doAutoScroll(), Q3IconView::drawContents(), Q3IconView::insertInGrid(), operator-(), Q3GridView::paintEmptyArea(), Q3Table::paintEmptyArea(), QListView::paintEvent(), Q3Table::repaintSelections(), and Q3ListBox::viewportPaintEvent().

{ return subtract(r); }


Generated by  Doxygen 1.6.0   Back to index