Searched refs:umbraPoint (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/utils/ |
D | SkShadowTessellator.cpp | 56 bool clipUmbraPoint(const SkPoint& umbraPoint, const SkPoint& centroid, SkPoint* clipPoint); 459 bool SkBaseShadowTessellator::clipUmbraPoint(const SkPoint& umbraPoint, const SkPoint& centroid, in clipUmbraPoint() argument 461 SkVector segmentVector = centroid - umbraPoint; in clipUmbraPoint() 465 SkVector dp = umbraPoint - fClipPolygon[fCurrClipIndex]; in clipUmbraPoint() 481 *clipPoint = umbraPoint + segmentVector; in clipUmbraPoint() 494 SkPoint umbraPoint; in addInnerPoint() local 498 umbraPoint = pathPoint + v; in addInnerPoint() 500 umbraPoint = umbraPolygon[this->getClosestUmbraIndex(pathPoint, umbraPolygon)]; in addInnerPoint() 507 !duplicate_pt(umbraPoint, fPositions[fPrevUmbraIndex])) { in addInnerPoint() 509 if (fPrevUmbraIndex >= 0 && duplicate_pt(umbraPoint, fPositions[fFirstVertexIndex])) { in addInnerPoint() [all …]
|
/external/skia/src/utils/ |
D | SkShadowTessellator.cpp | 56 bool clipUmbraPoint(const SkPoint& umbraPoint, const SkPoint& centroid, SkPoint* clipPoint); 459 bool SkBaseShadowTessellator::clipUmbraPoint(const SkPoint& umbraPoint, const SkPoint& centroid, in clipUmbraPoint() argument 461 SkVector segmentVector = centroid - umbraPoint; in clipUmbraPoint() 465 SkVector dp = umbraPoint - fClipPolygon[fCurrClipIndex]; in clipUmbraPoint() 481 *clipPoint = umbraPoint + segmentVector; in clipUmbraPoint() 494 SkPoint umbraPoint; in addInnerPoint() local 498 umbraPoint = pathPoint + v; in addInnerPoint() 500 umbraPoint = umbraPolygon[this->getClosestUmbraIndex(pathPoint, umbraPolygon)]; in addInnerPoint() 507 !duplicate_pt(umbraPoint, fPositions[fPrevUmbraIndex])) { in addInnerPoint() 509 if (fPrevUmbraIndex >= 0 && duplicate_pt(umbraPoint, fPositions[fFirstVertexIndex])) { in addInnerPoint() [all …]
|