Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographySceneWriter.cpp @ 1191:c6a36ecd641d
fix
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 26 Nov 2019 16:32:29 +0100 |
parents | f417a0ae282b |
children | 681f339d6f85 a5f2a6b04a31 |
comparison
equal
deleted
inserted
replaced
1190:f417a0ae282b | 1191:c6a36ecd641d |
---|---|
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<uint32_t>(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 { |