diff 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
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/CairoCompositor.h	Mon May 17 16:11:17 2021 +0200
+++ b/OrthancStone/Sources/Scene2D/CairoCompositor.h	Mon May 17 16:59:03 2021 +0200
@@ -92,5 +92,10 @@
 
     Orthanc::ImageAccessor* RenderText(size_t fontIndex,
                                        const std::string& utf8) const;
+
+#if ORTHANC_ENABLE_LOCALE == 1
+    virtual TextBoundingBox* ComputeTextBoundingBox(size_t fontIndex,
+                                                    const std::string& utf8) ORTHANC_OVERRIDE;
+#endif
   };
 }