/* * Copyright 2024 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkottieTextPreshape_DEFINED #define SkottieTextPreshape_DEFINED #include #include "include/core/SkRefCnt.h" class SkData; class SkFontMgr; class SkWStream; namespace skresources { class ResourceProvider; } namespace SkShapers { class Factory; } namespace skottie_utils { bool Preshape(const char* json, size_t size, SkWStream*, const sk_sp&, const sk_sp&, const sk_sp&); bool Preshape(const sk_sp&, SkWStream*, const sk_sp&, const sk_sp&, const sk_sp&); } // namespace skottie_utils #endif // SkottieTextPreshape_DEFINED