| Flutter Impeller |

typographer_context.cc
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 #include "impeller/typographer/typographer_context.h"
6
7 #include <utility>
8
9 namespace impeller {
10
11 TypographerContext::TypographerContext() {
12 is_valid_ = true;
13 }
14
15 TypographerContext::~TypographerContext() = default;
16
17 bool TypographerContext::IsValid() const {
18 return is_valid_;
19 }
20
21 } // namespace impeller
impeller::TypographerContext::TypographerContext
TypographerContext()
Create a new context to render text that talks to an underlying graphics context.
Definition: typographer_context.cc:11
impeller::TypographerContext::~TypographerContext
virtual ~TypographerContext()
impeller::TypographerContext::IsValid
virtual bool IsValid() const
Definition: typographer_context.cc:17
impeller
Definition: allocation.cc:12
typographer_context.h