Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPainterPathPrivate Class Reference

#include <qpainterpath_p.h>

+ Inheritance diagram for QPainterPathPrivate:
+ Collaboration diagram for QPainterPathPrivate:

Public Member Functions

 QPainterPathPrivate () noexcept
 
 QPainterPathPrivate (QPointF startPoint)
 
 QPainterPathPrivate (const QPainterPathPrivate &other) noexcept
 
QPainterPathPrivateoperator= (const QPainterPathPrivate &)=delete
 
 ~QPainterPathPrivate ()=default
 
bool isClosed () const
 
void close ()
 
void maybeMoveTo ()
 
void clear ()
 
const QVectorPathvectorPath ()
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Friends

class QPainterPath
 
class QPainterPathStroker
 
class QPainterPathStrokerPrivate
 
class QTransform
 
class QVectorPath
 
struct QPainterPathPrivateDeleter
 
Q_GUI_EXPORT QDataStreamoperator<< (QDataStream &, const QPainterPath &)
 
Q_GUI_EXPORT QDataStreamoperator>> (QDataStream &, QPainterPath &)
 

Additional Inherited Members

- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 96 of file qpainterpath_p.h.

Constructor & Destructor Documentation

◆ QPainterPathPrivate() [1/3]

QPainterPathPrivate::QPainterPathPrivate ( )
inlinenoexcept

Definition at line 110 of file qpainterpath_p.h.

◆ QPainterPathPrivate() [2/3]

QPainterPathPrivate::QPainterPathPrivate ( QPointF startPoint)
inline

Definition at line 122 of file qpainterpath_p.h.

References QPainterPath::MoveToElement, QPointF::x(), and QPointF::y().

+ Here is the call graph for this function:

◆ QPainterPathPrivate() [3/3]

QPainterPathPrivate::QPainterPathPrivate ( const QPainterPathPrivate & other)
inlinenoexcept

Definition at line 137 of file qpainterpath_p.h.

◆ ~QPainterPathPrivate()

QPainterPathPrivate::~QPainterPathPrivate ( )
default

Member Function Documentation

◆ clear()

void QPainterPathPrivate::clear ( )
inline

Definition at line 267 of file qpainterpath_p.h.

References QList< T >::clear(), and Q_ASSERT.

Referenced by QPainterPath::clear().

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

◆ close()

void QPainterPathPrivate::close ( )
inline

Definition at line 240 of file qpainterpath_p.h.

References QList< T >::at(), QList< T >::last(), QPainterPath::LineToElement, Q_ASSERT, qFuzzyCompare(), QPainterPath::Element::x, and QPainterPath::Element::y.

Referenced by QPainterPath::closeSubpath().

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

◆ isClosed()

bool QPainterPathPrivate::isClosed ( ) const
inline

Definition at line 233 of file qpainterpath_p.h.

References QList< T >::at(), QList< T >::last(), QPainterPath::Element::x, and QPainterPath::Element::y.

+ Here is the call graph for this function:

◆ maybeMoveTo()

void QPainterPathPrivate::maybeMoveTo ( )
inline

Definition at line 257 of file qpainterpath_p.h.

References QList< T >::append(), QList< T >::last(), QPainterPath::MoveToElement, and QPainterPath::Element::type.

+ Here is the call graph for this function:

◆ operator=()

QPainterPathPrivate & QPainterPathPrivate::operator= ( const QPainterPathPrivate & )
delete

◆ vectorPath()

const QVectorPath & QPainterPathPrivate::vectorPath ( )
inline

Definition at line 160 of file qpainterpath_p.h.

References elements.

Friends And Related Symbol Documentation

◆ operator<<

Q_GUI_EXPORT QDataStream & operator<< ( QDataStream & ,
const QPainterPath &  )
friend

Definition at line 2412 of file qpainterpath.cpp.

◆ operator>>

Q_GUI_EXPORT QDataStream & operator>> ( QDataStream & ,
QPainterPath &  )
friend

Definition at line 2439 of file qpainterpath.cpp.

◆ QPainterPath

friend class QPainterPath
friend

Definition at line 99 of file qpainterpath_p.h.

◆ QPainterPathPrivateDeleter

friend struct QPainterPathPrivateDeleter
friend

Definition at line 104 of file qpainterpath_p.h.

◆ QPainterPathStroker

friend class QPainterPathStroker
friend

Definition at line 100 of file qpainterpath_p.h.

◆ QPainterPathStrokerPrivate

friend class QPainterPathStrokerPrivate
friend

Definition at line 101 of file qpainterpath_p.h.

◆ QTransform

friend class QTransform
friend

Definition at line 102 of file qpainterpath_p.h.

◆ QVectorPath

friend class QVectorPath
friend

Definition at line 103 of file qpainterpath_p.h.


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