Flutter Engine
The Flutter Engine
SkTextFormatParams.h
Go to the documentation of this file.
1/*
2 * Copyright 2010 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#ifndef SkTextFormatParams_DEFINES
8#define SkTextFormatParams_DEFINES
9
12
13#include <iterator>
14
15// The fraction of text size to embolden fake bold text scales with text size.
16// At 9 points or below, the stroke width is increased by text size / 24.
17// At 36 points and above, it is increased by text size / 32. In between,
18// it is interpolated between those values.
20 SK_Scalar1*9,
21 SK_Scalar1*36,
22};
24 SK_Scalar1/24,
25 SK_Scalar1/32,
26};
28 "mismatched_array_size");
30
31#endif //SkTextFormatParams_DEFINES
#define SK_Scalar1
Definition: SkScalar.h:18
static const SkScalar kStdFakeBoldInterpValues[]
static const int kStdFakeBoldInterpLength
static const SkScalar kStdFakeBoldInterpKeys[]
float SkScalar
Definition: extension.cpp:12
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259