g4tools  5.4.0
Public Types | Public Member Functions | Public Attributes | List of all members
tools::sg::hchar Class Reference

Public Types

enum  e_move { none, up, down }
 

Public Member Functions

 hchar ()
 
virtual ~hchar ()
 
 hchar (const hchar &aFrom)
 
hcharoperator= (const hchar &aFrom)
 

Public Attributes

char m_char
 
font_type m_font
 
e_move m_y_move
 
bool m_back
 
bool m_bar
 
bool m_cr
 

Detailed Description

Definition at line 23 of file text_hershey.

Member Enumeration Documentation

◆ e_move

Enumerator
none 
up 
down 

Definition at line 68 of file text_hershey.

68  {
69  none,
70  up,
71  down
72  };

Constructor & Destructor Documentation

◆ hchar() [1/2]

tools::sg::hchar::hchar ( )
inline

Definition at line 28 of file text_hershey.

29  :m_char(0)
31  ,m_y_move(none)
32  ,m_back(false)
33  ,m_bar(false)
34  ,m_cr(false)
35  {
36 #ifdef TOOLS_MEM
37  mem::increment(s_class().c_str());
38 #endif
39  }

◆ ~hchar()

virtual tools::sg::hchar::~hchar ( )
inlinevirtual

Definition at line 40 of file text_hershey.

40  {
41 #ifdef TOOLS_MEM
42  mem::decrement(s_class().c_str());
43 #endif
44  }

◆ hchar() [2/2]

tools::sg::hchar::hchar ( const hchar aFrom)
inline

Definition at line 46 of file text_hershey.

47  :m_char(aFrom.m_char)
48  ,m_font(aFrom.m_font)
49  ,m_y_move(aFrom.m_y_move)
50  ,m_back(aFrom.m_back)
51  ,m_bar(aFrom.m_bar)
52  ,m_cr(aFrom.m_cr)
53  {
54 #ifdef TOOLS_MEM
55  mem::increment(s_class().c_str());
56 #endif
57  }

Member Function Documentation

◆ operator=()

hchar& tools::sg::hchar::operator= ( const hchar aFrom)
inline

Definition at line 58 of file text_hershey.

58  {
59  m_char = aFrom.m_char;
60  m_font = aFrom.m_font;
61  m_y_move = aFrom.m_y_move;
62  m_back = aFrom.m_back;
63  m_bar = aFrom.m_bar;
64  m_cr = aFrom.m_cr;
65  return *this;
66  }

Member Data Documentation

◆ m_back

bool tools::sg::hchar::m_back

Definition at line 77 of file text_hershey.

◆ m_bar

bool tools::sg::hchar::m_bar

Definition at line 78 of file text_hershey.

◆ m_char

char tools::sg::hchar::m_char

Definition at line 74 of file text_hershey.

◆ m_cr

bool tools::sg::hchar::m_cr

Definition at line 79 of file text_hershey.

◆ m_font

font_type tools::sg::hchar::m_font

Definition at line 75 of file text_hershey.

◆ m_y_move

e_move tools::sg::hchar::m_y_move

Definition at line 76 of file text_hershey.


The documentation for this class was generated from the following file:
tools::sg::hchar::m_cr
bool m_cr
Definition: text_hershey:79
tools::sg::hchar::m_font
font_type m_font
Definition: text_hershey:75
tools::sg::hchar::m_y_move
e_move m_y_move
Definition: text_hershey:76
tools::sg::latin
@ latin
Definition: enums:86
tools::sg::hchar::none
@ none
Definition: text_hershey:69
tools::sg::hchar::m_bar
bool m_bar
Definition: text_hershey:78
tools::sg::hchar::m_char
char m_char
Definition: text_hershey:74
tools::sg::hchar::up
@ up
Definition: text_hershey:70
tools::sg::hchar::m_back
bool m_back
Definition: text_hershey:77
tools::sg::hchar::down
@ down
Definition: text_hershey:71