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>

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

Friends

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

Detailed Description

Definition at line 95 of file qpainterpath_p.h.

Member Enumeration Documentation

◆ TrimFlags

Enumerator
TrimStart 
TrimEnd 

Definition at line 160 of file qpainterpath_p.h.

Constructor & Destructor Documentation

◆ QPainterPathPrivate() [1/3]

QPainterPathPrivate::QPainterPathPrivate ( )
inlinenoexcept

Definition at line 108 of file qpainterpath_p.h.

◆ QPainterPathPrivate() [2/3]

QPainterPathPrivate::QPainterPathPrivate ( QPointF startPoint)
inline

Definition at line 118 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 131 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 3356 of file qpainterpath.cpp.

◆ appendEndOfElement()

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

Definition at line 169 of file qpainterpath_p.h.

◆ appendSliceOfElement()

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

Definition at line 173 of file qpainterpath_p.h.

◆ appendStartOfElement()

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

Definition at line 165 of file qpainterpath_p.h.

◆ appendTrimmedElement()

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

Definition at line 3317 of file qpainterpath.cpp.

◆ bezierAtT()

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

Definition at line 3067 of file qpainterpath.cpp.

◆ clear()

void QPainterPathPrivate::clear ( )
inline

Definition at line 283 of file qpainterpath_p.h.

◆ close()

void QPainterPathPrivate::close ( )
inline

Definition at line 257 of file qpainterpath_p.h.

◆ computeRunLengths()

void QPainterPathPrivate::computeRunLengths ( )

Definition at line 3654 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 310 of file qpainterpath_p.h.

◆ elementAtT()

int QPainterPathPrivate::elementAtT ( qreal t)
inline

Definition at line 318 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 301 of file qpainterpath_p.h.

◆ isClosed()

bool QPainterPathPrivate::isClosed ( ) const
inline

Definition at line 250 of file qpainterpath_p.h.

◆ maybeMoveTo()

void QPainterPathPrivate::maybeMoveTo ( )
inline

Definition at line 273 of file qpainterpath_p.h.

◆ operator=()

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

◆ vectorPath()

const QVectorPath & QPainterPathPrivate::vectorPath ( )
inline

Definition at line 179 of file qpainterpath_p.h.

◆ operator<<

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

Definition at line 2420 of file qpainterpath.cpp.

◆ operator>>

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

Definition at line 2447 of file qpainterpath.cpp.

◆ QPainterPath

friend class QPainterPath
friend

Definition at line 98 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: