Home
last modified time | relevance | path

Searched refs:Slant (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/include/core/
DSkFontStyle.h42 enum Slant { enum
48 constexpr SkFontStyle(int weight, int width, Slant slant) : fValue( in SkFontStyle()
62 Slant slant() const { return (Slant)((fValue >> 24) & 0xFF); } in slant()
/third_party/flutter/skia/include/core/
DSkFontStyle.h41 enum Slant { enum
47 constexpr SkFontStyle(int weight, int width, Slant slant) : fValue( in SkFontStyle()
61 Slant slant() const { return (Slant)((fValue >> 24) & 0xFF); } in slant()
/third_party/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp31 enum_<SkFontStyle::Slant>("FontSlant") in EMSCRIPTEN_BINDINGS()
32 .value("Upright", SkFontStyle::Slant::kUpright_Slant) in EMSCRIPTEN_BINDINGS()
33 .value("Italic", SkFontStyle::Slant::kItalic_Slant) in EMSCRIPTEN_BINDINGS()
34 .value("Oblique", SkFontStyle::Slant::kOblique_Slant); in EMSCRIPTEN_BINDINGS()
/third_party/skia/src/ports/
DSkFontMgr_fuchsia.cpp55 fuchsia::fonts::Slant SkToFuchsiaSlant(SkFontStyle::Slant slant) { in SkToFuchsiaSlant()
58 return fuchsia::fonts::Slant::OBLIQUE; in SkToFuchsiaSlant()
60 return fuchsia::fonts::Slant::ITALIC; in SkToFuchsiaSlant()
63 return fuchsia::fonts::Slant::UPRIGHT; in SkToFuchsiaSlant()
67 SkFontStyle::Slant FuchsiaToSkSlant(fuchsia::fonts::Slant slant) { in FuchsiaToSkSlant()
69 case fuchsia::fonts::Slant::OBLIQUE: in FuchsiaToSkSlant()
71 case fuchsia::fonts::Slant::ITALIC: in FuchsiaToSkSlant()
73 case fuchsia::fonts::Slant::UPRIGHT: in FuchsiaToSkSlant()
DSkFontConfigInterface_direct.cpp97 SkFontStyle::Slant slant = (SkFontStyle::Slant)u8; in readFromMemory()
430 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern()
DSkTypeface_win_dw.h30 SkFontStyle::Slant slant = SkFontStyle::kUpright_Slant; in get_style()
/third_party/flutter/skia/src/ports/
DSkFontMgr_fuchsia.cpp55 fuchsia::fonts::Slant SkToFuchsiaSlant(SkFontStyle::Slant slant) { in SkToFuchsiaSlant()
58 return fuchsia::fonts::Slant::OBLIQUE; in SkToFuchsiaSlant()
60 return fuchsia::fonts::Slant::ITALIC; in SkToFuchsiaSlant()
63 return fuchsia::fonts::Slant::UPRIGHT; in SkToFuchsiaSlant()
67 SkFontStyle::Slant FuchsiaToSkSlant(fuchsia::fonts::Slant slant) { in FuchsiaToSkSlant()
69 case fuchsia::fonts::Slant::OBLIQUE: in FuchsiaToSkSlant()
71 case fuchsia::fonts::Slant::ITALIC: in FuchsiaToSkSlant()
73 case fuchsia::fonts::Slant::UPRIGHT: in FuchsiaToSkSlant()
DSkFontConfigInterface_direct.cpp112 SkFontStyle::Slant slant = (SkFontStyle::Slant)u8; in readFromMemory()
445 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern()
DSkTypeface_win_dw.h30 SkFontStyle::Slant slant = SkFontStyle::kUpright_Slant; in get_style()
DSkFontMgr_preview.h216 SkFontStyle::Slant slant = style.slant(); in SkFontStyleSet_Preview()
DSkFontMgr_android.cpp211 SkFontStyle::Slant slant = style.slant(); in SkFontStyleSet_Android()
/third_party/flutter/engine/flutter/third_party/txt/src/skia/
Dparagraph_builder_skia.cc41 font_style == txt::FontStyle::normal ? SkFontStyle::Slant::kUpright_Slant in MakeSkFontStyle()
42 : SkFontStyle::Slant::kItalic_Slant); in MakeSkFontStyle()
/third_party/skia/docs/examples/
DSkFontMgr_example.cpp5 const char* tostr(SkFontStyle::Slant s) { in tostr()
DSkFontMgr_example2.cpp5 const char* tostr(SkFontStyle::Slant s) { in tostr()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-aat-fdsc-table.hh86 Slant = HB_TAG ('s','l','n','t'), enumerator
/third_party/flutter/skia/modules/skottie/src/layers/
DTextLayer.cpp72 const SkFontStyle::Slant fSlant; in FontStyle()
78 SkFontStyle::Slant slant = SkFontStyle::kUpright_Slant; in FontStyle()
/third_party/flutter/skia/src/core/
DSkFontDescriptor.cpp64 static_cast<SkFontStyle::Slant>(styleBits & 0xFF)); in Deserialize()
/third_party/skia/src/core/
DSkFontDescriptor.cpp62 static_cast<SkFontStyle::Slant>(styleBits & 0xFF)); in Deserialize()
/third_party/skia/modules/skottie/tests/
DText.cpp117 SkFontStyle::Slant slant; in DEF_TEST()
/third_party/skia/modules/skottie/src/layers/
DTextLayer.cpp78 static constexpr std::tuple<const char*, SkFontStyle::Slant> gSlantMap[] = { in FontStyle()
/third_party/skia/tools/fonts/
Dcreate_test_font.cpp305 static const char* slant_to_string(SkFontStyle::Slant slant) { in slant_to_string()
/third_party/flutter/skia/tools/fonts/
Dcreate_test_font.cpp308 static const char* slant_to_string(SkFontStyle::Slant slant) { in slant_to_string()
/third_party/flutter/skia/src/ports/skia_ohos/
DFontConfig_ohos.cpp916 SkFontStyle::Slant slant = font.style.slant(); in insertVariableFont()
921 slant = (SkFontStyle::Slant) variationSet[i].slant; in insertVariableFont()
/third_party/flutter/skia/experimental/editor/
Deditor_application.cpp336 static constexpr SkFontStyle::Slant kFontSlant = SkFontStyle::kUpright_Slant;
/third_party/skia/modules/skplaintexteditor/app/
Deditor_application.cpp87 static constexpr SkFontStyle::Slant kFontSlant = SkFontStyle::kUpright_Slant;

12