aboutsummaryrefslogtreecommitdiff
path: root/src/osx/graphics/quartz/TextLayout.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-14 21:58:14 +0800
committercrupest <crupest@outlook.com>2021-10-14 21:58:14 +0800
commitd3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95 (patch)
treef88c16c14c187db9cade505b6ed6153a0630c6e9 /src/osx/graphics/quartz/TextLayout.cpp
parent5ba45b02e1adee6b1ba15d70c9052cbc1f3c26c5 (diff)
downloadcru-d3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95.tar.gz
cru-d3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95.tar.bz2
cru-d3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95.zip
...
Diffstat (limited to 'src/osx/graphics/quartz/TextLayout.cpp')
-rw-r--r--src/osx/graphics/quartz/TextLayout.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osx/graphics/quartz/TextLayout.cpp b/src/osx/graphics/quartz/TextLayout.cpp
index 577eba58..6c6644e5 100644
--- a/src/osx/graphics/quartz/TextLayout.cpp
+++ b/src/osx/graphics/quartz/TextLayout.cpp
@@ -1,4 +1,5 @@
#include "cru/osx/graphics/quartz/TextLayout.hpp"
+#include "cru/osx/Convert.hpp"
#include "cru/osx/graphics/quartz/Convert.hpp"
#include "cru/osx/graphics/quartz/Resource.hpp"
#include "cru/platform/Check.hpp"
@@ -7,6 +8,8 @@
#include <limits>
namespace cru::platform::graphics::osx::quartz {
+using cru::platform::osx::Convert;
+
OsxCTTextLayout::OsxCTTextLayout(IGraphicsFactory* graphics_factory,
std::shared_ptr<OsxCTFont> font,
const String& str)