QtBase
v6.3.1
|
#include <qpathclipper_p.h>
Public Types | |
enum | Operation { BoolAnd , BoolOr , BoolSub , Simplify } |
Public Member Functions | |
QPathClipper (const QPainterPath &subject, const QPainterPath &clip) | |
QPainterPath | clip (Operation op=BoolAnd) |
bool | intersect () |
bool | contains () |
Static Public Member Functions | |
static bool | pathToRect (const QPainterPath &path, QRectF *rect=nullptr) |
static QPainterPath | intersect (const QPainterPath &path, const QRectF &rect) |
Definition at line 67 of file qpathclipper_p.h.
Enumerator | |
---|---|
BoolAnd | |
BoolOr | |
BoolSub | |
Simplify |
Definition at line 70 of file qpathclipper_p.h.
QPathClipper::QPathClipper | ( | const QPainterPath & | subject, |
const QPainterPath & | clip | ||
) |
QPainterPath QPathClipper::clip | ( | Operation | op = BoolAnd | ) |
Definition at line 1530 of file qpathclipper.cpp.
bool QPathClipper::contains | ( | ) |
bool QPathClipper::intersect | ( | ) |
|
static |
Definition at line 2109 of file qpathclipper.cpp.
|
static |