diff OrthancFramework/Sources/Images/Font.cpp @ 4297:785a2713323e

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 17:20:49 +0100
parents bf7b9edf6b81
children 3af1d763763a
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/Font.cpp	Thu Nov 05 15:52:28 2020 +0100
+++ b/OrthancFramework/Sources/Images/Font.cpp	Thu Nov 05 17:20:49 2020 +0100
@@ -42,6 +42,13 @@
 
 namespace Orthanc
 {
+  Font::Font() :
+    size_(0),
+    maxHeight_(0)
+  {
+  }
+
+
   Font::~Font()
   {
     for (Characters::iterator it = characters_.begin();
@@ -141,8 +148,18 @@
   }
 #endif
 
+  const std::string &Font::GetName() const
+  {
+    return name_;
+  }
 
-  static unsigned int MyMin(unsigned int a, 
+  unsigned int Font::GetSize() const
+  {
+    return size_;
+  }
+
+
+  static unsigned int MyMin(unsigned int a,
                             unsigned int b)
   {
     return a < b ? a : b;