Flutter Engine
The Flutter Engine
third_party
txt
src
txt
font_weight.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Google Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef LIB_TXT_SRC_FONT_WEIGHT_H_
18
#define LIB_TXT_SRC_FONT_WEIGHT_H_
19
20
namespace
txt
{
21
22
enum class
FontWeight
{
23
w100
,
// Thin
24
w200
,
// Extra-Light
25
w300
,
// Light
26
w400
,
// Normal/Regular
27
w500
,
// Medium
28
w600
,
// Semi-bold
29
w700
,
// Bold
30
w800
,
// Extra-Bold
31
w900
,
// Black
32
};
33
34
}
// namespace txt
35
36
#endif
// LIB_TXT_SRC_FONT_WEIGHT_H_
txt
Definition:
paragraph_builder_skia.cc:27
txt::FontWeight
FontWeight
Definition:
font_weight.h:22
txt::FontWeight::w200
@ w200
txt::FontWeight::w900
@ w900
txt::FontWeight::w500
@ w500
txt::FontWeight::w800
@ w800
txt::FontWeight::w100
@ w100
txt::FontWeight::w300
@ w300
txt::FontWeight::w600
@ w600
txt::FontWeight::w400
@ w400
txt::FontWeight::w700
@ w700
Generated on Sun Jun 23 2024 21:56:53 for Flutter Engine by
1.9.4