Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkShadowTessellator.cpp463 SkPoint centerPoint = fPositions[fPrevUmbraIndex] + fPositions[fFirstVertexIndex]; in SkAmbientShadowTessellator() local
464 centerPoint *= 0.5f; in SkAmbientShadowTessellator()
465 *fPositions.push() = centerPoint; in SkAmbientShadowTessellator()
467 centerPoint = fPositions[fPositions.count()-2] + fPositions[fFirstVertexIndex+1]; in SkAmbientShadowTessellator()
468 centerPoint *= 0.5f; in SkAmbientShadowTessellator()
469 *fPositions.push() = centerPoint; in SkAmbientShadowTessellator()
492 fPositions[0] += centerPoint; in SkAmbientShadowTessellator()
649 SkPoint centerPoint = fPositions[fPrevUmbraIndex] + umbraPoint; in addEdge() local
650 centerPoint *= 0.5f; in addEdge()
651 *fPositions.push() = centerPoint; in addEdge()
[all …]
/external/skia/src/core/
DSkPath.cpp1393 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo() local
1394 centerPoint *= 0.5f; in arcTo()
1395 centerPoint.offset(-delta.fY, delta.fX); in arcTo()
1396 unitPts[0] -= centerPoint; in arcTo()
1397 unitPts[1] -= centerPoint; in arcTo()
1422 unitPts[1] += centerPoint; in arcTo()
/external/skia/src/xps/
DSkXPSDevice.cpp905 XPS_POINT centerPoint; in createXpsRadialGradient() local
909 centerPoint = xps_point(info.fPoint[0]); in createXpsRadialGradient()
914 centerPoint = xps_point(info.fPoint[0], localMatrix); in createXpsRadialGradient()
934 &centerPoint, in createXpsRadialGradient()