Flutter Engine
The Flutter Engine
third_party
skia
src
ports
SkFontScanner_fontations.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 The Android Open Source Project
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
#ifndef SKFONTSCANNER_FONTATIONS_H_
9
#define SKFONTSCANNER_FONTATIONS_H_
10
11
#include "
include/core/SkSpan.h
"
12
#include "
include/core/SkTypeface.h
"
13
#include "
include/core/SkTypes.h
"
14
#include "
include/private/base/SkMutex.h
"
15
#include "
include/private/base/SkTArray.h
"
16
#include "
src/base/SkSharedMutex.h
"
17
#include "
src/core/SkFontScanner.h
"
18
#include "
src/core/SkGlyph.h
"
19
#include "
src/core/SkScalerContext.h
"
20
#include "
src/utils/SkCharToGlyphCache.h
"
21
22
struct
SkAdvancedTypefaceMetrics
;
23
class
SkFontDescriptor
;
24
class
SkFontData
;
25
26
class
SkFontScanner_Fontations
:
public
SkFontScanner
{
27
public
:
28
SkFontScanner_Fontations
();
29
~SkFontScanner_Fontations
()
override
;
30
31
bool
scanFile
(
SkStreamAsset
*
stream
,
int
* numFaces)
const override
;
32
bool
scanFace
(
SkStreamAsset
*
stream
,
int
faceIndex,
int
* numInstances)
const override
;
33
bool
scanInstance
(
SkStreamAsset
*
stream
,
34
int
faceIndex,
35
int
instanceIndex,
36
SkString
*
name
,
37
SkFontStyle
* style,
38
bool
* isFixedPitch,
39
AxisDefinitions
* axes)
const override
;
40
private
:
41
};
42
43
#endif
// SKFONTSCANNER_FONTATIONS_H_
SkCharToGlyphCache.h
SkFontScanner.h
SkGlyph.h
SkMutex.h
SkScalerContext.h
SkSharedMutex.h
SkSpan.h
SkTArray.h
SkTypeface.h
SkTypes.h
SkFontData
Definition:
SkFontDescriptor.h:24
SkFontDescriptor
Definition:
SkFontDescriptor.h:85
SkFontScanner_Fontations
Definition:
SkFontScanner_fontations.h:26
SkFontScanner_Fontations::~SkFontScanner_Fontations
~SkFontScanner_Fontations() override
Definition:
SkFontScanner_fontations.cpp:27
SkFontScanner_Fontations::SkFontScanner_Fontations
SkFontScanner_Fontations()
Definition:
SkFontScanner_fontations.cpp:24
SkFontScanner_Fontations::scanInstance
bool scanInstance(SkStreamAsset *stream, int faceIndex, int instanceIndex, SkString *name, SkFontStyle *style, bool *isFixedPitch, AxisDefinitions *axes) const override
Definition:
SkFontScanner_fontations.cpp:58
SkFontScanner_Fontations::scanFile
bool scanFile(SkStreamAsset *stream, int *numFaces) const override
Definition:
SkFontScanner_fontations.cpp:30
SkFontScanner_Fontations::scanFace
bool scanFace(SkStreamAsset *stream, int faceIndex, int *numInstances) const override
Definition:
SkFontScanner_fontations.cpp:42
SkFontScanner
Definition:
SkFontScanner.h:20
SkFontStyle
Definition:
SkFontStyle.h:16
SkStreamAsset
Definition:
SkStream.h:186
SkString
Definition:
SkString.h:118
skia_private::STArray
Definition:
SkTArray.h:754
dart_profiler_symbols.stream
stream
Definition:
dart_profiler_symbols.py:81
flutter::name
DEF_SWITCHES_START aot vmservice shared library name
Definition:
switches.h:32
SkAdvancedTypefaceMetrics
Definition:
SkAdvancedTypefaceMetrics.h:24
Generated on Sun Jun 23 2024 21:56:31 for Flutter Engine by
1.9.4