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
QPainterPathPrivate Class Reference

#include <qpainterpath_p.h>

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

Public Types

enum  TrimFlags { TrimStart = 0x01 , TrimEnd = 0x02 }
 

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 ()
 
QPointF endPointOfElement (int elemIdx) const
 
void computeRunLengths ()
 
int elementAtLength (qreal len)
 
int elementAtT (qreal t)
 
QBezier bezierAtT (const QPainterPath &path, qreal t, qreal *startingLength, qreal *bezierLength) const
 
void appendTrimmedElement (QPainterPath *to, int elemIdx, int trimFlags, qreal startLen, qreal endLen)
 
void appendStartOfElement (QPainterPath *to, int elemIdx, qreal len)
 
void appendEndOfElement (QPainterPath *to, int elemIdx, qreal len)
 
void appendSliceOfElement (QPainterPath *to, int elemIdx, qreal fromLen, qreal toLen)
 
void appendElementRange (QPainterPath *to, int first, int last)
 
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 &s, const QPainterPath &p)
 
Q_GUI_EXPORT QDataStreamoperator>> (QDataStream &s, QPainterPath &p)
 

Additional Inherited Members

- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 95 of file qpainterpath_p.h.

Member Enumeration Documentation

◆ TrimFlags

Enumerator
TrimStart 
TrimEnd 

Definition at line 164 of file qpainterpath_p.h.

Constructor & Destructor Documentation

◆ QPainterPathPrivate() [1/3]

QPainterPathPrivate::QPainterPathPrivate ( )
inlinenoexcept

Definition at line 109 of file qpainterpath_p.h.

References QPainterPathPrivate().

Referenced by QPainterPathPrivate().

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

◆ QPainterPathPrivate() [2/3]

QPainterPathPrivate::QPainterPathPrivate ( QPointF startPoint)
inline

Definition at line 120 of file qpainterpath_p.h.

References QPainterPathPrivate().

Referenced by QPainterPathPrivate().

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

◆ QPainterPathPrivate() [3/3]

QPainterPathPrivate::QPainterPathPrivate ( const QPainterPathPrivate & other)
inlinenoexcept

Definition at line 134 of file qpainterpath_p.h.

References QPainterPathPrivate().

Referenced by QPainterPathPrivate().

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

◆ ~QPainterPathPrivate()

QPainterPathPrivate::~QPainterPathPrivate ( )
default

Member Function Documentation

◆ appendElementRange()

void QPainterPathPrivate::appendElementRange ( QPainterPath * to,
int first,
int last )

Definition at line 3330 of file qpainterpath.cpp.

◆ appendEndOfElement()

void QPainterPathPrivate::appendEndOfElement ( QPainterPath * to,
int elemIdx,
qreal len )
inline

Definition at line 173 of file qpainterpath_p.h.

◆ appendSliceOfElement()

void QPainterPathPrivate::appendSliceOfElement ( QPainterPath * to,
int elemIdx,
qreal fromLen,
qreal toLen )
inline

Definition at line 177 of file qpainterpath_p.h.

◆ appendStartOfElement()

void QPainterPathPrivate::appendStartOfElement ( QPainterPath * to,
int elemIdx,
qreal len )
inline

Definition at line 169 of file qpainterpath_p.h.

◆ appendTrimmedElement()

void QPainterPathPrivate::appendTrimmedElement ( QPainterPath * to,
int elemIdx,
int trimFlags,
qreal startLen,
qreal endLen )

Definition at line 3291 of file qpainterpath.cpp.

◆ bezierAtT()

QBezier QPainterPathPrivate::bezierAtT ( const QPainterPath & path,
qreal t,
qreal * startingLength,
qreal * bezierLength ) const

Definition at line 3054 of file qpainterpath.cpp.

◆ clear()

void QPainterPathPrivate::clear ( )
inline

Definition at line 288 of file qpainterpath_p.h.

◆ close()

void QPainterPathPrivate::close ( )
inline

Definition at line 261 of file qpainterpath_p.h.

◆ computeRunLengths()

void QPainterPathPrivate::computeRunLengths ( )

Definition at line 3628 of file qpainterpath.cpp.

Referenced by elementAtT().

+ Here is the caller graph for this function:

◆ elementAtLength()

int QPainterPathPrivate::elementAtLength ( qreal len)
inline

Definition at line 317 of file qpainterpath_p.h.

◆ elementAtT()

int QPainterPathPrivate::elementAtT ( qreal t)
inline

Definition at line 325 of file qpainterpath_p.h.

References computeRunLengths().

+ Here is the call graph for this function:

◆ endPointOfElement()

QPointF QPainterPathPrivate::endPointOfElement ( int elemIdx) const
inline

Definition at line 308 of file qpainterpath_p.h.

◆ isClosed()

bool QPainterPathPrivate::isClosed ( ) const
inline

Definition at line 254 of file qpainterpath_p.h.

◆ maybeMoveTo()

void QPainterPathPrivate::maybeMoveTo ( )
inline

Definition at line 278 of file qpainterpath_p.h.

◆ operator=()

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

◆ vectorPath()

const QVectorPath & QPainterPathPrivate::vectorPath ( )
inline

Definition at line 183 of file qpainterpath_p.h.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 2409 of file qpainterpath.cpp.

◆ operator>>

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

Definition at line 2436 of file qpainterpath.cpp.

◆ QPainterPath

friend class QPainterPath
friend

Definition at line 98 of file qpainterpath_p.h.

◆ QPainterPathPrivateDeleter

friend struct QPainterPathPrivateDeleter
friend

Definition at line 103 of file qpainterpath_p.h.

◆ QPainterPathStroker

friend class QPainterPathStroker
friend

Definition at line 99 of file qpainterpath_p.h.

◆ QPainterPathStrokerPrivate

friend class QPainterPathStrokerPrivate
friend

Definition at line 100 of file qpainterpath_p.h.

◆ QTransform

friend class QTransform
friend

Definition at line 101 of file qpainterpath_p.h.

◆ QVectorPath

friend class QVectorPath
friend

Definition at line 102 of file qpainterpath_p.h.


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