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

void QPainterPath::addText ( qreal  x,
qreal  y,
const QFont font,
const QString text 
) [inline]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Adds the given text to this path as a set of closed subpaths created from the font supplied. The subpaths are positioned so that the left end of the text's baseline lies at the point specified by (x, y).

Definition at line 351 of file qpainterpath.h.

References addText().

    addText(QPointF(x, y), f, text);

Generated by  Doxygen 1.6.0   Back to index