Home
last modified time | relevance | path

Searched refs:fCentroid (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/src/utils/
H A DSkShadowTessellator.cpp104 SkPoint fCentroid; member in SkBaseShadowTessellator
160 , fCentroid({0, 0}) in SkBaseShadowTessellator()
187 fCentroid.fX += (v0.fX + v1.fX) * quadArea; in accumulateCentroid()
188 fCentroid.fY += (v0.fY + v1.fY) * quadArea; in accumulateCentroid()
231 fCentroid *= sk_ieee_float_divide(1, 3 * fArea); in finishPathPolygon()
232 fCentroid += fPathPolygon[0]; in finishPathPolygon()
253 SkScalar minDistSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, in computeConvexShadow()
265 SkScalar distSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, currPoint, in computeConvexShadow()
297 fPositions.push_back(fCentroid); in computeConvexShadow()
322 fCentroid, in computeConvexShadow()
[all...]

Completed in 2 milliseconds