Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographySceneWriter.cpp @ 1224:37bc7f115f81 broker
integration mainline->broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 07 Dec 2019 18:45:37 +0100 |
parents | 9ee6b28f53e8 |
children | 1c7ae79c426d |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographySceneWriter.cpp Sat Dec 07 18:18:07 2019 +0100 +++ b/Framework/Radiography/RadiographySceneWriter.cpp Sat Dec 07 18:45:37 2019 +0100 @@ -62,8 +62,9 @@ { output["type"] = "text"; output["text"] = layer.GetText(); - output["fontSize"] = static_cast<unsigned int>(layer.GetFontSize()); - output["foreground"] = layer.GetForeground(); + output["font"] = layer.GetFont(); + output["fontSize"] = layer.GetFontSize(); + output["foreground"] = layer.GetForegroundGreyLevel(); } void RadiographySceneWriter::WriteLayer(Json::Value& output, const RadiographyMaskLayer& layer)