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

#include "text-engine.h"

Inheritance diagram for text_element_fontstyle:
Collaboration diagram for text_element_fontstyle:

Public Types

enum  fontstyle { normal , bold , italic , oblique }
 

Public Member Functions

 text_element_fontstyle (fontstyle st)
 
 ~text_element_fontstyle (void)=default
 
void accept (text_processor &p)
 
fontstyle get_fontstyle (void) const
 

Private Member Functions

 text_element_fontstyle (void)
 

Private Attributes

fontstyle m_style
 

Detailed Description

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

Member Enumeration Documentation

◆ fontstyle

Enumerator
normal 
bold 
italic 
oblique 

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

Constructor & Destructor Documentation

◆ text_element_fontstyle() [1/2]

text_element_fontstyle::text_element_fontstyle ( fontstyle  st)
inline

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

◆ ~text_element_fontstyle()

text_element_fontstyle::~text_element_fontstyle ( void  )
default

◆ text_element_fontstyle() [2/2]

text_element_fontstyle::text_element_fontstyle ( void  )
private

Member Function Documentation

◆ accept()

void text_element_fontstyle::accept ( text_processor p)
inlinevirtual

Implements text_element.

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

◆ get_fontstyle()

fontstyle text_element_fontstyle::get_fontstyle ( void  ) const
inline

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

Referenced by ft_text_renderer::visit().

Member Data Documentation

◆ m_style

fontstyle text_element_fontstyle::m_style
private

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


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