Mercurial > hg > orthanc
comparison Core/Images/Font.h @ 3992:f9863630ec7f
working on the shared library for Orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jun 2020 16:07:01 +0200 |
parents | 94f4a18a79cc |
children | 100fbe970762 |
comparison
equal
deleted
inserted
replaced
3991:5d2348b39392 | 3992:f9863630ec7f |
---|---|
31 **/ | 31 **/ |
32 | 32 |
33 | 33 |
34 #pragma once | 34 #pragma once |
35 | 35 |
36 // To have ORTHANC_HAS_EMBEDDED_RESOURCES defined if using the shared library | |
37 #include "../OrthancFramework.h" | |
38 | |
36 #if !defined(ORTHANC_HAS_EMBEDDED_RESOURCES) | 39 #if !defined(ORTHANC_HAS_EMBEDDED_RESOURCES) |
37 # error Macro ORTHANC_HAS_EMBEDDED_RESOURCES must be defined | 40 # error Macro ORTHANC_HAS_EMBEDDED_RESOURCES must be defined |
38 #endif | 41 #endif |
39 | 42 |
40 #if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 | 43 #if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 |
48 #include <map> | 51 #include <map> |
49 #include <boost/noncopyable.hpp> | 52 #include <boost/noncopyable.hpp> |
50 | 53 |
51 namespace Orthanc | 54 namespace Orthanc |
52 { | 55 { |
53 class Font : public boost::noncopyable | 56 class ORTHANC_PUBLIC Font : public boost::noncopyable |
54 { | 57 { |
55 private: | 58 private: |
56 struct Character | 59 struct Character |
57 { | 60 { |
58 unsigned int width_; | 61 unsigned int width_; |