Lines Matching refs:dxy
270 void setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, SkPoint* tangent) const;
534 SkVector dxy = lineEnd - lineStart; in pt_to_line() local
536 SkScalar numer = dxy.dot(ab0); in pt_to_line()
537 SkScalar denom = dxy.dot(dxy); in pt_to_line()
799 void SkPathStroker::setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, in setRayPts() argument
801 if (!dxy->setLength(fRadius)) { in setRayPts()
802 dxy->set(fRadius, 0); in setRayPts()
805 onPt->fX = tPt.fX + axisFlip * dxy->fY; in setRayPts()
806 onPt->fY = tPt.fY - axisFlip * dxy->fX; in setRayPts()
808 tangent->fX = onPt->fX + dxy->fX; in setRayPts()
809 tangent->fY = onPt->fY + dxy->fY; in setRayPts()
817 SkVector dxy; in conicPerpRay() local
818 conic.evalAt(t, tPt, &dxy); in conicPerpRay()
819 if (dxy.fX == 0 && dxy.fY == 0) { in conicPerpRay()
820 dxy = conic.fPts[2] - conic.fPts[0]; in conicPerpRay()
822 this->setRayPts(*tPt, &dxy, onPt, tangent); in conicPerpRay()
845 SkVector dxy; in cubicPerpRay() local
847 SkEvalCubicAt(cubic, t, tPt, &dxy, nullptr); in cubicPerpRay()
848 if (dxy.fX == 0 && dxy.fY == 0) { in cubicPerpRay()
851 dxy = cubic[2] - cubic[0]; in cubicPerpRay()
853 dxy = cubic[3] - cubic[1]; in cubicPerpRay()
858 dxy = chopped[3] - chopped[2]; in cubicPerpRay()
859 if (dxy.fX == 0 && dxy.fY == 0) { in cubicPerpRay()
860 dxy = chopped[3] - chopped[1]; in cubicPerpRay()
864 if (dxy.fX == 0 && dxy.fY == 0) { in cubicPerpRay()
865 dxy = cPts[3] - cPts[0]; in cubicPerpRay()
868 setRayPts(*tPt, &dxy, onPt, tangent); in cubicPerpRay()
896 SkVector dxy; in quadPerpRay() local
897 SkEvalQuadAt(quad, t, tPt, &dxy); in quadPerpRay()
898 if (dxy.fX == 0 && dxy.fY == 0) { in quadPerpRay()
899 dxy = quad[2] - quad[0]; in quadPerpRay()
901 setRayPts(*tPt, &dxy, onPt, tangent); in quadPerpRay()