aboutsummaryrefslogtreecommitdiff
path: root/CruUI/graph/graph.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-23 17:58:28 +0800
committercrupest <crupest@outlook.com>2018-09-23 17:58:28 +0800
commit09864c09e519eaa58e3a7269baad7f48e8145f4f (patch)
treea494ea818ae485c22259d6e9d9f3c04b484c8499 /CruUI/graph/graph.h
parent95d54b36044196b7e996a188840ae8b1ef360895 (diff)
downloadcru-09864c09e519eaa58e3a7269baad7f48e8145f4f.tar.gz
cru-09864c09e519eaa58e3a7269baad7f48e8145f4f.tar.bz2
cru-09864c09e519eaa58e3a7269baad7f48e8145f4f.zip
Move CreateDefaultTextFormat to graph.
Diffstat (limited to 'CruUI/graph/graph.h')
-rw-r--r--CruUI/graph/graph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/CruUI/graph/graph.h b/CruUI/graph/graph.h
index 01d95797..0f1d29d1 100644
--- a/CruUI/graph/graph.h
+++ b/CruUI/graph/graph.h
@@ -166,6 +166,7 @@ namespace cru
}
Microsoft::WRL::ComPtr<ID2D1SolidColorBrush> CreateSolidBrush(const D2D1_COLOR_F& color);
+ Microsoft::WRL::ComPtr<IDWriteTextFormat> CreateDefaultTextFormat();
inline void WithTransform(ID2D1DeviceContext* device_context, const D2D1_MATRIX_3X2_F matrix, Function<void(ID2D1DeviceContext*)>&& action)
{