diff options
Diffstat (limited to 'include/cru/osx/graphics/quartz/Font.h')
-rw-r--r-- | include/cru/osx/graphics/quartz/Font.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/cru/osx/graphics/quartz/Font.h b/include/cru/osx/graphics/quartz/Font.h deleted file mode 100644 index 50703dfe..00000000 --- a/include/cru/osx/graphics/quartz/Font.h +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once -#include "Resource.h" -#include "cru/common/Base.h" -#include "cru/platform/graphics/Font.h" - -#include <CoreText/CoreText.h> - -namespace cru::platform::graphics::osx::quartz { -class OsxCTFont : public OsxQuartzResource, public virtual IFont { - public: - OsxCTFont(IGraphicsFactory* graphics_factory, const String& name, float size); - - CRU_DELETE_COPY(OsxCTFont) - CRU_DELETE_MOVE(OsxCTFont) - - ~OsxCTFont() override; - - CTFontRef GetCTFont() const { return ct_font_; } - - String GetFontName() override; - float GetFontSize() override; - - private: - String name_; - CTFontRef ct_font_; -}; -} // namespace cru::platform::graphics::osx::quartz |