diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Platform.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Platform.h b/src/Platform.h index 3333d3d4c..45c04abdc 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -208,6 +208,13 @@ public: virtual void DrawTextTransparent(PRectangle rc, const Font *font_, XYPOSITION ybase, std::string_view text, ColourDesired fore) = 0; virtual void MeasureWidths(const Font *font_, std::string_view text, XYPOSITION *positions) = 0; virtual XYPOSITION WidthText(const Font *font_, std::string_view text) = 0; + + virtual void DrawTextNoClipUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, std::string_view text, ColourDesired fore, ColourDesired back) = 0; + virtual void DrawTextClippedUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, std::string_view text, ColourDesired fore, ColourDesired back) = 0; + virtual void DrawTextTransparentUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, std::string_view text, ColourDesired fore) = 0; + virtual void MeasureWidthsUTF8(const Font *font_, std::string_view text, XYPOSITION *positions) = 0; + virtual XYPOSITION WidthTextUTF8(const Font *font_, std::string_view text) = 0; + virtual XYPOSITION Ascent(const Font *font_)=0; virtual XYPOSITION Descent(const Font *font_)=0; virtual XYPOSITION InternalLeading(const Font *font_)=0; |