GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
text_element_symbol Class Reference

#include "text-engine.h"

Inheritance diagram for text_element_symbol:
Collaboration diagram for text_element_symbol:

Public Types

enum  { invalid_code = 0xFFFFFFFFU }
 

Public Member Functions

 text_element_symbol (int sym)
 
 ~text_element_symbol (void)=default
 
void accept (text_processor &p)
 
int get_symbol (void) const
 
uint32_t get_symbol_code (void) const
 

Private Attributes

int m_symbol
 

Detailed Description

Definition at line 91 of file text-engine.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
invalid_code 

Definition at line 96 of file text-engine.h.

Constructor & Destructor Documentation

◆ text_element_symbol()

text_element_symbol::text_element_symbol ( int  sym)
inline

Definition at line 98 of file text-engine.h.

◆ ~text_element_symbol()

text_element_symbol::~text_element_symbol ( void  )
default

Member Function Documentation

◆ accept()

void text_element_symbol::accept ( text_processor p)
inlinevirtual

Implements text_element.

Definition at line 379 of file text-engine.h.

◆ get_symbol()

int text_element_symbol::get_symbol ( void  ) const
inline

Definition at line 103 of file text-engine.h.

Referenced by ft_text_renderer::visit().

◆ get_symbol_code()

uint32_t text_element_symbol::get_symbol_code ( void  ) const

Definition at line 36 of file text-engine.cc.

References invalid_code, m_symbol, num_symbol_codes, and symbol_codes.

Referenced by ft_text_renderer::visit().

Member Data Documentation

◆ m_symbol

int text_element_symbol::m_symbol
private

Definition at line 110 of file text-engine.h.

Referenced by get_symbol_code().


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