|
| void | KoSvgTextShapeLayoutFunc::addWordToLine (QVector< CharacterResult > &result, QPointF ¤tPos, QVector< int > &wordIndices, LineBox ¤tLine, bool ltr, bool isHorizontal) |
| | addWordToLine Small function used in break lines to quickly add a 'word' to the current line. Returns the last added index.
|
| |
| static void | KoSvgTextShapeLayoutFunc::applyInlineSizeAnchoring (QVector< CharacterResult > &result, LineChunk &chunk, const KoSvgText::TextAnchor anchor, const QPointF anchorPoint, const bool ltr, const bool isHorizontal, const QPointF textIndent, const KoSvgText::ResolutionHandler &resHandler) |
| |
| QVector< LineBox > | KoSvgTextShapeLayoutFunc::breakLines (const KoSvgTextProperties &properties, const QMap< int, int > &logicalToVisual, QVector< CharacterResult > &result, QPointF startPos, const KoSvgText::ResolutionHandler &resHandler) |
| |
| void | KoSvgTextShapeLayoutFunc::calculateLineHeight (CharacterResult cr, double &ascent, double &descent, bool isHorizontal, bool compare) |
| | calculateLineHeight calculate the total ascent and descent (including baseline-offset) of a charResult and optionally only return it if it is larger than the provided ascent and descent variable. This is necessary for proper line-height calculation.
|
| |
| void | KoSvgTextShapeLayoutFunc::finalizeLine (QVector< CharacterResult > &result, QPointF ¤tPos, LineBox ¤tLine, QPointF &lineOffset, const KoSvgText::TextAnchor anchor, const KoSvgText::WritingMode writingMode, const bool ltr, const bool inlineSize, const bool textInShape, const KoSvgText::ResolutionHandler &resHandler) |
| |
| static void | KoSvgTextShapeLayoutFunc::handleCollapseAndHang (QVector< CharacterResult > &result, LineChunk &chunk, bool ltr, bool isHorizontal) |
| |
| static QPointF | KoSvgTextShapeLayoutFunc::lineHeightOffset (KoSvgText::WritingMode writingMode, QVector< CharacterResult > &result, LineBox ¤tLine, const bool firstLine, const KoSvgText::ResolutionHandler resHandler) |
| |