NDEVR
API Documentation
TextBlock

text that is formatted the same way, typically part of a bigger group of text More...

Collaboration diagram for TextBlock:
[legend]

Public Member Functions

bool operator!= (const TextBlock &block) const
 Checks inequality between two TextBlock objects.
bool operator== (const TextBlock &block) const
 Checks equality between two TextBlock objects.

Public Attributes

uint01 alignment = Constant<uint01>::Invalid
 The text alignment flags for this block.
Font font
 The font style applied to this block.
StringAllocatingView text
 The text content of this block.

Detailed Description

text that is formatted the same way, typically part of a bigger group of text


Definition at line 286 of file Font.h.

Member Function Documentation

◆ operator!=()

bool TextBlock::operator!= ( const TextBlock & block) const
inline

Checks inequality between two TextBlock objects.

Parameters
[in]blockThe text block to compare against.
Returns
True if any property differs.

Definition at line 307 of file Font.h.

References alignment, font, and text.

◆ operator==()

bool TextBlock::operator== ( const TextBlock & block) const
inline

Checks equality between two TextBlock objects.

Parameters
[in]blockThe text block to compare against.
Returns
True if text, font, and alignment are all equal.

Definition at line 297 of file Font.h.

References alignment, font, and text.


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