Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
skia
src
ports
SkFontMgr_custom_empty.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
include/core/SkRefCnt.h
"
9
#include "
include/ports/SkFontMgr_empty.h
"
10
#include "
src/core/SkFontScanner.h
"
11
#include "
src/ports/SkFontMgr_custom.h
"
12
13
class
EmptyFontLoader
:
public
SkFontMgr_Custom::SystemFontLoader
{
14
public
:
15
EmptyFontLoader
() { }
16
17
void
loadSystemFonts
(
const
SkFontScanner
* scanner,
18
SkFontMgr_Custom::Families
* families)
const override
19
{
20
SkFontStyleSet_Custom
* family =
new
SkFontStyleSet_Custom
(
SkString
());
21
families->
push_back
().
reset
(family);
22
family->
appendTypeface
(sk_make_sp<SkTypeface_Empty>());
23
}
24
25
};
26
27
sk_sp<SkFontMgr>
SkFontMgr_New_Custom_Empty
() {
28
return
sk_make_sp<SkFontMgr_Custom>(
EmptyFontLoader
());
29
}
SkFontMgr_custom.h
SkFontMgr_New_Custom_Empty
sk_sp< SkFontMgr > SkFontMgr_New_Custom_Empty()
Definition:
SkFontMgr_custom_empty.cpp:27
SkFontMgr_empty.h
SkFontScanner.h
SkRefCnt.h
EmptyFontLoader
Definition:
SkFontMgr_custom_empty.cpp:13
EmptyFontLoader::EmptyFontLoader
EmptyFontLoader()
Definition:
SkFontMgr_custom_empty.cpp:15
EmptyFontLoader::loadSystemFonts
void loadSystemFonts(const SkFontScanner *scanner, SkFontMgr_Custom::Families *families) const override
Definition:
SkFontMgr_custom_empty.cpp:17
SkFontMgr_Custom::SystemFontLoader
Definition:
SkFontMgr_custom.h:113
SkFontScanner
Definition:
SkFontScanner.h:20
SkFontStyleSet_Custom
Definition:
SkFontMgr_custom.h:84
SkFontStyleSet_Custom::appendTypeface
void appendTypeface(sk_sp< SkTypeface > typeface)
Definition:
SkFontMgr_custom.cpp:99
SkString
Definition:
SkString.h:118
sk_sp< SkFontMgr >
sk_sp::reset
void reset(T *ptr=nullptr)
Definition:
SkRefCnt.h:310
skia_private::TArray< sk_sp< SkFontStyleSet_Custom > >
skia_private::TArray::push_back
T & push_back()
Definition:
SkTArray.h:205
Generated on Sun Jun 23 2024 21:56:31 for Flutter Engine by
1.9.4