Krita Source Code Documentation
Loading...
Searching...
No Matches
CursorInfo Struct Reference

#include <KoSvgTextShape_p.h>

Public Attributes

QLineF caret
 Caret for this characterResult.
 
QColor color
 Which color the current position has.
 
QVector< int > graphemeIndices
 The text-string indices of graphemes starting here, starting grapheme is not present.
 
bool isWordBoundary = false
 
QVector< QPointF > offsets
 The advance offsets for each grapheme index.
 
bool rtl = false
 Whether the current glyph is right-to-left, as opposed to the markup.
 

Detailed Description

Definition at line 53 of file KoSvgTextShape_p.h.

Member Data Documentation

◆ caret

QLineF CursorInfo::caret

Caret for this characterResult.

Definition at line 54 of file KoSvgTextShape_p.h.

◆ color

QColor CursorInfo::color

Which color the current position has.

Definition at line 59 of file KoSvgTextShape_p.h.

◆ graphemeIndices

QVector<int> CursorInfo::graphemeIndices

The text-string indices of graphemes starting here, starting grapheme is not present.

Definition at line 55 of file KoSvgTextShape_p.h.

◆ isWordBoundary

bool CursorInfo::isWordBoundary = false

Definition at line 58 of file KoSvgTextShape_p.h.

◆ offsets

QVector<QPointF> CursorInfo::offsets

The advance offsets for each grapheme index.

Definition at line 56 of file KoSvgTextShape_p.h.

◆ rtl

bool CursorInfo::rtl = false

Whether the current glyph is right-to-left, as opposed to the markup.

Definition at line 57 of file KoSvgTextShape_p.h.


The documentation for this struct was generated from the following file: