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

#include "text-engine.h"

Inheritance diagram for octave::text_element_fontname:
Collaboration diagram for octave::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 name
 

Detailed Description

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

Constructor & Destructor Documentation

◆ text_element_fontname() [1/2]

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

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

◆ ~text_element_fontname()

octave::text_element_fontname::~text_element_fontname ( void  )
default

◆ text_element_fontname() [2/2]

octave::text_element_fontname::text_element_fontname ( void  )
private

Member Function Documentation

◆ accept()

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

Implements octave::text_element.

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

◆ get_fontname()

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

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

References name.

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

Member Data Documentation

◆ name

std::string octave::text_element_fontname::name
private

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


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