Lines Matching defs:rects
216 static bool draw_rects_into_mask(const SkRect rects[], int count, SkMask* mask) {
217 if (!prepare_to_draw_into_mask(rects[0], mask)) {
236 canvas.drawRect(rects[0], paint);
239 SkPath path = SkPathBuilder().addRect(rects[0])
240 .addRect(rects[1])
281 const SkRect rects[], int count) {
282 return SkMaskCache::FindAndRef(sigma, style, rects, count, mask);
286 const SkRect rects[], int count) {
289 SkMaskCache::Add(sigma, style, rects, count, *mask, cache);
329 // for now, just skip too-large src rects (to take the old code path).
429 // Use the faster analytic blur approach for ninepatch rects
433 SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], int count,
448 // for now, just skip too-large src rects (to take the old code path).
449 if (rect_exceeds(rects[0], SkIntToScalar(32767))) {
455 srcM.fBounds = rects[0].roundOut();
463 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin,
500 rects[1].roundIn(&innerIR);
519 smallR[0].setLTRB(rects[0].left(), rects[0].top(),
520 rects[0].right() - dx, rects[0].bottom() - dy);
525 smallR[1].setLTRB(rects[1].left(), rects[1].top(),
526 rects[1].right() - dx, rects[1].bottom() - dy);