| 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
typographer_context.h
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
Definition: aiks_blend_unittests.cc:18
impeller::TypographerContext::IsValid
virtual bool IsValid() const
Definition: typographer_context.cc:17