#include <qpainterpath.h>
Definition at line 237 of file qpainterpath.h.
◆ operator<<
Definition at line 2509 of file qpainterpath.cpp.
2517 for (
int i=0; i < p.
d_func()->elements.size(); ++i) {
2520 s << double(e.
x) << double(e.
y);
ElementType type
the type of element
The QPainterPath::Element class specifies the position and type of a subpath.
bool isEmpty() const
Returns true if either there are no elements in this path, or if the only element is a MoveToElement;...
qreal y
the y coordinate of the element's position.
QPainterPathData * d_func() const
qreal x
the x coordinate of the element's position.
int elementCount() const
Returns the number of path elements in the painter path.
◆ operator>>
Definition at line 2539 of file qpainterpath.cpp.
2548 if (p.
d_func()->elements.size() == 1) {
2550 p.
d_func()->elements.clear();
2552 p.
d_func()->elements.reserve(p.
d_func()->elements.size() + size);
2553 for (
int i=0; i<size; ++i) {
2562 qWarning(
"QDataStream::operator>>: NaN or Inf element found in path, skipping it");
2567 p.
d_func()->elements.append(elm);
The QPainterPath::Element class specifies the position and type of a subpath.
ElementType
This enum describes the types of elements used to connect vertices in subpaths.
QPainterPathData * d_func() const
Q_CORE_EXPORT void qWarning(const char *,...)
static bool qt_is_finite(double d)
◆ QMatrix
◆ QPainterPath
◆ QPainterPathData
◆ QPainterPathPrivateDeleter
◆ QPainterPathStroker
◆ QPainterPathStrokerPrivate
◆ QTransform
◆ QVectorPath
◆ elements
◆ ref
The documentation for this class was generated from the following file: