382 {
384
385 int32_t mask = encoded[0];
386
387
388
390
392
393
394 if (mask & kTSColorMask) {
395 style.
color = encoded[kTSColorIndex];
396 }
397
398 if (mask & kTSTextDecorationMask) {
401 }
402
403 if (mask & kTSTextDecorationColorMask) {
405 }
406
407 if (mask & kTSTextDecorationStyleMask) {
409 encoded[kTSTextDecorationStyleIndex]);
410 }
411
412 if (mask & kTSTextDecorationThicknessMask) {
414 }
415
416 if (mask & kTSTextBaselineMask) {
417
418
419 }
420
421 if (mask & (kTSFontWeightMask | kTSFontStyleMask | kTSFontSizeMask |
422 kTSLetterSpacingMask | kTSWordSpacingMask)) {
423 if (mask & kTSFontWeightMask) {
426 }
427
428 if (mask & kTSFontStyleMask) {
431 }
432
433 if (mask & kTSFontSizeMask) {
435 }
436
437 if (mask & kTSLetterSpacingMask) {
439 }
440
441 if (mask & kTSWordSpacingMask) {
443 }
444 }
445
446 if (mask & kTSHeightMask) {
449 }
450
451 if (mask & kTSLocaleMask) {
453 }
454
455 if (mask & kTSBackgroundMask) {
456 Paint background(background_objects, background_data);
457 if (background.isNotNull()) {
458 DlPaint dl_paint;
459 background.toDlPaint(dl_paint);
461 }
462 }
463
464 if (mask & kTSForegroundMask) {
465 Paint foreground(foreground_objects, foreground_data);
466 if (foreground.isNotNull()) {
467 DlPaint dl_paint;
468 foreground.toDlPaint(dl_paint);
470 }
471 }
472
473 if (mask & kTSTextShadowsMask) {
475 }
476
477 if (mask & kTSFontFamilyMask) {
478
479
480
482 }
483
484 if (mask & kTSFontFeaturesMask) {
486 }
487
488 if (mask & kTSFontVariationsMask) {
490 }
491
492 m_paragraph_builder_->PushStyle(style);
493}
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)