Home
last modified time | relevance | path

Searched refs:kNormal_Weight (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/include/core/
DSkFontStyle.h21 kNormal_Weight = 400, enumerator
54 constexpr SkFontStyle() : SkFontStyle{kNormal_Weight, kNormal_Width, kUpright_Slant} { } in SkFontStyle()
65 return SkFontStyle(kNormal_Weight, kNormal_Width, kUpright_Slant); in Normal()
71 return SkFontStyle(kNormal_Weight, kNormal_Width, kItalic_Slant ); in Italic()
/third_party/flutter/skia/include/core/
DSkFontStyle.h20 kNormal_Weight = 400, enumerator
53 constexpr SkFontStyle() : SkFontStyle{kNormal_Weight, kNormal_Width, kUpright_Slant} { } in SkFontStyle()
64 return SkFontStyle(kNormal_Weight, kNormal_Width, kUpright_Slant); in Normal()
70 return SkFontStyle(kNormal_Weight, kNormal_Width, kItalic_Slant ); in Italic()
/third_party/flutter/skia/modules/skottie/src/layers/
DTextLayer.cpp34 { "Regular" , SkFontStyle::kNormal_Weight }, in FontStyle()
46 { "Normal" , SkFontStyle::kNormal_Weight }, in FontStyle()
47 { "Plain" , SkFontStyle::kNormal_Weight }, in FontStyle()
48 { "Standard" , SkFontStyle::kNormal_Weight }, in FontStyle()
49 { "Roman" , SkFontStyle::kNormal_Weight }, in FontStyle()
60 SkFontStyle::Weight weight = SkFontStyle::kNormal_Weight; in FontStyle()
/third_party/skia/modules/skottie/src/layers/
DTextLayer.cpp53 { "regular" , SkFontStyle::kNormal_Weight }, in FontStyle()
65 { "normal" , SkFontStyle::kNormal_Weight }, in FontStyle()
66 { "plain" , SkFontStyle::kNormal_Weight }, in FontStyle()
67 { "standard" , SkFontStyle::kNormal_Weight }, in FontStyle()
68 { "roman" , SkFontStyle::kNormal_Weight }, in FontStyle()
83 auto weight = SkFontStyle::kNormal_Weight; in FontStyle()
/third_party/skia/modules/skottie/tests/
DText.cpp119 { "f1" , SkFontStyle::kNormal_Weight , SkFontStyle::kUpright_Slant }, in DEF_TEST()
126 { "f7" , SkFontStyle::kNormal_Weight , SkFontStyle::kItalic_Slant }, in DEF_TEST()
133 { "f13", SkFontStyle::kNormal_Weight , SkFontStyle::kItalic_Slant }, in DEF_TEST()
134 { "f14", SkFontStyle::kNormal_Weight , SkFontStyle::kOblique_Slant }, in DEF_TEST()
135 { "f15", SkFontStyle::kNormal_Weight , SkFontStyle::kUpright_Slant }, in DEF_TEST()
/third_party/flutter/skia/docs/examples/
DPaint_refTypeface.cpp10 SkFontStyle(SkFontStyle::kNormal_Weight, SkFontStyle::kNormal_Width,
/third_party/skia/docs/examples/
DPaint_refTypeface.cpp10 SkFontStyle(SkFontStyle::kNormal_Weight, SkFontStyle::kNormal_Width,
/third_party/skia/src/ports/
DSkFontHost_FreeType.cpp1852 int weight = SkFontStyle::kNormal_Weight; in scanFont()
1878 { "all", SkFontStyle::kNormal_Weight }, // Multiple Masters usually default to normal. in scanFont()
1881 { "book", (SkFontStyle::kNormal_Weight + SkFontStyle::kLight_Weight)/2 }, in scanFont()
1891 { "normal", SkFontStyle::kNormal_Weight }, in scanFont()
1892 { "plain", SkFontStyle::kNormal_Weight }, in scanFont()
1893 { "regular", SkFontStyle::kNormal_Weight }, in scanFont()
1894 { "roman", SkFontStyle::kNormal_Weight }, in scanFont()
1896 { "standard", SkFontStyle::kNormal_Weight }, in scanFont()
DSkFontConfigInterface_direct.cpp405 { FC_WEIGHT_REGULAR, SkFS::kNormal_Weight }, in skfontstyle_from_fcpattern()
450 { SkFS::kNormal_Weight, FC_WEIGHT_REGULAR }, in fcpattern_from_skfontstyle()
DSkFontMgr_custom.cpp173 sk_sp<SkTypeface> tf(set->matchStyle(SkFontStyle(SkFontStyle::kNormal_Weight, in SkFontMgr_Custom()
DSkFontMgr_fontconfig.cpp315 { FC_WEIGHT_REGULAR, SkFS::kNormal_Weight }, in skfontstyle_from_fcpattern()
363 { SkFS::kNormal_Weight, FC_WEIGHT_REGULAR }, in fcpattern_from_skfontstyle()
/third_party/flutter/skia/src/ports/
DSkFontHost_FreeType.cpp1879 int weight = SkFontStyle::kNormal_Weight; in scanFont()
1905 { "all", SkFontStyle::kNormal_Weight }, // Multiple Masters usually default to normal. in scanFont()
1908 { "book", (SkFontStyle::kNormal_Weight + SkFontStyle::kLight_Weight)/2 }, in scanFont()
1918 { "normal", SkFontStyle::kNormal_Weight }, in scanFont()
1919 { "plain", SkFontStyle::kNormal_Weight }, in scanFont()
1920 { "regular", SkFontStyle::kNormal_Weight }, in scanFont()
1921 { "roman", SkFontStyle::kNormal_Weight }, in scanFont()
1923 { "standard", SkFontStyle::kNormal_Weight }, in scanFont()
DSkFontConfigInterface_direct.cpp420 { FC_WEIGHT_REGULAR, SkFS::kNormal_Weight }, in skfontstyle_from_fcpattern()
465 { SkFS::kNormal_Weight, FC_WEIGHT_REGULAR }, in fcpattern_from_skfontstyle()
DSkFontMgr_custom.cpp163 sk_sp<SkTypeface> tf(set->matchStyle(SkFontStyle(SkFontStyle::kNormal_Weight, in SkFontMgr_Custom()
DSkFontMgr_fontconfig.cpp339 { FC_WEIGHT_REGULAR, SkFS::kNormal_Weight }, in skfontstyle_from_fcpattern()
387 { SkFS::kNormal_Weight, FC_WEIGHT_REGULAR }, in fcpattern_from_skfontstyle()
/third_party/flutter/skia/src/core/
DSkTypeface.cpp97 : SkFontStyle::kNormal_Weight, in FromOldStyle()
138 fontStyle.weight() == SkFontStyle::kNormal_Weight)) { in MakeFromName()
/third_party/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp41 .value("Normal", SkFontStyle::Weight::kNormal_Weight) in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/svg/src/
DSkSVGText.cpp35 case SkSVGFontWeight::Type::k400: return SkFontStyle::kNormal_Weight; in ResolveFont()
41 case SkSVGFontWeight::Type::kNormal: return SkFontStyle::kNormal_Weight; in ResolveFont()
47 return SkFontStyle::kNormal_Weight; in ResolveFont()
/third_party/flutter/skia/src/ports/skia_ohos/
DFontConfig_ohos.cpp286 if ((dstWeight == SkFontStyle::kNormal_Weight && srcWeight == SkFontStyle::kMedium_Weight) || in getFontStyleDifference()
287 (dstWeight == SkFontStyle::kMedium_Weight && srcWeight == SkFontStyle::kNormal_Weight)) { in getFontStyleDifference()
289 } else if (dstWeight <= SkFontStyle::kNormal_Weight) { in getFontStyleDifference()
295 } else if (dstWeight > SkFontStyle::kNormal_Weight) { in getFontStyleDifference()
/third_party/skia/src/core/
DSkTypeface.cpp98 : SkFontStyle::kNormal_Weight, in FromOldStyle()
139 fontStyle.weight() == SkFontStyle::kNormal_Weight)) { in MakeFromName()
/third_party/flutter/skia/experimental/editor/
Deditor_application.cpp334 static constexpr SkFontStyle::Weight kFontWeight = SkFontStyle::kNormal_Weight;
/third_party/skia/modules/skplaintexteditor/app/
Deditor_application.cpp85 static constexpr SkFontStyle::Weight kFontWeight = SkFontStyle::kNormal_Weight;
/third_party/flutter/skia/samplecode/
DSampleParagraph.cpp117 : SkFontStyle::Weight::kNormal_Weight, in drawTest()
702 style0.setFontStyle(SkFontStyle(SkFontStyle::kNormal_Weight, SkFontStyle::kNormal_Width, in bidi()
/third_party/skia/tests/
DFontMgrTest.cpp218 …SkFontStyle normal_normal_400(SkFontStyle::kNormal_Weight, SkFontStyle::kNormal_Width, SkFontS… in DEF_TEST()
/third_party/flutter/skia/tests/
DFontMgrTest.cpp210 …SkFontStyle normal_normal_400(SkFontStyle::kNormal_Weight, SkFontStyle::kNormal_Width, SkFontS… in test_matchStyleCSS3()

12