384 {
386
387 int32_t mask = encoded[0];
388
389
390
392
394
395
396 if (mask & kTSColorMask) {
397 style.
color = encoded[kTSColorIndex];
398 }
399
400 if (mask & kTSTextDecorationMask) {
403 }
404
405 if (mask & kTSTextDecorationColorMask) {
407 }
408
409 if (mask & kTSTextDecorationStyleMask) {
411 encoded[kTSTextDecorationStyleIndex]);
412 }
413
414 if (mask & kTSTextDecorationThicknessMask) {
416 }
417
418 if (mask & kTSTextBaselineMask) {
419
420
421 }
422
423 if (mask & (kTSFontWeightMask | kTSFontStyleMask | kTSFontSizeMask |
424 kTSLetterSpacingMask | kTSWordSpacingMask)) {
425 if (mask & kTSFontWeightMask) {
428 }
429
430 if (mask & kTSFontStyleMask) {
433 }
434
435 if (mask & kTSFontSizeMask) {
437 }
438
439 if (mask & kTSLetterSpacingMask) {
441 }
442
443 if (mask & kTSWordSpacingMask) {
445 }
446 }
447
448 if (mask & kTSHeightMask) {
451 }
452
453 if (mask & kTSLocaleMask) {
455 }
456
457 if (mask & kTSBackgroundMask) {
458 Paint background(background_objects, background_data);
459 if (background.isNotNull()) {
461 background.toDlPaint(dl_paint);
463 }
464 }
465
466 if (mask & kTSForegroundMask) {
467 Paint foreground(foreground_objects, foreground_data);
468 if (foreground.isNotNull()) {
470 foreground.toDlPaint(dl_paint);
472 }
473 }
474
475 if (mask & kTSTextShadowsMask) {
477 }
478
479 if (mask & kTSFontFamilyMask) {
480
481
482
484 }
485
486 if (mask & kTSFontFeaturesMask) {
488 }
489
490 if (mask & kTSFontVariationsMask) {
492 }
493
494 m_paragraph_builder_->PushStyle(style);
495}
std::vector< std::string > font_families
std::optional< flutter::DlPaint > foreground
TextDecorationStyle decoration_style
FontFeatures font_features
FontVariations font_variations
std::vector< TextShadow > text_shadows
double decoration_thickness_multiplier
std::optional< flutter::DlPaint > background
#define FML_DCHECK(condition)
void decodeFontVariations(Dart_Handle font_variations_data, txt::FontVariations &font_variations)
void decodeTextShadows(Dart_Handle shadows_data, std::vector< txt::TextShadow > &decoded_shadows)
void decodeFontFeatures(Dart_Handle font_features_data, txt::FontFeatures &font_features)
const double kTextHeightNone