summaryrefslogtreecommitdiffstats
path: root/thirdparty/thorvg/src/renderer/tvgLoadModule.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-08-30 10:22:41 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-02 11:59:54 +0200
commit7375f9b923789c13e8a53e7a09b9a655135e0795 (patch)
treeab93279e7c1fcf27a35d2519ea4789e79f8a3ba8 /thirdparty/thorvg/src/renderer/tvgLoadModule.h
parent7f86ca057ac098c2b899cd6ece37055db8cfc979 (diff)
downloadredot-engine-7375f9b923789c13e8a53e7a09b9a655135e0795.tar.gz
thorvg: Update to 0.14.8, and workaround Bezier precision regression
Fixes #96262 by backporting https://github.com/thorvg/thorvg/pull/2702.
Diffstat (limited to 'thirdparty/thorvg/src/renderer/tvgLoadModule.h')
-rw-r--r--thirdparty/thorvg/src/renderer/tvgLoadModule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/thirdparty/thorvg/src/renderer/tvgLoadModule.h b/thirdparty/thorvg/src/renderer/tvgLoadModule.h
index c750683771..1b81d81a4f 100644
--- a/thirdparty/thorvg/src/renderer/tvgLoadModule.h
+++ b/thirdparty/thorvg/src/renderer/tvgLoadModule.h
@@ -101,7 +101,8 @@ struct FontLoader : LoadModule
FontLoader(FileType type) : LoadModule(type) {}
- virtual bool request(Shape* shape, char* text, bool italic = false) = 0;
+ virtual bool request(Shape* shape, char* text) = 0;
+ virtual bool transform(Paint* paint, float fontSize, bool italic) = 0;
};
#endif //_TVG_LOAD_MODULE_H_