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

#include <KoSvgTextShape_p.h>

Public Member Functions

 SubChunk (KisForest< KoSvgTextContentElement >::child_iterator leaf)
 

Public Attributes

KisForest< KoSvgTextContentElement >::child_iterator associatedLeaf
 
QSharedPointer< KoShapeBackgroundbg
 
bool firstTextInPath = false
 
KoSvgTextProperties inheritedProps
 
QVector< QPair< int, int > > newToOldPositions
 For transformed strings, we need to know which.
 
QString originalText
 
QString text
 
bool textInPath = false
 

Detailed Description

A representation of a single leaf of the KisForest<KoTextContentElement>

Definition at line 414 of file KoSvgTextShape_p.h.

Constructor & Destructor Documentation

◆ SubChunk()

SubChunk::SubChunk ( KisForest< KoSvgTextContentElement >::child_iterator leaf)
inline

Definition at line 416 of file KoSvgTextShape_p.h.

416 :
417 associatedLeaf(leaf){
418
419 }
KisForest< KoSvgTextContentElement >::child_iterator associatedLeaf

Member Data Documentation

◆ associatedLeaf

KisForest<KoSvgTextContentElement>::child_iterator SubChunk::associatedLeaf

Definition at line 423 of file KoSvgTextShape_p.h.

◆ bg

Definition at line 429 of file KoSvgTextShape_p.h.

◆ firstTextInPath

bool SubChunk::firstTextInPath = false

We need to mark the first text in path as an anchored chunk. original index matches which new index;

Definition at line 426 of file KoSvgTextShape_p.h.

◆ inheritedProps

KoSvgTextProperties SubChunk::inheritedProps

Definition at line 428 of file KoSvgTextShape_p.h.

◆ newToOldPositions

QVector<QPair<int, int> > SubChunk::newToOldPositions

For transformed strings, we need to know which.

Definition at line 424 of file KoSvgTextShape_p.h.

◆ originalText

QString SubChunk::originalText

Definition at line 422 of file KoSvgTextShape_p.h.

◆ text

QString SubChunk::text

Definition at line 421 of file KoSvgTextShape_p.h.

◆ textInPath

bool SubChunk::textInPath = false

Definition at line 425 of file KoSvgTextShape_p.h.


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