GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
ft_render::ft_font Class Reference
Collaboration diagram for ft_render::ft_font:
Collaboration graph
[legend]

Public Member Functions

 ft_font (void)
 
 ft_font (const std::string &nm, const std::string &wt, const std::string &ang, double sz, FT_Face f=0)
 
 ft_font (const ft_font &ft)
 
 ~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)
 

Private Attributes

std::string angle
 
FT_Face face
 
std::string name
 
double size
 
std::string weight
 

Detailed Description

Definition at line 118 of file txt-eng-ft.h.

Constructor & Destructor Documentation

ft_render::ft_font::ft_font ( void  )
inline

Definition at line 121 of file txt-eng-ft.h.

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

Definition at line 124 of file txt-eng-ft.h.

ft_render::ft_font::ft_font ( const ft_font ft)

Definition at line 1029 of file txt-eng-ft.cc.

References face, and get_face().

ft_render::ft_font::~ft_font ( void  )
inline

Definition at line 130 of file txt-eng-ft.h.

Member Function Documentation

std::string ft_render::ft_font::get_angle ( void  ) const
inline

Definition at line 144 of file txt-eng-ft.h.

Referenced by ft_render::visit().

FT_Face ft_render::ft_font::get_face ( void  ) const
std::string ft_render::ft_font::get_name ( void  ) const
inline

Definition at line 140 of file txt-eng-ft.h.

Referenced by ft_render::visit().

double ft_render::ft_font::get_size ( void  ) const
inline

Definition at line 146 of file txt-eng-ft.h.

References size().

Referenced by ft_render::visit().

std::string ft_render::ft_font::get_weight ( void  ) const
inline

Definition at line 142 of file txt-eng-ft.h.

Referenced by ft_render::visit().

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

Definition at line 138 of file txt-eng-ft.h.

Referenced by ft_render::visit().

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

Definition at line 1042 of file txt-eng-ft.cc.

References angle, get_face(), name, size(), size, and weight.

Member Data Documentation

std::string ft_render::ft_font::angle
private

Definition at line 153 of file txt-eng-ft.h.

Referenced by operator=().

FT_Face ft_render::ft_font::face
mutableprivate

Definition at line 155 of file txt-eng-ft.h.

Referenced by ft_font().

std::string ft_render::ft_font::name
private

Definition at line 151 of file txt-eng-ft.h.

Referenced by operator=().

double ft_render::ft_font::size
private

Definition at line 154 of file txt-eng-ft.h.

Referenced by operator=().

std::string ft_render::ft_font::weight
private

Definition at line 152 of file txt-eng-ft.h.

Referenced by operator=().


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