AnimatLab  2
Test
StdFont.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace StdUtils
10 {
17 class STD_UTILS_PORT CStdFont
18 {
19 public:
21  std::string m_strName;
22 
24  float m_fltSize;
25 
27  float m_fltWeight;
28 
30  bool m_bBold;
31 
33  bool m_bItalic;
34 
37 
40 
41 public:
42  CStdFont();
43  virtual ~CStdFont();
44 
45  virtual void Load(CStdXml &oXml, std::string strParamName, bool bThrowError = false);
46  virtual void Save(CStdXml &oXml, std::string strParamName);
47 };
48 
49 } //StdUtils
50 
bool m_bBold
true for bold font.
Definition: StdFont.h:30
float m_fltSize
Size of the font.
Definition: StdFont.h:24
bool m_bStrikethrough
true for Strikethrough font.
Definition: StdFont.h:36
std::string m_strName
Name of the font.
Definition: StdFont.h:21
bool m_bUnderline
true for Underline font.
Definition: StdFont.h:39
A standard xml manipulation class.
Definition: StdXml.h:19
float m_fltWeight
The weight of the font.
Definition: StdFont.h:27
bool m_bItalic
true for italic font.
Definition: StdFont.h:33
Namespace for the standard utility objects.
Definition: MarkupSTL.cpp:19
Standard font.
Definition: StdFont.h:17