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

#include "text-renderer.h"

Inheritance diagram for text_renderer::font:
Collaboration diagram for text_renderer::font:

Public Member Functions

 font (const font &ft)
 
 font (const std::string &nm, const std::string &wt, const std::string &ang, double sz)
 
 font (void)
 
 ~font (void)=default
 
std::string get_angle (void) const
 
std::string get_name (void) const
 
double get_size (void) const
 
std::string get_weight (void) const
 
fontoperator= (const font &ft)
 

Protected Attributes

std::string m_angle
 
std::string m_name
 
double m_size
 
std::string m_weight
 

Detailed Description

Definition at line 82 of file text-renderer.h.

Constructor & Destructor Documentation

◆ font() [1/3]

text_renderer::font::font ( void  )
inline

Definition at line 86 of file text-renderer.h.

◆ font() [2/3]

text_renderer::font::font ( const std::string &  nm,
const std::string &  wt,
const std::string &  ang,
double  sz 
)
inline

Definition at line 90 of file text-renderer.h.

◆ font() [3/3]

text_renderer::font::font ( const font ft)
inline

Definition at line 95 of file text-renderer.h.

◆ ~font()

text_renderer::font::~font ( void  )
default

Member Function Documentation

◆ get_angle()

std::string text_renderer::font::get_angle ( void  ) const
inline

◆ get_name()

std::string text_renderer::font::get_name ( void  ) const
inline

◆ get_size()

double text_renderer::font::get_size ( void  ) const
inline

◆ get_weight()

std::string text_renderer::font::get_weight ( void  ) const
inline

◆ operator=()

font& text_renderer::font::operator= ( const font ft)
inline

Definition at line 102 of file text-renderer.h.

References m_angle, m_name, m_size, and m_weight.

Referenced by ft_text_renderer::ft_font::operator=().

Member Data Documentation

◆ m_angle

std::string text_renderer::font::m_angle
protected

Definition at line 127 of file text-renderer.h.

Referenced by operator=().

◆ m_name

std::string text_renderer::font::m_name
protected

Definition at line 125 of file text-renderer.h.

Referenced by operator=().

◆ m_size

double text_renderer::font::m_size
protected

Definition at line 128 of file text-renderer.h.

Referenced by operator=().

◆ m_weight

std::string text_renderer::font::m_weight
protected

Definition at line 126 of file text-renderer.h.

Referenced by operator=().


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