Lines Matching refs:srcPt
53 SkPoint srcPt;
55 SkIntToScalar(y), &srcPt);
56 srcPt.fX -= SK_ScalarHalf;
57 srcPt.fY -= SK_ScalarHalf;
59 int sx = SkScalarFloorToInt(srcPt.fX);
60 int sy = SkScalarFloorToInt(srcPt.fY);
71 float yweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fY - src_y));
74 float xweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fX - src_x));
116 SkPoint srcPt;
118 SkIntToScalar(y), &srcPt);
119 srcPt.fY -= SK_ScalarHalf;
120 int sy = SkScalarFloorToInt(srcPt.fY);
126 srcPt.fX -= SK_ScalarHalf;
127 srcPt.fY -= SK_ScalarHalf;
129 int sx = SkScalarFloorToInt(srcPt.fX);
138 float yweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fY - src_y));
141 float xweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fX - src_x));
175 SkIntToScalar(y), &srcPt);