|
Krita Source Code Documentation
|
#include "KoSvgTextShape.h"#include "KoSvgTextShape_p.h"#include "KoSvgTextShapeLayoutFunc.h"#include "KoCssTextUtils.h"#include "KoFontLibraryResourceUtils.h"#include "KoFontRegistry.h"#include "KoSvgTextProperties.h"#include "KoColorBackground.h"#include "KoWritingSystemUtils.h"#include <FlakeDebug.h>#include <KoPathShape.h>#include <kis_global.h>#include <QPainterPath>#include <QtMath>#include <variant>#include <graphemebreak.h>#include <wordbreak.h>#include <linebreak.h>#include <ft2build.h>#include <hb.h>#include <hb-ft.h>#include <hb-ot.h>#include <raqm.h>Go to the source code of this file.
Typedefs | |
| using | raqm_t_sp = KisLibraryResourcePointer<raqm_t, raqm_destroy> |
Functions | |
| QPair< QPainterPath, QPointF > | generateDecorationPath (const QLineF length, const qreal strokeWidth, const KoSvgText::TextDecorationStyle style, const bool isHorizontal, const bool onTextPath, const qreal minimumDecorationThickness) |
| QString | langToLibUnibreakLang (const QString lang) |
| static QMap< int, int > | logicalToVisualCursorPositions (const QVector< CursorPos > &cursorPos, const QVector< CharacterResult > &result, const QVector< LineBox > &lines, const bool <r=false) |
| logicalToVisualCursorPositions Create a map that sorts the cursor positions by the visual index of the cluster. | |
Variables | |
| const QString | bidiControls = "\u202a\u202b\u202c\u202d\u202e\u2066\u2067\u2068\u2069" |
| KoSvgTextShape::Private::resolveTransforms This resolves transforms and applies whitespace collapse. | |
| using raqm_t_sp = KisLibraryResourcePointer<raqm_t, raqm_destroy> |
Definition at line 43 of file KoSvgTextShape_p_layout.cpp.
| QPair< QPainterPath, QPointF > generateDecorationPath | ( | const QLineF | length, |
| const qreal | strokeWidth, | ||
| const KoSvgText::TextDecorationStyle | style, | ||
| const bool | isHorizontal, | ||
| const bool | onTextPath, | ||
| const qreal | minimumDecorationThickness ) |
Definition at line 1324 of file KoSvgTextShape_p_layout.cpp.
References KoSvgText::Double, length(), p, and KoSvgText::Wavy.
| QString langToLibUnibreakLang | ( | const QString | lang | ) |
Definition at line 95 of file KoSvgTextShape_p_layout.cpp.
References KoWritingSystemUtils::localeFromBcp47Locale().
|
static |
logicalToVisualCursorPositions Create a map that sorts the cursor positions by the visual index of the cluster.
Definition at line 55 of file KoSvgTextShape_p_layout.cpp.
References LineChunk::chunkIndices.
| const QString bidiControls = "\u202a\u202b\u202c\u202d\u202e\u2066\u2067\u2068\u2069" |
KoSvgTextShape::Private::resolveTransforms This resolves transforms and applies whitespace collapse.
Definition at line 857 of file KoSvgTextShape_p_layout.cpp.