Flutter Engine
The Flutter Engine
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"
18#include "src/core/SkGlyph.h"
21
24class SkFontData;
25
27public:
30
31 bool scanFile(SkStreamAsset* stream, int* numFaces) const override;
32 bool scanFace(SkStreamAsset* stream, int faceIndex, int* numInstances) const override;
34 int faceIndex,
35 int instanceIndex,
37 SkFontStyle* style,
38 bool* isFixedPitch,
39 AxisDefinitions* axes) const override;
40private:
41};
42
43#endif // SKFONTSCANNER_FONTATIONS_H_
bool scanInstance(SkStreamAsset *stream, int faceIndex, int instanceIndex, SkString *name, SkFontStyle *style, bool *isFixedPitch, AxisDefinitions *axes) const override
bool scanFile(SkStreamAsset *stream, int *numFaces) const override
bool scanFace(SkStreamAsset *stream, int faceIndex, int *numInstances) const override
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32