GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ft_text_renderer::ft_font Class Reference
Inheritance diagram for ft_text_renderer::ft_font:
Collaboration diagram for ft_text_renderer::ft_font:

Public Member Functions

 ft_font (const ft_font &ft)
 
 ft_font (const std::string &nm, const std::string &wt, const std::string &ang, double sz, FT_Face f=nullptr)
 
 ft_font (void)
 
 ~ft_font (void)
 
std::string get_angle (void) const
 
FT_Face get_face (void) const
 
std::string get_name (void) const
 
double get_size (void) const
 
std::string get_weight (void) const
 
bool is_valid (void) const
 
ft_fontoperator= (const ft_font &ft)
 

Protected Attributes

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

Private Attributes

FT_Face m_face
 

Detailed Description

Definition at line 542 of file ft-text-renderer.cc.

Constructor & Destructor Documentation

◆ ft_font() [1/3]

ft_text_renderer::ft_font::ft_font ( void  )
inline

Definition at line 546 of file ft-text-renderer.cc.

◆ ft_font() [2/3]

ft_text_renderer::ft_font::ft_font ( const std::string &  nm,
const std::string &  wt,
const std::string &  ang,
double  sz,
FT_Face  f = nullptr 
)
inline

Definition at line 549 of file ft-text-renderer.cc.

◆ ft_font() [3/3]

ft_text_renderer::ft_font::ft_font ( const ft_font ft)

Definition at line 1476 of file ft-text-renderer.cc.

References get_face(), and m_face.

◆ ~ft_font()

ft_text_renderer::ft_font::~ft_font ( void  )
inline

Definition at line 556 of file ft-text-renderer.cc.

Member Function Documentation

◆ get_angle()

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

◆ get_face()

FT_Face ft_text_renderer::ft_font::get_face ( void  ) const

◆ get_name()

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

◆ get_size()

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

◆ get_weight()

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

◆ is_valid()

bool ft_text_renderer::ft_font::is_valid ( void  ) const
inline

Definition at line 564 of file ft-text-renderer.cc.

Referenced by ft_text_renderer::visit().

◆ operator=()

ft_text_renderer::ft_font & ft_text_renderer::ft_font::operator= ( const ft_font ft)

Definition at line 1488 of file ft-text-renderer.cc.

References get_face(), and text_renderer::font::operator=().

Member Data Documentation

◆ m_angle

std::string text_renderer::font::m_angle
protectedinherited

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

Referenced by text_renderer::font::operator=().

◆ m_face

FT_Face ft_text_renderer::ft_font::m_face
mutableprivate

Definition at line 570 of file ft-text-renderer.cc.

Referenced by ft_font().

◆ m_name

std::string text_renderer::font::m_name
protectedinherited

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

Referenced by text_renderer::font::operator=().

◆ m_size

double text_renderer::font::m_size
protectedinherited

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

Referenced by text_renderer::font::operator=().

◆ m_weight

std::string text_renderer::font::m_weight
protectedinherited

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

Referenced by text_renderer::font::operator=().


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