Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyScene.h @ 1220:9ee6b28f53e8
RadiographyTextLayer: support multiple fonts
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Sat, 07 Dec 2019 17:47:23 +0100 |
parents | 9added0d371e |
children | 37bc7f115f81 6af941a68472 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.h Sat Dec 07 17:46:25 2019 +0100 +++ b/Framework/Radiography/RadiographyScene.h Sat Dec 07 17:47:23 2019 +0100 @@ -199,11 +199,14 @@ RadiographyPhotometricDisplayMode GetPreferredPhotomotricDisplayMode() const; RadiographyLayer& LoadText(const std::string& utf8, + const std::string& font, unsigned int fontSize, uint8_t foreground, - RadiographyLayer::Geometry* geometry); + RadiographyLayer::Geometry* geometry, + bool isCenterGeometry); RadiographyLayer& UpdateText(size_t layerIndex, + const std::string& font, const std::string& utf8, unsigned int fontSize, uint8_t foreground);