OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SkFontStyleSet_Custom
(Results
1 - 2
of
2
) sorted by null
/external/skia/src/ports/
SkFontMgr_custom.cpp
84
SkFontStyleSet_Custom
::
SkFontStyleSet_Custom
(const SkString familyName) : fFamilyName(familyName) {}
86
void
SkFontStyleSet_Custom
::appendTypeface(sk_sp<SkTypeface_Custom> typeface) {
90
int
SkFontStyleSet_Custom
::count() {
94
void
SkFontStyleSet_Custom
::getStyle(int index, SkFontStyle* style, SkString* name) {
104
SkTypeface*
SkFontStyleSet_Custom
::createTypeface(int index) {
109
SkTypeface*
SkFontStyleSet_Custom
::matchStyle(const SkFontStyle& pattern) {
113
SkString
SkFontStyleSet_Custom
::getFamilyName() { return fFamilyName; }
124
sk_sp<
SkFontStyleSet_Custom
> set(this->onMatchFamily(defaultNames[i]));
153
SkFontStyleSet_Custom
* SkFontMgr_Custom::onCreateStyleSet(int index) const
[
all
...]
SkFontMgr_custom.h
93
*
SkFontStyleSet_Custom
97
class
SkFontStyleSet_Custom
: public SkFontStyleSet {
99
explicit
SkFontStyleSet_Custom
(const SkString familyName);
119
* This class is essentially a collection of
SkFontStyleSet_Custom
,
120
* one
SkFontStyleSet_Custom
for each family. This class may be modified
125
typedef SkTArray<sk_sp<
SkFontStyleSet_Custom
>> Families;
136
SkFontStyleSet_Custom
* onCreateStyleSet(int index) const override;
137
SkFontStyleSet_Custom
* onMatchFamily(const char familyName[]) const override;
154
SkFontStyleSet_Custom
* fDefaultFamily;
Completed in 45 milliseconds