1 | // LAF OS Library |
2 | // Copyright (c) 2019-2020 Igara Studio S.A. |
3 | // |
4 | // This file is released under the terms of the MIT license. |
5 | // Read LICENSE.txt for more information. |
6 | |
7 | #ifndef OS_TYPEFACE_H_INCLUDED |
8 | #define OS_TYPEFACE_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "os/ref.h" |
12 | |
13 | namespace os { |
14 | |
15 | class Typeface; |
16 | using TypefaceRef = base::Ref<Typeface>; |
17 | |
18 | class Typeface : public RefCount { |
19 | protected: |
20 | virtual ~Typeface() { } |
21 | public: |
22 | virtual FontStyle fontStyle() const = 0; |
23 | }; |
24 | |
25 | } // namespace os |
26 | |
27 | #endif |
28 | |