AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
aui::detail::NextLineEntry Class Reference

Public Member Functions

 NextLineEntry (IFontView *text)
 
bool forcesNextLine () const override
 
glm::ivec2 getSize () override
 
size_t getCharacterCount () override
 
glm::ivec2 getPosByIndex (size_t characterIndex) override
 
void appendTo (AString &dst) override
 
- Public Member Functions inherited from aui::detail::TextBaseEntry
virtual void erase (size_t begin, AOptional< size_t > end)
 
virtual HitTestResult hitTest (glm::ivec2 position)
 
- Public Member Functions inherited from AWordWrappingEngineBase::Entry
virtual void setPosition (glm::ivec2 position)
 
virtual AFloat getFloat () const
 
bool isFloating () const
 
virtual bool escapesEdges ()
 

Additional Inherited Members

- Public Types inherited from aui::detail::TextBaseEntry
using HitTestResult = std::variant< std::nullopt_t, size_t, StopLineScanningHint >
 

Member Function Documentation

◆ appendTo()

void aui::detail::NextLineEntry::appendTo ( AString dst)
inlineoverridevirtual

◆ forcesNextLine()

bool aui::detail::NextLineEntry::forcesNextLine ( ) const
inlineoverridevirtual

Reimplemented from AWordWrappingEngineBase::Entry.

◆ getCharacterCount()

size_t aui::detail::NextLineEntry::getCharacterCount ( )
inlineoverridevirtual

◆ getPosByIndex()

glm::ivec2 aui::detail::NextLineEntry::getPosByIndex ( size_t  characterIndex)
inlineoverridevirtual

◆ getSize()

glm::ivec2 aui::detail::NextLineEntry::getSize ( )
inlineoverridevirtual

The documentation for this class was generated from the following file:
Inheritance diagram for aui::detail::NextLineEntry:
Collaboration diagram for aui::detail::NextLineEntry: