GNU Octave  9.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"

Public Member Functions

 font ()
 
 font (const font &ft)
 
 font (const std::string &nm, const std::string &wt, const std::string &ang, double sz)
 
 ~font ()=default
 
std::string get_angle () const
 
std::string get_name () const
 
double get_size () const
 
std::string get_weight () 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 78 of file text-renderer.h.

Constructor & Destructor Documentation

◆ font() [1/3]

text_renderer::font::font ( )
inline

Definition at line 82 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 86 of file text-renderer.h.

◆ font() [3/3]

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

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

◆ ~font()

text_renderer::font::~font ( )
default

Member Function Documentation

◆ get_angle()

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

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

◆ get_name()

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

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

◆ get_size()

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

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

◆ get_weight()

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

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

◆ operator=()

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

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

References m_angle, m_name, m_size, and m_weight.

Member Data Documentation

◆ m_angle

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

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

Referenced by operator=().

◆ m_name

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

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

Referenced by operator=().

◆ m_size

double text_renderer::font::m_size
protected

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

Referenced by operator=().

◆ m_weight

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

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

Referenced by operator=().


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