comparison Framework/Radiography/RadiographySceneWriter.cpp @ 1192:91d86144fb79

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 27 Nov 2019 14:16:20 +0100
parents f417a0ae282b
children 681f339d6f85
comparison
equal deleted inserted replaced
1190:f417a0ae282b 1192:91d86144fb79
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"] = 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 {