Graphic Calculator: FIDocalcus
Проект трёх первокурсников (по инженерному практикуму в первом семестре) по созданию графического калькулятора на FLTK C++
Loading...
Searching...
No Matches
Graph_lib::Font Class Reference

#include <Shapes.h>

Public Types

enum  Font_type {
  helvetica = FL_HELVETICA , helvetica_bold = FL_HELVETICA_BOLD , helvetica_italic = FL_HELVETICA_ITALIC , helvetica_bold_italic = FL_HELVETICA_BOLD_ITALIC ,
  courier = FL_COURIER , courier_bold = FL_COURIER_BOLD , courier_italic = FL_COURIER_ITALIC , courier_bold_italic = FL_COURIER_BOLD_ITALIC ,
  times = FL_TIMES , times_bold = FL_TIMES_BOLD , times_italic = FL_TIMES_ITALIC , times_bold_italic = FL_TIMES_BOLD_ITALIC ,
  symbol = FL_SYMBOL , screen = FL_SCREEN , screen_bold = FL_SCREEN_BOLD , zapf_dingbats = FL_ZAPF_DINGBATS
}
 

Public Member Functions

 Font (Font_type _f)
 
 Font (unsigned int _f)
 
unsigned int as_uint () const
 

Private Attributes

unsigned int f
 

Member Enumeration Documentation

◆ Font_type

Enumerator
helvetica 
helvetica_bold 
helvetica_italic 
helvetica_bold_italic 
courier 
courier_bold 
courier_italic 
courier_bold_italic 
times 
times_bold 
times_italic 
times_bold_italic 
symbol 
screen 
screen_bold 
zapf_dingbats 
113 {
122 times = FL_TIMES,
129 zapf_dingbats = FL_ZAPF_DINGBATS
130 };
@ times_bold_italic
Definition Shapes.h:125
@ zapf_dingbats
Definition Shapes.h:129
@ times_italic
Definition Shapes.h:124
@ courier_bold_italic
Definition Shapes.h:121
@ courier_italic
Definition Shapes.h:120
@ times
Definition Shapes.h:122
@ screen
Definition Shapes.h:127
@ helvetica_italic
Definition Shapes.h:116
@ helvetica
Definition Shapes.h:114
@ helvetica_bold
Definition Shapes.h:115
@ symbol
Definition Shapes.h:126
@ courier_bold
Definition Shapes.h:119
@ times_bold
Definition Shapes.h:123
@ courier
Definition Shapes.h:118
@ screen_bold
Definition Shapes.h:128
@ helvetica_bold_italic
Definition Shapes.h:117
W & reference_to(void *ptr_wid)
Definition Widgets.h:16

Constructor & Destructor Documentation

◆ Font() [1/2]

Graph_lib::Font::Font ( Font_type _f)
inline
132: f{_f} {}
unsigned int f
Definition Shapes.h:145

◆ Font() [2/2]

Graph_lib::Font::Font ( unsigned int _f)
inline
134: f{_f} {}

Member Function Documentation

◆ as_uint()

unsigned int Graph_lib::Font::as_uint ( ) const
inline
138{ return f; }
Here is the caller graph for this function:

Member Data Documentation

◆ f

unsigned int Graph_lib::Font::f
private

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