comparison Framework/Radiography/RadiographyScene.h @ 1190:f417a0ae282b

wip: TextLayer with new fonts
author Alain Mazy <alain@mazy.be>
date Tue, 26 Nov 2019 15:27:48 +0100
parents 4663f158c748
children bdc6837d5917 a5f2a6b04a31
comparison
equal deleted inserted replaced
1184:848dcba80d81 1190:f417a0ae282b
195 virtual void SetWindowing(float center, 195 virtual void SetWindowing(float center,
196 float width); 196 float width);
197 197
198 RadiographyPhotometricDisplayMode GetPreferredPhotomotricDisplayMode() const; 198 RadiographyPhotometricDisplayMode GetPreferredPhotomotricDisplayMode() const;
199 199
200 RadiographyLayer& LoadText(const Orthanc::Font& font, 200 RadiographyLayer& LoadText(const std::string& utf8,
201 const std::string& utf8, 201 size_t fontSize,
202 uint8_t foreground,
202 RadiographyLayer::Geometry* geometry); 203 RadiographyLayer::Geometry* geometry);
203 204
204 RadiographyLayer& LoadTestBlock(unsigned int width, 205 RadiographyLayer& LoadTestBlock(unsigned int width,
205 unsigned int height, 206 unsigned int height,
206 RadiographyLayer::Geometry* geometry); 207 RadiographyLayer::Geometry* geometry);