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

#include "text-engine.h"

Inheritance diagram for text_element_fontname:
Collaboration diagram for text_element_fontname:

Public Member Functions

 text_element_fontname (const std::string &fname)
 
 ~text_element_fontname (void)=default
 
void accept (text_processor &p)
 
const std::string & get_fontname (void) const
 

Private Member Functions

 text_element_fontname (void)
 

Private Attributes

std::string m_name
 

Detailed Description

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

Constructor & Destructor Documentation

◆ text_element_fontname() [1/2]

text_element_fontname::text_element_fontname ( const std::string &  fname)
inline

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

◆ ~text_element_fontname()

text_element_fontname::~text_element_fontname ( void  )
default

◆ text_element_fontname() [2/2]

text_element_fontname::text_element_fontname ( void  )
private

Member Function Documentation

◆ accept()

void text_element_fontname::accept ( text_processor p)
inlinevirtual

Implements text_element.

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

◆ get_fontname()

const std::string& text_element_fontname::get_fontname ( void  ) const
inline

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

Referenced by ft_text_renderer::visit().

Member Data Documentation

◆ m_name

std::string text_element_fontname::m_name
private

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


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