Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1219:f8bff27f1314 | 1220:9ee6b28f53e8 |
---|---|
197 float width); | 197 float width); |
198 | 198 |
199 RadiographyPhotometricDisplayMode GetPreferredPhotomotricDisplayMode() const; | 199 RadiographyPhotometricDisplayMode GetPreferredPhotomotricDisplayMode() const; |
200 | 200 |
201 RadiographyLayer& LoadText(const std::string& utf8, | 201 RadiographyLayer& LoadText(const std::string& utf8, |
202 const std::string& font, | |
202 unsigned int fontSize, | 203 unsigned int fontSize, |
203 uint8_t foreground, | 204 uint8_t foreground, |
204 RadiographyLayer::Geometry* geometry); | 205 RadiographyLayer::Geometry* geometry, |
206 bool isCenterGeometry); | |
205 | 207 |
206 RadiographyLayer& UpdateText(size_t layerIndex, | 208 RadiographyLayer& UpdateText(size_t layerIndex, |
209 const std::string& font, | |
207 const std::string& utf8, | 210 const std::string& utf8, |
208 unsigned int fontSize, | 211 unsigned int fontSize, |
209 uint8_t foreground); | 212 uint8_t foreground); |
210 | 213 |
211 RadiographyLayer& LoadTestBlock(unsigned int width, | 214 RadiographyLayer& LoadTestBlock(unsigned int width, |