diff Framework/Radiography/RadiographySceneWriter.cpp @ 1190:f417a0ae282b

wip: TextLayer with new fonts
author Alain Mazy <alain@mazy.be>
date Tue, 26 Nov 2019 15:27:48 +0100
parents cfb4d39065a4
children c6a36ecd641d 91d86144fb79
line wrap: on
line diff
--- a/Framework/Radiography/RadiographySceneWriter.cpp	Fri Nov 22 09:51:22 2019 +0100
+++ b/Framework/Radiography/RadiographySceneWriter.cpp	Tue Nov 26 15:27:48 2019 +0100
@@ -62,7 +62,8 @@
   {
     output["type"] = "text";
     output["text"] = layer.GetText();
-    output["fontName"] = layer.GetFontName();
+    output["fontSize"] = layer.GetFontSize();
+    output["foreground"] = layer.GetForeground();
   }
 
   void RadiographySceneWriter::WriteLayer(Json::Value& output, const RadiographyMaskLayer& layer)