diff Framework/Radiography/RadiographyScene.h @ 1190:f417a0ae282b

wip: TextLayer with new fonts
author Alain Mazy <alain@mazy.be>
date Tue, 26 Nov 2019 15:27:48 +0100
parents 4663f158c748
children bdc6837d5917 a5f2a6b04a31
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.h	Fri Nov 22 09:51:22 2019 +0100
+++ b/Framework/Radiography/RadiographyScene.h	Tue Nov 26 15:27:48 2019 +0100
@@ -197,8 +197,9 @@
 
     RadiographyPhotometricDisplayMode GetPreferredPhotomotricDisplayMode() const;
 
-    RadiographyLayer& LoadText(const Orthanc::Font& font,
-                               const std::string& utf8,
+    RadiographyLayer& LoadText(const std::string& utf8,
+                               size_t fontSize,
+                               uint8_t foreground,
                                RadiographyLayer::Geometry* geometry);
     
     RadiographyLayer& LoadTestBlock(unsigned int width,