Kanzi 4.0.0-beta2
kanzi::TextShaperState Class Reference

Wrapper for the internal state of the TextShaper. More...

#include <kanzi/core.ui/text/text_shaper.hpp>

Public Member Functions

TextShaperStateoperator= (const TextShaperState &)=delete
 
TextShaperStateoperator= (TextShaperState &&other) noexcept=delete
 
 TextShaperState ()=default
 
 TextShaperState (const TextShaperState &)=delete
 
 TextShaperState (TextShaperState &&) noexcept=delete
 
virtual ~TextShaperState ()=default
 

Public Attributes

uint8_t m_baseBiDiLevel
 

Detailed Description

Wrapper for the internal state of the TextShaper.

TextShaper maintains internal data across various stages of the text layout process. TextShaperState allows saving and restoring the TextShaper state, enabling the layout process to resume from any stage. For example, after computing the bidirectional levels and shaping text, you can cache the state and reuse it when laying out the same text under different constraints.

See also
TextShaper::saveShaperState(), TextShaper::loadShaperState()
Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ ~TextShaperState()

virtual kanzi::TextShaperState::~TextShaperState ( )
virtualdefault

◆ TextShaperState() [1/3]

kanzi::TextShaperState::TextShaperState ( )
explicitdefault

◆ TextShaperState() [2/3]

kanzi::TextShaperState::TextShaperState ( const TextShaperState & )
delete

◆ TextShaperState() [3/3]

kanzi::TextShaperState::TextShaperState ( TextShaperState && )
deletenoexcept

Member Function Documentation

◆ operator=() [1/2]

TextShaperState & kanzi::TextShaperState::operator= ( const TextShaperState & )
delete

◆ operator=() [2/2]

TextShaperState & kanzi::TextShaperState::operator= ( TextShaperState && other)
deletenoexcept

Member Data Documentation

◆ m_baseBiDiLevel

uint8_t kanzi::TextShaperState::m_baseBiDiLevel

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