Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographySceneWriter.cpp @ 1195:bdc6837d5917 broker
integration mainline->broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 27 Nov 2019 14:34:34 +0100 |
parents | 681f339d6f85 |
children | a34ba19d2060 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographySceneWriter.cpp Sat Nov 23 11:57:03 2019 +0100 +++ b/Framework/Radiography/RadiographySceneWriter.cpp Wed Nov 27 14:34:34 2019 +0100 @@ -62,7 +62,8 @@ { output["type"] = "text"; output["text"] = layer.GetText(); - output["fontName"] = layer.GetFontName(); + output["fontSize"] = static_cast<unsigned int>(layer.GetFontSize()); + output["foreground"] = layer.GetForeground(); } void RadiographySceneWriter::WriteLayer(Json::Value& output, const RadiographyMaskLayer& layer)