chromium/third_party/skia/include/utils/SkOrderedFontMgr.h

/*
 * Copyright 2021 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkOrderedFontMgr_DEFINED
#define SkOrderedFontMgr_DEFINED

#include "include/core/SkFontMgr.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"

#include <memory>
#include <vector>

class SkData;
class SkFontStyle;
class SkStreamAsset;
class SkString;
class SkTypeface;
struct SkFontArguments;

/**
 *  Collects an order list of other font managers, and visits them in order
 *  when a request to find or match is issued.
 *
 *  Note: this explicitly fails on any attempt to Make a typeface: all of
 *  those requests will return null.
 */
class SK_API SkOrderedFontMgr : public SkFontMgr {};

#endif