| Flutter Impeller |

typeface.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #pragma once
6
7 #include "flutter/fml/macros.h"
8 #include "impeller/base/comparable.h"
9 #include "impeller/geometry/rect.h"
10
11 namespace impeller {
12
13 //------------------------------------------------------------------------------
14 /// @brief A typeface, usually obtained from a font-file, on disk describes
15 /// the intrinsic properties of the font. Typefaces are rarely used
16 /// directly. Instead, font refer to typefaces along with any
17 /// modifications applied to its intrinsic properties.
18 ///
19 class Typeface : public Comparable<Typeface> {
20 public:
21 Typeface();
22
23 virtual ~Typeface();
24
25 virtual bool IsValid() const = 0;
26
27 private:
28 FML_DISALLOW_COPY_AND_ASSIGN(Typeface);
29 };
30
31 } // namespace impeller
impeller::Typeface::IsValid
virtual bool IsValid() const =0
impeller::Typeface::Typeface
Typeface()
impeller::Typeface::~Typeface
virtual ~Typeface()
impeller::Typeface
A typeface, usually obtained from a font-file, on disk describes the intrinsic properties of the font...
Definition: typeface.h:19
impeller::Comparable
Definition: comparable.h:32
comparable.h
rect.h
impeller
Definition: aiks_context.cc:10