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

int QFont::pointSize (  )  const

Returns the point size of the font. Returns -1 if the font size was specified in pixels.

See also:
setPointSize() pointSizeF()

Definition at line 620 of file qfont.cpp.

Referenced by QAbstractFormBuilder::createProperty(), QPlastiqueStyle::drawControl(), QRasterPaintEngine::drawTextItem(), Q3StyleSheet::scaleFont(), QPainter::setFont(), QFontDialog::setFont(), QTextEdit::zoomIn(), Q3TextEdit::zoomIn(), and Q3TextEdit::zoomOut().

    return qRound(d->request.pointSize);

Generated by  Doxygen 1.6.0   Back to index