Searched refs:scale_half (Results 1 – 2 of 2) sorted by relevance
1162 double scale_half = 1 / (1 + w_d) * 0.5; in chop() local1163 mPt.fX = SkDoubleToScalar((fPts[0].fX + w_2 * fPts[1].fX + fPts[2].fX) * scale_half); in chop()1164 mPt.fY = SkDoubleToScalar((fPts[0].fY + w_2 * fPts[1].fY + fPts[2].fY) * scale_half); in chop()
1365 double scale_half = 1 / (1 + w_d) * 0.5; in chop() local1366 mPt.fX = SkDoubleToScalar((fPts[0].fX + w_2 * fPts[1].fX + fPts[2].fX) * scale_half); in chop()1367 mPt.fY = SkDoubleToScalar((fPts[0].fY + w_2 * fPts[1].fY + fPts[2].fY) * scale_half); in chop()