![]() |
Qt 6.x
The Qt SDK
|
#include "qregion.h"#include "qpainterpath.h"#include "qpolygon.h"#include "qbuffer.h"#include "qdatastream.h"#include "qvariant.h"#include "qvarlengtharray.h"#include "qimage.h"#include "qbitmap.h"#include "qtransform.h"#include <memory>#include <private/qdebug_p.h>
Include dependency graph for qregion.cpp:Go to the source code of this file.
Macros | |
| #define | QRGN_SETRECT 1 |
| #define | QRGN_SETELLIPSE 2 |
| #define | QRGN_SETPTARRAY_ALT 3 |
| #define | QRGN_SETPTARRAY_WIND 4 |
| #define | QRGN_TRANSLATE 5 |
| #define | QRGN_OR 6 |
| #define | QRGN_AND 7 |
| #define | QRGN_SUB 8 |
| #define | QRGN_XOR 9 |
| #define | QRGN_RECTS 10 |
Functions | |
| QDebug | operator<< (QDebug s, const QRegion &r) |
| bool | rect_intersects (const QRect &r1, const QRect &r2) |
| Q_DECLARE_TYPEINFO (Segment, Q_PRIMITIVE_TYPE) | |
| Q_GUI_EXPORT QPainterPath | qt_regionToPath (const QRegion ®ion) |
| #define QRGN_AND 7 |
Definition at line 187 of file qregion.cpp.
| #define QRGN_OR 6 |
Definition at line 186 of file qregion.cpp.
| #define QRGN_RECTS 10 |
Definition at line 190 of file qregion.cpp.
| #define QRGN_SETELLIPSE 2 |
Definition at line 182 of file qregion.cpp.
| #define QRGN_SETPTARRAY_ALT 3 |
Definition at line 183 of file qregion.cpp.
| #define QRGN_SETPTARRAY_WIND 4 |
Definition at line 184 of file qregion.cpp.
| #define QRGN_SETRECT 1 |
Definition at line 181 of file qregion.cpp.
| #define QRGN_SUB 8 |
Definition at line 188 of file qregion.cpp.
| #define QRGN_TRANSLATE 5 |
Definition at line 185 of file qregion.cpp.
| #define QRGN_XOR 9 |
Definition at line 189 of file qregion.cpp.
Definition at line 357 of file qregion.cpp.
References QtDebugUtils::formatQRect(), and rect.
Here is the call graph for this function:| Q_DECLARE_TYPEINFO | ( | Segment | , |
| Q_PRIMITIVE_TYPE | |||
| ) |
| Q_GUI_EXPORT QPainterPath qt_regionToPath | ( | const QRegion & | region | ) |
Definition at line 1007 of file qregion.cpp.
References QRegion::begin(), QRegion::boundingRect(), connect(), QRegion::end(), i, j, rect, and QRegion::rectCount().
Referenced by QPainter::clipPath(), QGraphicsViewPrivate::findItems(), QTransform::map(), QWin32PrintEngine::updateClipPath(), QGraphicsPixmapItemPrivate::updateShape(), QX11PaintEngine::updateState(), and QWin32PrintEngine::updateState().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 601 of file qregion.cpp.
References QRect::bottom(), QRect::left(), r1, r2, QRect::right(), and QRect::top().
Referenced by QRegion::intersects().
Here is the call graph for this function:
Here is the caller graph for this function: