Lines Matching refs:rect
101 name->append("rect");
732 static void add_corner_arc(SkPath* path, const SkRect& rect,
737 SkScalar rx = std::min(rect.width(), xIn);
738 SkScalar ry = std::min(rect.height(), yIn);
744 arcRect.offset(rect.fRight - arcRect.fRight, rect.fBottom - arcRect.fBottom);
747 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fBottom - arcRect.fBottom);
750 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fTop - arcRect.fTop);
753 arcRect.offset(rect.fRight - arcRect.fRight, rect.fTop - arcRect.fTop);
825 fName.append("rect");
850 const SkRect& rect = fQueryRects[i % kQueryRectCnt];
851 fParity = fParity != fPath.conservativelyContainsRect(rect);
875 static const SkSize kQueryMin; // minimum query rect size, should be <= kQueryMax
876 static const SkSize kQueryMax; // max query rect size, should < kBounds
877 static const SkRect kBaseRect; // rect that is used to construct the path
878 static const SkScalar kRRRadii[2]; // x and y radii for round rect