Qt 4.8
Public Functions | Public Variables | List of all members
QVectorPathCmd Struct Reference

#include <qpaintbuffer_p.h>

Public Functions

const QVectorPathoperator() () const
 
 QVectorPathCmd (QPaintBufferPrivate *d, const QPaintBufferCommand &cmd)
 

Public Variables

QVectorPath vectorPath
 

Detailed Description

Definition at line 302 of file qpaintbuffer_p.h.

Constructors and Destructors

◆ QVectorPathCmd()

QVectorPathCmd::QVectorPathCmd ( QPaintBufferPrivate d,
const QPaintBufferCommand cmd 
)
inline

Definition at line 305 of file qpaintbuffer_p.h.

306  : vectorPath(d->floats.constData() + cmd.offset,
307  cmd.size,
308  cmd.offset2 & 0x80000000
309  ? 0
310  : (const QPainterPath::ElementType *) (d->ints.constData() + cmd.offset2 + 1),
311  *(d->ints.constData() + (cmd.offset2 & 0x7fffffff))) {}
ElementType
This enum describes the types of elements used to connect vertices in subpaths.
Definition: qpainterpath.h:70
QVector< int > ints
QVectorPath vectorPath
const T * constData() const
Returns a const pointer to the data stored in the vector.
Definition: qvector.h:154
QVector< qreal > floats

Functions

◆ operator()()

const QVectorPath& QVectorPathCmd::operator() ( ) const
inline

Definition at line 313 of file qpaintbuffer_p.h.

313 { return vectorPath; }
QVectorPath vectorPath

Properties

◆ vectorPath

QVectorPath QVectorPathCmd::vectorPath

Definition at line 315 of file qpaintbuffer_p.h.


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