Home
last modified time | relevance | path

Searched refs:scale_half (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/core/
DSkGeometry.cpp1162 double scale_half = 1 / (1 + w_d) * 0.5; in chop() local
1163 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()
/external/skia/src/core/
DSkGeometry.cpp1365 double scale_half = 1 / (1 + w_d) * 0.5; in chop() local
1366 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()