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

#include "text-engine.h"

Inheritance diagram for octave::text_element_fontstyle:
Collaboration diagram for octave::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 style
 

Detailed Description

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

Member Enumeration Documentation

◆ fontstyle

Enumerator
normal 
bold 
italic 
oblique 

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

Constructor & Destructor Documentation

◆ text_element_fontstyle() [1/2]

octave::text_element_fontstyle::text_element_fontstyle ( fontstyle  st)
inline

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

◆ ~text_element_fontstyle()

octave::text_element_fontstyle::~text_element_fontstyle ( void  )
default

◆ text_element_fontstyle() [2/2]

octave::text_element_fontstyle::text_element_fontstyle ( void  )
private

Member Function Documentation

◆ accept()

void octave::text_element_fontstyle::accept ( text_processor p)
inlinevirtual

Implements octave::text_element.

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

◆ get_fontstyle()

fontstyle octave::text_element_fontstyle::get_fontstyle ( void  ) const
inline

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

Referenced by octave::ft_text_renderer::visit().

Member Data Documentation

◆ style

fontstyle octave::text_element_fontstyle::style
private

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


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