Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QPathClipper Class Reference

#include <qpathclipper_p.h>

+ Collaboration diagram for QPathClipper:

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 31 of file qpathclipper_p.h.

Member Enumeration Documentation

◆ Operation

Enumerator
BoolAnd 
BoolOr 
BoolSub 
Simplify 

Definition at line 34 of file qpathclipper_p.h.

Constructor & Destructor Documentation

◆ QPathClipper()

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

Definition at line 1418 of file qpathclipper.cpp.

Member Function Documentation

◆ clip()

QPainterPath QPathClipper::clip ( Operation op = BoolAnd)

Definition at line 1496 of file qpathclipper.cpp.

◆ contains()

bool QPathClipper::contains ( )

Definition at line 1381 of file qpathclipper.cpp.

◆ intersect() [1/2]

bool QPathClipper::intersect ( )

Definition at line 1330 of file qpathclipper.cpp.

◆ intersect() [2/2]

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

Definition at line 2075 of file qpathclipper.cpp.

◆ pathToRect()

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

Definition at line 1457 of file qpathclipper.cpp.


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