Lines Matching defs:dst

252     // Src and dst have been restricted to the image content. May need to clamp, no need to decal.
254 // Src and dst are their original sizes, requires use of a decal instead of plain clamping.
255 // This is used when a dst clip is provided and extends outside of the optimized dst rect.
257 // Src or dst are empty, or do not intersect the image content so don't draw anything.
264 * to draw will be output to 'outDstRect'. The mapping between src and dst will be cached in
277 SkRect dst = origDstRect ? *origDstRect : src;
279 if (src.isEmpty() || dst.isEmpty()) {
284 *srcToDst = SkMatrix::RectToRect(src, dst);
293 srcToDst->mapRect(&dst, src);
295 // Both src and dst have gotten smaller. If dstClip is provided, confirm it is still
296 // contained in dst, otherwise cannot optimize the sample area and must use a decal instead
299 if (!dst.contains(dstClip[i].fX, dstClip[i].fY)) {
301 // use the original dst rect (filling in src bounds as needed)
311 // The original src and dst were fully contained in the image, or there was no dst clip to
312 // worry about, or the clip was still contained in the restricted dst rect.
314 *outDstRect = dst;
420 const SkRect& dst,
446 dst,
474 // same happens for any mask filter that extends the bounds rendered in the dst.
540 // Calculate texture coordinates that match the dst clip
541 GrMapRectPoints(dst, src, dstClip, srcClipPoints, 4);
547 sdc->fillRectWithEdgeAA(clip, std::move(grPaint), aa, aaFlags, ctm, dst,
561 shape = GrStyledShape(dst);
716 SkRect dst = SkRect::MakeWH(special->width(), special->height());
717 SkMatrix srcToDst = SkMatrix::RectToRect(src, dst);
742 dst,
762 SkRect dst;
765 srcRect, dstRect, dstClip, &src, &dst, &srcToDst);
846 dst,
921 // Manage the dst clip pointer tracking before any continues are used so we don't lose