|
Krita Source Code Documentation
|
The KoSvgTextCharacterInfo class This is a small struct to convey information about character positioning inside a textShape. It's functionally a simplified readonly version of CharacterResult inside the TextShape. More...
#include <KoSvgTextShape.h>
Static Public Member Functions | |
| static bool | logicalLessThan (const KoSvgTextCharacterInfo &a, const KoSvgTextCharacterInfo &b) |
| static bool | visualLessThan (const KoSvgTextCharacterInfo &a, const KoSvgTextCharacterInfo &b) |
Public Attributes | |
| QPointF | advance |
| QPointF | finalPos |
| int | logicalIndex = -1 |
| KoSvgText::FontMetrics | metrics |
| <Whether the character is in the middle of a cluster. | |
| bool | middle = false |
| qreal | rotateDeg |
| bool | rtl = false |
| int | visualIndex = -1 |
The KoSvgTextCharacterInfo class This is a small struct to convey information about character positioning inside a textShape. It's functionally a simplified readonly version of CharacterResult inside the TextShape.
Currently used for character transform adjustments.
Definition at line 771 of file KoSvgTextShape.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 782 of file KoSvgTextShape.h.
References logicalIndex, and visualIndex.
| QPointF KoSvgTextCharacterInfo::advance |
Definition at line 773 of file KoSvgTextShape.h.
| QPointF KoSvgTextCharacterInfo::finalPos |
Definition at line 772 of file KoSvgTextShape.h.
| int KoSvgTextCharacterInfo::logicalIndex = -1 |
Definition at line 776 of file KoSvgTextShape.h.
| KoSvgText::FontMetrics KoSvgTextCharacterInfo::metrics |
<Whether the character is in the middle of a cluster.
Definition at line 779 of file KoSvgTextShape.h.
| bool KoSvgTextCharacterInfo::middle = false |
Definition at line 778 of file KoSvgTextShape.h.
| qreal KoSvgTextCharacterInfo::rotateDeg |
Definition at line 774 of file KoSvgTextShape.h.
| bool KoSvgTextCharacterInfo::rtl = false |
Definition at line 777 of file KoSvgTextShape.h.
| int KoSvgTextCharacterInfo::visualIndex = -1 |
Definition at line 775 of file KoSvgTextShape.h.