Lines Matching refs:srcPt
34 SkPoint srcPt;
36 y + 0.5f, &srcPt);
37 srcPt.fX -= SK_ScalarHalf;
38 srcPt.fY -= SK_ScalarHalf;
43 int y0 = SkClampMax(SkScalarCeilToInt(srcPt.fY-s.getBitmapFilter()->width()), maxY);
44 int y1 = SkClampMax(SkScalarFloorToInt(srcPt.fY+s.getBitmapFilter()->width()+1), maxY);
45 int x0 = SkClampMax(SkScalarCeilToInt(srcPt.fX-s.getBitmapFilter()->width()), maxX);
46 int x1 = SkClampMax(SkScalarFloorToInt(srcPt.fX+s.getBitmapFilter()->width())+1, maxX);
50 xWeights[srcX - x0] = s.getBitmapFilter()->lookupScalar((srcPt.fX - srcX));
54 SkScalar yWeight = s.getBitmapFilter()->lookupScalar((srcPt.fY - srcY));