comparison OrthancFramework/Sources/Images/Font.h @ 4297:785a2713323e

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 17:20:49 +0100
parents bf7b9edf6b81
children d9473bd5ed43
comparison
equal deleted inserted replaced
4296:3b70a2e6a06c 4297:785a2713323e
63 int x, 63 int x,
64 int y, 64 int y,
65 const uint8_t color[4]) const; 65 const uint8_t color[4]) const;
66 66
67 public: 67 public:
68 Font() : 68 Font();
69 size_(0),
70 maxHeight_(0)
71 {
72 }
73 69
74 ~Font(); 70 ~Font();
75 71
76 void LoadFromMemory(const std::string& font); 72 void LoadFromMemory(const std::string& font);
77 73
78 #if ORTHANC_SANDBOXED == 0 74 #if ORTHANC_SANDBOXED == 0
79 void LoadFromFile(const std::string& path); 75 void LoadFromFile(const std::string& path);
80 #endif 76 #endif
81 77
82 const std::string& GetName() const 78 const std::string& GetName() const;
83 {
84 return name_;
85 }
86 79
87 unsigned int GetSize() const 80 unsigned int GetSize() const;
88 {
89 return size_;
90 }
91 81
92 void Draw(ImageAccessor& target, 82 void Draw(ImageAccessor& target,
93 const std::string& utf8, 83 const std::string& utf8,
94 int x, 84 int x,
95 int y, 85 int y,