Lines Matching refs:tmpSrc
969 SkRect bitmapBounds, tmpSrc, tmpDst;
976 tmpSrc = *src;
978 tmpSrc = bitmapBounds;
980 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit);
984 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if
988 if (!tmpSrc.intersect(bitmapBounds)) {
991 // recompute dst, based on the smaller tmpSrc
992 matrix.mapRect(&tmpDst, tmpSrc);
999 tmpSrc.roundOut(&srcIR);