Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QPainterPath::ensureData_helper (  )  [private]

For internal use only.

Definition at line 544 of file qpainterpath.cpp.

{
    QPainterPathPrivate *data = new QPainterPathData;
    data->elements.reserve(16);
    QPainterPath::Element e = { 0, 0, QPainterPath::MoveToElement };
    data->elements << e;
    if (d_ptr && !d_ptr->ref.deref())
        delete d_ptr;
    d_ptr = data;
    Q_ASSERT(d_ptr != 0);
}


Generated by  Doxygen 1.6.0   Back to index