aboutsummaryrefslogtreecommitdiff
path: root/src/win/graph/direct/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/graph/direct/font.cpp')
-rw-r--r--src/win/graph/direct/font.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/win/graph/direct/font.cpp b/src/win/graph/direct/font.cpp
index 8e881f84..6bd43078 100644
--- a/src/win/graph/direct/font.cpp
+++ b/src/win/graph/direct/font.cpp
@@ -29,4 +29,6 @@ DWriteFont::DWriteFont(DirectGraphFactory* factory,
ThrowIfFailed(
text_format_->SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER));
}
+
+float DWriteFont::GetFontSize() { return text_format_->GetFontSize(); }
} // namespace cru::platform::graph::win::direct