Lines Matching refs:rect
104 name->append("rect");
648 static void add_corner_arc(SkPath* path, const SkRect& rect,
653 SkScalar rx = SkMinScalar(rect.width(), xIn);
654 SkScalar ry = SkMinScalar(rect.height(), yIn);
660 arcRect.offset(rect.fRight - arcRect.fRight, rect.fBottom - arcRect.fBottom);
663 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fBottom - arcRect.fBottom);
666 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fTop - arcRect.fTop);
669 arcRect.offset(rect.fRight - arcRect.fRight, rect.fTop - arcRect.fTop);
741 fName.append("rect");
766 const SkRect& rect = fQueryRects[i % kQueryRectCnt];
767 fParity = fParity != fPath.conservativelyContainsRect(rect);
791 static const SkSize kQueryMin; // minimum query rect size, should be <= kQueryMax
792 static const SkSize kQueryMax; // max query rect size, should < kBounds
793 static const SkRect kBaseRect; // rect that is used to construct the path
794 static const SkScalar kRRRadii[2]; // x and y radii for round rect