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

#include "text-renderer.h"

Inheritance diagram for octave::text_renderer::font:
Collaboration diagram for octave::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 angle
 
std::string name
 
double size
 
std::string weight
 

Detailed Description

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

Constructor & Destructor Documentation

◆ font() [1/3]

octave::text_renderer::font::font ( void  )
inline

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

◆ font() [2/3]

octave::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]

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

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

◆ ~font()

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

Member Function Documentation

◆ get_angle()

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

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

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

◆ get_name()

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

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
inline

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
inline

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

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

◆ operator=()

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

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

References angle, name, name, size, and weight.

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

Member Data Documentation

◆ angle

std::string octave::text_renderer::font::angle
protected

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

Referenced by operator=().

◆ name

std::string octave::text_renderer::font::name
protected

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

Referenced by operator=().

◆ size

double octave::text_renderer::font::size
protected

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

Referenced by operator=().

◆ weight

std::string octave::text_renderer::font::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: