diff options
author | crupest <crupest@outlook.com> | 2019-04-04 15:43:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-04 15:43:09 +0800 |
commit | fcaf471275a67d718887430ee63a53890915c4c7 (patch) | |
tree | 4ef45647b01f7f325aac5c836b9ca7d3b985a751 /include/cru/platform/win | |
parent | dcd866074615ba357b62b6128f1c64d56ed4ad16 (diff) | |
download | cru-fcaf471275a67d718887430ee63a53890915c4c7.tar.gz cru-fcaf471275a67d718887430ee63a53890915c4c7.tar.bz2 cru-fcaf471275a67d718887430ee63a53890915c4c7.zip |
...
Diffstat (limited to 'include/cru/platform/win')
-rw-r--r-- | include/cru/platform/win/win_graph_factory.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/platform/win/win_graph_factory.hpp b/include/cru/platform/win/win_graph_factory.hpp index b49413e4..ca83be86 100644 --- a/include/cru/platform/win/win_graph_factory.hpp +++ b/include/cru/platform/win/win_graph_factory.hpp @@ -17,6 +17,10 @@ class WinGraphFactory : public Object, public virtual GraphFactory { SolidColorBrush* CreateSolidColorBrush(const ui::Color& color) override; GeometryBuilder* CreateGeometryBuilder() override; + FontDescriptor* CreateFontDescriptor(const std::wstring_view& font_family, + float font_size); + TextLayout* CreateTextLayout(std::shared_ptr<FontDescriptor> font, + std::wstring text); private: GraphManager* graph_manager_; |