Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/ICompositor.h @ 1471:28c64c246312
working on a shared library
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Jun 2020 12:57:54 +0200 |
parents | 828a9b4ee1b7 |
children | 5c96bf3f1d32 |
comparison
equal
deleted
inserted
replaced
1470:390b0c30ba19 | 1471:28c64c246312 |
---|---|
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "Scene2D.h" | 24 #include "Scene2D.h" |
25 #include "ScenePoint2D.h" | 25 #include "ScenePoint2D.h" |
26 | 26 |
27 #include <EmbeddedResources.h> | |
28 | |
29 namespace OrthancStone | 27 namespace OrthancStone |
30 { | 28 { |
31 class ICompositor : public boost::noncopyable | 29 class ICompositor : public boost::noncopyable |
32 { | 30 { |
33 public: | 31 public: |
48 | 46 |
49 virtual void ResetScene() = 0; | 47 virtual void ResetScene() = 0; |
50 | 48 |
51 #if ORTHANC_ENABLE_LOCALE == 1 | 49 #if ORTHANC_ENABLE_LOCALE == 1 |
52 virtual void SetFont(size_t index, | 50 virtual void SetFont(size_t index, |
53 Orthanc::EmbeddedResources::FileResourceId resource, | 51 const std::string& ttf, |
54 unsigned int fontSize, | 52 unsigned int fontSize, |
55 Orthanc::Encoding codepage) = 0; | 53 Orthanc::Encoding codepage) = 0; |
56 #endif | 54 #endif |
57 | 55 |
58 // Get the center of the given pixel, in canvas coordinates | 56 // Get the center of the given pixel, in canvas coordinates |