Flutter Engine
The Flutter Engine
|
Namespaces | |
namespace | testing |
Classes | |
class | AssetFontManager |
class | DynamicFontManager |
class | FontAssetProvider |
class | FontCollection |
class | FontFeatures |
class | FontVariations |
class | LineMetrics |
class | Paragraph |
class | ParagraphBuilder |
class | ParagraphBuilderSkia |
ParagraphBuilder implementation using Skia's text layout module. More... | |
class | ParagraphSkia |
class | ParagraphStyle |
class | PlaceholderRun |
class | RunMetrics |
class | SkiaParagraphBuilderTests |
class | TestFontManager |
class | TextShadow |
class | TextStyle |
class | TypefaceFontAssetProvider |
class | TypefaceFontStyleSet |
Typedefs | |
using | PaintID = skt::ParagraphPainter::PaintID |
Enumerations | |
enum class | FontStyle { normal , italic } |
enum class | FontWeight { w100 , w200 , w300 , w400 , w500 , w600 , w700 , w800 , w900 } |
enum class | TextAlign { left , right , center , justify , start , end } |
enum class | TextDirection { rtl , ltr } |
enum | TextHeightBehavior { kAll = 0x0 , kDisableFirstAscent = 0x1 , kDisableLastDescent = 0x2 , kDisableAll = 0x1 | 0x2 } |
enum class | PlaceholderAlignment { kBaseline , kAboveBaseline , kBelowBaseline , kTop , kBottom , kMiddle } |
Where to vertically align the placeholder relative to the surrounding text. More... | |
enum | TextBaseline { kAlphabetic , kIdeographic } |
enum | TextDecoration { kNone = 0x0 , kUnderline = 0x1 , kOverline = 0x2 , kLineThrough = 0x4 } |
enum | TextDecorationStyle { kSolid , kDouble , kDotted , kDashed , kWavy } |
Functions | |
std::vector< std::string > | GetDefaultFontFamilies () |
sk_sp< SkFontMgr > | GetDefaultFontManager (uint32_t font_initialization_data) |
void | RegisterSystemFonts (const DynamicFontManager &dynamic_font_manager) |
fml::CFRef< CTFontRef > | MatchSystemUIFont (float desired_weight, float size) |
TEST_F (SkiaParagraphBuilderTests, ParagraphStrutStyle) | |
const std::string & | GetFontDir () |
void | SetFontDir (const std::string &dir) |
Variables | |
const FourCharCode | kWeightTag = 'wght' |
static std::string | gFontDir |
using txt::PaintID = typedef skt::ParagraphPainter::PaintID |
Definition at line 29 of file paragraph_skia.cc.
|
strong |
Enumerator | |
---|---|
normal | |
italic |
Definition at line 22 of file font_style.h.
|
strong |
Enumerator | |
---|---|
w100 | |
w200 | |
w300 | |
w400 | |
w500 | |
w600 | |
w700 | |
w800 | |
w900 |
Definition at line 22 of file font_weight.h.
|
strong |
Where to vertically align the placeholder relative to the surrounding text.
Definition at line 25 of file placeholder_run.h.
|
strong |
enum txt::TextBaseline |
Enumerator | |
---|---|
kAlphabetic | |
kIdeographic |
Definition at line 22 of file text_baseline.h.
enum txt::TextDecoration |
Enumerator | |
---|---|
kNone | |
kUnderline | |
kOverline | |
kLineThrough |
Definition at line 24 of file text_decoration.h.
|
strong |
Enumerator | |
---|---|
rtl | |
ltr |
Definition at line 38 of file paragraph_style.h.
Enumerator | |
---|---|
kAll | |
kDisableFirstAscent | |
kDisableLastDescent | |
kDisableAll |
Definition at line 57 of file paragraph_style.h.
std::vector< std::string > txt::GetDefaultFontFamilies | ( | ) |
Definition at line 13 of file platform.cc.
Definition at line 17 of file platform.cc.
const std::string & txt::GetFontDir | ( | ) |
Definition at line 23 of file txt_test_utils.cc.
fml::CFRef< CTFontRef > txt::MatchSystemUIFont | ( | float | desired_weight, |
float | size | ||
) |
Definition at line 46 of file platform_mac.mm.
void txt::RegisterSystemFonts | ( | const DynamicFontManager & | dynamic_font_manager | ) |
Definition at line 83 of file platform_mac.mm.
void txt::SetFontDir | ( | const std::string & | dir | ) |
Definition at line 27 of file txt_test_utils.cc.
txt::TEST_F | ( | SkiaParagraphBuilderTests | , |
ParagraphStrutStyle | |||
) |
Definition at line 33 of file paragraph_builder_skia_tests.cc.
|
static |
Definition at line 21 of file txt_test_utils.cc.
const FourCharCode txt::kWeightTag = 'wght' |
Definition at line 31 of file platform_mac.mm.