Lines Matching defs:textStyle
1456 // get textStyle to calculate text box when text is empty(reference to ParagraphImpl::computeEmptyMetrics())
1458 TextStyle textStyle = paragraphStyle().getTextStyle();
1460 textStyle = fTextStyles.back().fStyle;
1468 if (textStyle.getHeightOverride() && textStyle.getHeight() > 0) {
1745 TextStyle textStyle = paragraphStyle().getTextStyle();
1747 textStyle = fTextStyles.back().fStyle;
1751 textStyle.getFontFamilies(), textStyle.getFontStyle(), textStyle.getFontArguments());
1755 SkFont font(typeface, textStyle.getFontSize());
1757 RSFont font(typeface, textStyle.getFontSize(), 1, 0);
1762 textStyle.getHeightOverride()) {
1768 const auto strutHeight = textStyle.getHeight() * textStyle.getFontSize();
1826 for (auto& textStyle : fTextStyles) {
1827 textStyle.fStyle.setFontSize(fontSize);
1849 for (auto& textStyle : fTextStyles) {
1850 textStyle.fStyle.setForegroundColor(paint);
1860 for (auto& textStyle : fTextStyles) {
1861 textStyle.fStyle.setBackgroundColor(paint);
1866 ParagraphPainter::PaintID ParagraphImpl::updateTextStyleColorAndForeground(TextStyle& textStyle, SkColor color)
1868 textStyle.setColor(color);
1869 if (textStyle.hasForeground()) {
1870 auto paintOrID = textStyle.getForegroundPaintOrID();
1874 textStyle.setForegroundPaint(*paint);
1902 for (auto& textStyle : fTextStyles) {
1903 auto& fRange = textStyle.fRange;
1910 auto paintID = updateTextStyleColorAndForeground(textStyle.fStyle, color);