Lines Matching refs:srcPt
54 SkPoint srcPt;
55 s.fInvProc(s.fInvMatrix, x + 0.5f, y + 0.5f, &srcPt);
56 srcPt.fX -= SK_ScalarHalf;
57 srcPt.fY -= SK_ScalarHalf;
62 int y0 = SkClampMax(SkScalarCeilToInt(srcPt.fY-s.getBitmapFilter()->width()), maxY);
63 int y1 = SkClampMax(SkScalarFloorToInt(srcPt.fY+s.getBitmapFilter()->width()+1), maxY);
64 int x0 = SkClampMax(SkScalarCeilToInt(srcPt.fX-s.getBitmapFilter()->width()), maxX);
65 int x1 = SkClampMax(SkScalarFloorToInt(srcPt.fX+s.getBitmapFilter()->width())+1, maxX);
69 xWeights[srcX - x0] = s.getBitmapFilter()->lookupScalar((srcPt.fX - srcX));
73 SkScalar yWeight = s.getBitmapFilter()->lookupScalar((srcPt.fY - srcY));