Lines Matching refs:placeholder
569 for (auto& placeholder : fParagraph->fPlaceholders) {
571 if (placeholder.fTextBefore.width() > 0) {
575 auto start = std::max(bidiRegion.start, placeholder.fTextBefore.start);
576 auto end = std::min(bidiRegion.end, placeholder.fTextBefore.end);
597 } else /*if (end == placeholder.fTextBefore.end)*/ {
603 if (placeholder.fRange.width() == 0) {
607 // Get the placeholder font
609 placeholder.fTextStyle.getFontFamilies(),
610 placeholder.fTextStyle.getFontStyle(),
611 placeholder.fTextStyle.getFontArguments());
614 SkFont font(typeface, placeholder.fTextStyle.getFontSize());
616 RSFont font(typeface, placeholder.fTextStyle.getFontSize(), 1, 0);
619 // "Shape" the placeholder
626 SkPoint::Make(placeholder.fStyle.fWidth, placeholder.fStyle.fHeight),
628 SkShaper::RunHandler::Range(0, placeholder.fRange.width())
632 placeholder.fRange.start,
642 run.fPlaceholderIndex = &placeholder - fParagraph->fPlaceholders.begin();
643 advanceX += placeholder.fStyle.fWidth;