![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
constexpr | QRegionPrivate () |
QRegionPrivate (const QRect &r) | |
void | intersect (const QRect &r) |
bool | contains (const QRegionPrivate &r) const |
bool | contains (const QRect &r2) const |
bool | within (const QRect &r1) const |
void | updateInnerRect (const QRect &rect) |
void | vectorize () |
const QRect * | begin () const noexcept |
const QRect * | end () const noexcept |
void | append (const QRect *r) |
void | append (const QRegionPrivate *r) |
void | prepend (const QRect *r) |
void | prepend (const QRegionPrivate *r) |
bool | canAppend (const QRect *r) const |
bool | canAppend (const QRegionPrivate *r) const |
bool | canPrepend (const QRect *r) const |
bool | canPrepend (const QRegionPrivate *r) const |
bool | mergeFromRight (QRect *left, const QRect *right) |
bool | mergeFromLeft (QRect *left, const QRect *right) |
bool | mergeFromBelow (QRect *top, const QRect *bottom, const QRect *nextToTop, const QRect *nextToBottom) |
bool | mergeFromAbove (QRect *bottom, const QRect *top, const QRect *nextToBottom, const QRect *nextToTop) |
constexpr | QRegionPrivate () |
QRegionPrivate (const QRect &r) | |
void | intersect (const QRect &r) |
bool | contains (const QRegionPrivate &r) const |
bool | contains (const QRect &r2) const |
bool | within (const QRect &r1) const |
void | updateInnerRect (const QRect &rect) |
void | vectorize () |
const QRect * | begin () const noexcept |
const QRect * | end () const noexcept |
void | append (const QRect *r) |
void | append (const QRegionPrivate *r) |
void | prepend (const QRect *r) |
void | prepend (const QRegionPrivate *r) |
bool | canAppend (const QRect *r) const |
bool | canAppend (const QRegionPrivate *r) const |
bool | canPrepend (const QRect *r) const |
bool | canPrepend (const QRegionPrivate *r) const |
bool | mergeFromRight (QRect *left, const QRect *right) |
bool | mergeFromLeft (QRect *left, const QRect *right) |
bool | mergeFromBelow (QRect *top, const QRect *bottom, const QRect *nextToTop, const QRect *nextToBottom) |
bool | mergeFromAbove (QRect *bottom, const QRect *top, const QRect *nextToBottom, const QRect *nextToTop) |
Public Attributes | |
int | numRects |
int | innerArea |
QList< QRect > | rects |
QRect | extents |
QRect | innerRect |
Definition at line 1071 of file qregion.cpp.
|
inlineconstexpr |
Definition at line 1078 of file qregion.cpp.
|
inline |
Definition at line 1079 of file qregion.cpp.
References QRegionPrivate(), innerArea, and numRects.
Referenced by QRegionPrivate(), and UnionRectWithRegion().
|
inlineconstexpr |
Definition at line 1078 of file qregion.cpp.
|
inline |
Definition at line 1079 of file qregion.cpp.
Definition at line 1296 of file qregion.cpp.
References mergeFromBelow(), mergeFromRight(), numRects, updateInnerRect(), and vectorize().
Referenced by UnionRectWithRegion().
void QRegionPrivate::append | ( | const QRegionPrivate * | r | ) |
Definition at line 1327 of file qregion.cpp.
References innerArea, isEmptyHelper(), mergeFromBelow(), mergeFromRight(), numRects, and vectorize().
Referenced by XorRegion().
void QRegionPrivate::append | ( | const QRegionPrivate * | r | ) |
|
inlinenoexcept |
Definition at line 1128 of file qregion.cpp.
Referenced by end().
|
inlinenoexcept |
Definition at line 1128 of file qregion.cpp.
|
inline |
Definition at line 1505 of file qregion.cpp.
Referenced by UnionRectWithRegion().
|
inline |
|
inline |
Definition at line 1522 of file qregion.cpp.
References numRects.
Referenced by UnionRegion(), and XorRegion().
|
inline |
|
inline |
Definition at line 1527 of file qregion.cpp.
|
inline |
|
inline |
Definition at line 1544 of file qregion.cpp.
References numRects.
|
inline |
|
inline |
Definition at line 1097 of file qregion.cpp.
|
inline |
Definition at line 1097 of file qregion.cpp.
|
inline |
Definition at line 1093 of file qregion.cpp.
Referenced by SubtractRegion(), UnionRegion(), and XorRegion().
|
inline |
Definition at line 1093 of file qregion.cpp.
|
inlinenoexcept |
Definition at line 1131 of file qregion.cpp.
References begin(), and numRects.
|
inlinenoexcept |
Definition at line 1131 of file qregion.cpp.
Definition at line 1243 of file qregion.cpp.
References innerArea, numRects, and updateInnerRect().
|
inline |
Definition at line 1220 of file qregion.cpp.
References canMergeFromBelow(), and updateInnerRect().
Referenced by prepend(), and prepend().
|
inline |
|
inline |
Definition at line 1208 of file qregion.cpp.
References canMergeFromBelow(), and updateInnerRect().
Referenced by append(), and append().
|
inline |
Definition at line 1184 of file qregion.cpp.
References canMergeFromLeft(), and updateInnerRect().
Referenced by prepend(), and prepend().
Definition at line 1174 of file qregion.cpp.
References canMergeFromRight(), and updateInnerRect().
Referenced by append(), and append().
Definition at line 1473 of file qregion.cpp.
References mergeFromAbove(), mergeFromLeft(), numRects, updateInnerRect(), and vectorize().
void QRegionPrivate::prepend | ( | const QRegionPrivate * | r | ) |
Definition at line 1400 of file qregion.cpp.
References innerArea, isEmptyHelper(), mergeFromAbove(), mergeFromLeft(), numRects, and vectorize().
void QRegionPrivate::prepend | ( | const QRegionPrivate * | r | ) |
Definition at line 1112 of file qregion.cpp.
References innerArea.
Referenced by append(), intersect(), mergeFromAbove(), mergeFromBelow(), mergeFromLeft(), mergeFromRight(), miCoalesce(), miSetExtents(), prepend(), and PtsToRegion().
Definition at line 1112 of file qregion.cpp.
|
inline |
Definition at line 1120 of file qregion.cpp.
References numRects.
Referenced by append(), append(), miRegionOp(), PolygonRegion(), prepend(), and prepend().
|
inline |
Definition at line 1120 of file qregion.cpp.
|
inline |
Definition at line 1106 of file qregion.cpp.
|
inline |
Definition at line 1106 of file qregion.cpp.
QRect QRegionPrivate::extents |
Definition at line 1075 of file qregion.cpp.
int QRegionPrivate::innerArea |
Definition at line 1073 of file qregion.cpp.
Referenced by QRegionPrivate(), QRegionPrivate(), append(), intersect(), miSetExtents(), PolygonRegion(), prepend(), PtsToRegion(), UnionRegion(), and updateInnerRect().
QRect QRegionPrivate::innerRect |
Definition at line 1076 of file qregion.cpp.
int QRegionPrivate::numRects |
Definition at line 1072 of file qregion.cpp.
Referenced by QRegionPrivate(), QRegionPrivate(), append(), append(), canAppend(), canPrepend(), end(), EqualRegion(), intersect(), isEmptyHelper(), miCoalesce(), miIntersectO(), miRegionOp(), miSetExtents(), miSubtractNonO1(), miSubtractO(), miUnionNonO(), miUnionO(), OffsetRegion(), PointInRegion(), PolygonRegion(), prepend(), prepend(), PtsToRegion(), RectInRegion(), UnionRectWithRegion(), and vectorize().
Definition at line 1074 of file qregion.cpp.