FontXML.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _FontXML_H_
15 #define _FontXML_H_
16 
17 #include "BaseXML.h"
18 
19 #include "axes/AxesType.h"
20 
21 namespace hippodraw {
22 
23 class FontBase;
24 
30 class MDL_HIPPOPLOT_API FontXML : virtual public BaseXML
31 {
32 
33 private:
34 
36  static FontXML * s_instance;
37 
40  std::string m_family;
41 
44  std::string m_italic;
45 
48  std::string m_size;
49 
52  std::string m_weight;
53 
55  FontXML ( const FontXML & );
56 
57 
58 public:
59 
62  FontXML ( XmlController * controller );
63 
66  void setAttributes ( XmlElement &, const FontBase & );
67 
70  hippodraw::Axes::Type getAxis ( const XmlElement * element,
71  const std::string & tagname );
72 
76  void setAttributes ( const XmlElement * element, FontBase * font );
77 
78 };
79 
80 } // namespace hippodraw
81 
82 #endif // _FontXML_H_

Generated for HippoDraw Class Library by doxygen