Lines Matching defs:rect
313 return attr.roundRectStyle.color != 0 && attr.rect.width() > 0;
330 // index - preIndex > 1 means the left run has no background rect
356 maxRoundRectRadius = std::fmin(std::fmin(attr.rect.width(), attr.rect.height()), maxRoundRectRadius);
357 minTop = std::fmin(minTop, attr.rect.top());
358 maxBottom = std::fmax(maxBottom, attr.rect.bottom());
701 SkRect skRect(SkRect::MakeLTRB(attr.rect.left(), run->getTopInGroup(), attr.rect.right(),
1977 if (nearlyEqual(lastBox.rect.fTop, clip.fTop) &&
1978 nearlyEqual(lastBox.rect.fBottom, clip.fBottom) &&
1979 (nearlyEqual(lastBox.rect.fLeft, clip.fRight) ||
1980 nearlyEqual(lastBox.rect.fRight, clip.fLeft)))
1982 lastBox.rect.fLeft = std::min(lastBox.rect.fLeft, clip.fLeft);
1983 lastBox.rect.fRight = std::max(lastBox.rect.fRight, clip.fRight);
2004 if (left.rect.fLeft > lineStart && left.direction == TextDirection::kRtl) {
2005 left.rect.fRight = left.rect.fLeft;
2006 left.rect.fLeft = 0;
2010 right.rect.fRight >= lineEnd &&
2011 right.rect.fRight < fOwner->widthWithTrailingSpaces()) {
2012 right.rect.fLeft = right.rect.fRight;
2013 right.rect.fRight = fOwner->widthWithTrailingSpaces();
2024 r.rect.fLeft = littleRound(r.rect.fLeft);
2025 r.rect.fRight = littleRound(r.rect.fRight);
2026 r.rect.fTop = littleRound(r.rect.fTop);
2027 r.rect.fBottom = littleRound(r.rect.fBottom);
2411 SkRect rect = {0.0, 0.0, 0.0, 0.0};
2431 // Gets rect information for all characters in line.
2453 rect.setXYWH(x, y, width, height);
2454 return {rect.fLeft, rect.fTop, rect.fRight, rect.fBottom};