comparison Framework/Radiography/RadiographySceneWriter.cpp @ 1197:a34ba19d2060

merge
author Alain Mazy <alain@mazy.be>
date Wed, 27 Nov 2019 17:56:48 +0100
parents a5f2a6b04a31 681f339d6f85
children 9ee6b28f53e8
comparison
equal deleted inserted replaced
1196:a5f2a6b04a31 1197:a34ba19d2060
60 60
61 void RadiographySceneWriter::WriteLayer(Json::Value& output, const RadiographyTextLayer& layer) 61 void RadiographySceneWriter::WriteLayer(Json::Value& output, const RadiographyTextLayer& layer)
62 { 62 {
63 output["type"] = "text"; 63 output["type"] = "text";
64 output["text"] = layer.GetText(); 64 output["text"] = layer.GetText();
65 output["fontSize"] = static_cast<uint32_t>(layer.GetFontSize()); 65 output["fontSize"] = static_cast<unsigned int>(layer.GetFontSize());
66 output["foreground"] = layer.GetForeground(); 66 output["foreground"] = layer.GetForeground();
67 } 67 }
68 68
69 void RadiographySceneWriter::WriteLayer(Json::Value& output, const RadiographyMaskLayer& layer) 69 void RadiographySceneWriter::WriteLayer(Json::Value& output, const RadiographyMaskLayer& layer)
70 { 70 {