comparison OrthancStone/Sources/Scene2D/CairoCompositor.h @ 1792:373d7f7e796e

ICompositor::ComputeTextBoundingBox()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 May 2021 16:59:03 +0200
parents 9ac2a65d4172
children 3889ae96d2e9
comparison
equal deleted inserted replaced
1791:9b650ab68d4c 1792:373d7f7e796e
90 helper_.reset(new Internals::CompositorHelper(*this)); 90 helper_.reset(new Internals::CompositorHelper(*this));
91 } 91 }
92 92
93 Orthanc::ImageAccessor* RenderText(size_t fontIndex, 93 Orthanc::ImageAccessor* RenderText(size_t fontIndex,
94 const std::string& utf8) const; 94 const std::string& utf8) const;
95
96 #if ORTHANC_ENABLE_LOCALE == 1
97 virtual TextBoundingBox* ComputeTextBoundingBox(size_t fontIndex,
98 const std::string& utf8) ORTHANC_OVERRIDE;
99 #endif
95 }; 100 };
96 } 101 }