/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/atlastext/SkAtlasTextContext.h" #include "include/atlastext/SkAtlasTextRenderer.h" #include "src/atlastext/SkInternalAtlasTextContext.h" sk_sp SkAtlasTextContext::Make(sk_sp renderer) { return sk_sp(new SkAtlasTextContext(std::move(renderer))); } SkAtlasTextContext::SkAtlasTextContext(sk_sp renderer) : fInternalContext(SkInternalAtlasTextContext::Make(std::move(renderer))) {}