diff options
| author | crupest <crupest@outlook.com> | 2022-05-15 14:08:06 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-05-15 14:08:06 +0800 |
| commit | 8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6 (patch) | |
| tree | 77e41cc14264060517c0f7ed95837012afb8342e /include/cru/osx/graphics/quartz/Font.h | |
| parent | 9e0c9d3499bc50c3534b4dc500d8b5d0b5f22752 (diff) | |
| download | cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.tar.gz cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.tar.bz2 cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.zip | |
...
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 |
