QtBase  v6.3.1
Public Types | Public Member Functions | Static Public Member Functions | List of all members
QPathClipper Class Reference

#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)
 

Detailed Description

Definition at line 67 of file qpathclipper_p.h.

Member Enumeration Documentation

◆ Operation

Enumerator
BoolAnd 
BoolOr 
BoolSub 
Simplify 

Definition at line 70 of file qpathclipper_p.h.

Constructor & Destructor Documentation

◆ QPathClipper()

QPathClipper::QPathClipper ( const QPainterPath subject,
const QPainterPath clip 
)

Definition at line 1452 of file qpathclipper.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ clip()

QPainterPath QPathClipper::clip ( Operation  op = BoolAnd)

Definition at line 1530 of file qpathclipper.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ contains()

bool QPathClipper::contains ( )

Definition at line 1415 of file qpathclipper.cpp.

Here is the caller graph for this function:

◆ intersect() [1/2]

bool QPathClipper::intersect ( )

Definition at line 1364 of file qpathclipper.cpp.

Here is the caller graph for this function:

◆ intersect() [2/2]

QPainterPath QPathClipper::intersect ( const QPainterPath path,
const QRectF rect 
)
static

Definition at line 2109 of file qpathclipper.cpp.

◆ pathToRect()

bool QPathClipper::pathToRect ( const QPainterPath path,
QRectF rect = nullptr 
)
static

Definition at line 1491 of file qpathclipper.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: