Lines Matching refs:dxy
237 void setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, SkPoint* tangent) const;
501 SkVector dxy = lineEnd - lineStart; in pt_to_line() local
503 SkScalar numer = dxy.dot(ab0); in pt_to_line()
504 SkScalar denom = dxy.dot(dxy); in pt_to_line()
766 void SkPathStroker::setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, in setRayPts() argument
768 if (!dxy->setLength(fRadius)) { in setRayPts()
769 dxy->set(fRadius, 0); in setRayPts()
772 onPt->fX = tPt.fX + axisFlip * dxy->fY; in setRayPts()
773 onPt->fY = tPt.fY - axisFlip * dxy->fX; in setRayPts()
775 tangent->fX = onPt->fX + dxy->fX; in setRayPts()
776 tangent->fY = onPt->fY + dxy->fY; in setRayPts()
784 SkVector dxy; in conicPerpRay() local
785 conic.evalAt(t, tPt, &dxy); in conicPerpRay()
786 if (dxy.fX == 0 && dxy.fY == 0) { in conicPerpRay()
787 dxy = conic.fPts[2] - conic.fPts[0]; in conicPerpRay()
789 this->setRayPts(*tPt, &dxy, onPt, tangent); in conicPerpRay()
812 SkVector dxy; in cubicPerpRay() local
814 SkEvalCubicAt(cubic, t, tPt, &dxy, nullptr); in cubicPerpRay()
815 if (dxy.fX == 0 && dxy.fY == 0) { in cubicPerpRay()
818 dxy = cubic[2] - cubic[0]; in cubicPerpRay()
820 dxy = cubic[3] - cubic[1]; in cubicPerpRay()
825 dxy = chopped[3] - chopped[2]; in cubicPerpRay()
826 if (dxy.fX == 0 && dxy.fY == 0) { in cubicPerpRay()
827 dxy = chopped[3] - chopped[1]; in cubicPerpRay()
831 if (dxy.fX == 0 && dxy.fY == 0) { in cubicPerpRay()
832 dxy = cPts[3] - cPts[0]; in cubicPerpRay()
835 setRayPts(*tPt, &dxy, onPt, tangent); in cubicPerpRay()
863 SkVector dxy; in quadPerpRay() local
864 SkEvalQuadAt(quad, t, tPt, &dxy); in quadPerpRay()
865 if (dxy.fX == 0 && dxy.fY == 0) { in quadPerpRay()
866 dxy = quad[2] - quad[0]; in quadPerpRay()
868 setRayPts(*tPt, &dxy, onPt, tangent); in quadPerpRay()