GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::ft_text_renderer::ft_font Class Reference
Inheritance diagram for octave::ft_text_renderer::ft_font:
Collaboration diagram for octave::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 angle
 
std::string name
 
double size
 
std::string weight
 

Private Attributes

FT_Face face
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ft_font() [1/3]

octave::ft_text_renderer::ft_font::ft_font ( void  )
inline

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

◆ ft_font() [2/3]

octave::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 541 of file ft-text-renderer.cc.

◆ ft_font() [3/3]

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

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

References face, and get_face().

◆ ~ft_font()

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

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

Member Function Documentation

◆ get_angle()

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

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

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

◆ get_face()

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

◆ get_name()

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

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

References name.

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

◆ get_size()

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

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

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

◆ get_weight()

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

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

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

◆ is_valid()

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

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

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

◆ operator=()

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

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

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

Member Data Documentation

◆ angle

std::string octave::text_renderer::font::angle
protectedinherited

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

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

◆ face

FT_Face octave::ft_text_renderer::ft_font::face
mutableprivate

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

Referenced by ft_font().

◆ name

std::string octave::text_renderer::font::name
protectedinherited

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

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

◆ size

double octave::text_renderer::font::size
protectedinherited

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

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

◆ weight

std::string octave::text_renderer::font::weight
protectedinherited

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

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


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