Qt Reference Documentation

Qt 3 Support Members for QRegion

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.

Public Functions

QRegion ( const QPolygon & pa, bool winding )
bool isNull () const
int numRects () const

Member Function Documentation

QRegion::QRegion ( const QPolygon & pa, bool winding )

Use the constructor tha takes a Qt::FillRule as the second argument instead.

bool QRegion::isNull () const

Use isEmpty() instead.

int QRegion::numRects () const

Returns the number of rectangles that will be returned in rects().

This function was introduced in Qt 4.4.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.