NAME
Qt::Gui::QTextLine
PUBLIC METHODS
- QTextLine()
- qreal ascent()
- qreal cursorToX(int * cursorPos, QTextLine::Edge edge = QTextLine::Leading)
- qreal cursorToX(int * cursorPos, QTextLine::Edge edge)
- qreal cursorToX(int cursorPos, QTextLine::Edge edge = QTextLine::Leading)
- qreal cursorToX(int cursorPos, QTextLine::Edge edge)
- qreal descent()
- void draw(QPainter * p, const QPointF & point, const QTextLayout::FormatRange * selection = 0)
- void draw(QPainter * p, const QPointF & point, const QTextLayout::FormatRange * selection)
- qreal height()
- bool isValid()
- qreal leading()
- bool leadingIncluded()
- int lineNumber()
- QRectF naturalTextRect()
- qreal naturalTextWidth()
- QPointF position()
- QRectF rect()
- void setLeadingIncluded(bool included)
- void setLineWidth(qreal width)
- void setNumColumns(int columns)
- void setNumColumns(int columns, qreal alignmentWidth)
- void setPosition(const QPointF & pos)
- int textLength()
- int textStart()
- qreal width()
- qreal x()
- int xToCursor(qreal x, QTextLine::CursorPosition arg1 = QTextLine::CursorBetweenCharacters)
- int xToCursor(qreal x, QTextLine::CursorPosition arg1)
- qreal y()
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.