Lines Matching refs:rect
148 * Draw the rect using a paint.
150 * @param GrAA Controls whether rect is antialiased
167 * @param GrAA Controls whether rect is antialiased
186 SkRect rect = SkRect::Make(bounds);
187 DrawQuad quad{GrQuad::MakeFromRect(rect, SkMatrix::I()),
188 GrQuad::MakeFromRect(rect, localMatrix), GrQuadAAFlags::kNone};
193 * Creates an op that draws a fill rect with per-edge control over anti-aliasing.
199 const SkMatrix& viewMatrix, const SkRect& rect,
202 this->fillRectToRect(clip, std::move(paint), aa, viewMatrix, rect,
203 (optionalLocalRect) ? *optionalLocalRect : rect);
206 const SkRect& localRect = optionalLocalRect ? *optionalLocalRect : rect;
207 DrawQuad quad{GrQuad::MakeFromRect(rect, viewMatrix), GrQuad(localRect), edgeAA};
260 * 'subset' is null, it's equivalent to using the fast src rect constraint. If 'subset' is
261 * provided, the strict src rect constraint is applied using 'subset'.
423 * @param oval the bounding rect of the oval.
439 * @param oval the bounding rect of the oval.
534 const SkRect& rect,
537 // resolution compared to regular rect draws, which is the main reason it remains separate.
538 DrawQuad quad{GrQuad::MakeFromRect(rect, viewMatrix),
539 localMatrix ? GrQuad::MakeFromRect(rect, *localMatrix) : GrQuad(rect),
656 // quad optimizations, so all quad/rect public APIs should rely on this function for consistent