Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkShadowTessellator.cpp1030 SkPoint curvePoint; in computeClipAndPathPolygons() local
1042 curvePoint.fX = 0.25f*pts[0].fX + 0.5f*pts[1].fX + 0.25f*pts[2].fX; in computeClipAndPathPolygons()
1043 curvePoint.fY = 0.25f*pts[0].fY + 0.5f*pts[1].fY + 0.25f*pts[2].fY; in computeClipAndPathPolygons()
1044 *fClipPolygon.push() = curvePoint; in computeClipAndPathPolygons()
1052 curvePoint.fX = 0.25f*pts[0].fX + w*0.5f*pts[1].fX + 0.25f*pts[2].fX; in computeClipAndPathPolygons()
1053 curvePoint.fY = 0.25f*pts[0].fY + w*0.5f*pts[1].fY + 0.25f*pts[2].fY; in computeClipAndPathPolygons()
1054 curvePoint *= SkScalarInvert(0.5f + 0.5f*w); in computeClipAndPathPolygons()
1055 *fClipPolygon.push() = curvePoint; in computeClipAndPathPolygons()
1062 curvePoint.fX = kA*pts[0].fX + kB*pts[1].fX + kC*pts[2].fX + kD*pts[3].fX; in computeClipAndPathPolygons()
1063 curvePoint.fY = kA*pts[0].fY + kB*pts[1].fY + kC*pts[2].fY + kD*pts[3].fY; in computeClipAndPathPolygons()
[all …]