2015-06-15 22:17:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2015 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
2017-02-08 22:29:33 +00:00
|
|
|
#ifndef SkFontMgr_empty_DEFINED
|
|
|
|
#define SkFontMgr_empty_DEFINED
|
2015-06-15 22:17:21 +00:00
|
|
|
|
2017-02-08 22:29:33 +00:00
|
|
|
#include "SkRefCnt.h"
|
2015-06-15 22:17:21 +00:00
|
|
|
#include "SkTypes.h"
|
|
|
|
|
|
|
|
class SkFontMgr;
|
|
|
|
|
2017-02-08 22:29:33 +00:00
|
|
|
/** Create a custom font manager that contains no built-in fonts.
|
|
|
|
* This font manager uses FreeType for rendering.
|
|
|
|
*/
|
2017-01-03 18:32:36 +00:00
|
|
|
SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Empty();
|
2016-03-21 13:55:52 +00:00
|
|
|
|
2017-02-08 22:29:33 +00:00
|
|
|
#endif // SkFontMgr_empty_DEFINED
|