diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-19 16:15:16 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-19 16:15:16 +1100 |
commit | 8b8a02b4bd250d28bc0f42287ca3d167b7210f39 (patch) | |
tree | d8d42a94f5abdaf1247db4fc5bf766c9a72cfbe9 /qt/ScintillaEditBase/PlatQt.h | |
parent | 09534ab81f72ce766c8d13ea13216dd589d41a1c (diff) | |
download | scintilla-mirror-8b8a02b4bd250d28bc0f42287ca3d167b7210f39.tar.gz |
UTF-8 text drawing and measurement.
Move SurfaceGDI::WidthText to match declaration order.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
-rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index c690e7697..a743a4be5 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -126,6 +126,17 @@ public: void MeasureWidths(const Font *font, std::string_view text, XYPOSITION *positions) override; XYPOSITION WidthText(const Font *font, std::string_view text) override; + + void DrawTextNoClipUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, + std::string_view text, ColourDesired fore, ColourDesired back) override; + void DrawTextClippedUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, + std::string_view text, ColourDesired fore, ColourDesired back) override; + void DrawTextTransparentUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, + std::string_view text, ColourDesired fore) override; + void MeasureWidthsUTF8(const Font *font_, std::string_view text, + XYPOSITION *positions) override; + XYPOSITION WidthTextUTF8(const Font *font_, std::string_view text) override; + XYPOSITION Ascent(const Font *font) override; XYPOSITION Descent(const Font *font) override; XYPOSITION InternalLeading(const Font *font) override; |