blob: 1b11df9d79cb0ecc6052c4911af7ba072a7e045d [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include "flutter/fml/macros.h"
#include "impeller/typographer/text_render_context.h"
namespace impeller {
class TextRenderContextSkia : public TextRenderContext {
public:
TextRenderContextSkia(std::shared_ptr<Context> context);
~TextRenderContextSkia() override;
// |TextRenderContext|
std::shared_ptr<GlyphAtlas> CreateGlyphAtlas(
GlyphAtlas::Type type,
FrameIterator iterator) const override;
private:
FML_DISALLOW_COPY_AND_ASSIGN(TextRenderContextSkia);
};
} // namespace impeller