Home
last modified time | relevance | path

Searched refs:degenerate_vector (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/core/
DSkStroke.cpp56 static inline bool degenerate_vector(const SkVector& v) { in degenerate_vector() function
468 bool degenerateAB = degenerate_vector(ab); in setCubicEndNormal()
469 bool degenerateCD = degenerate_vector(cd); in setCubicEndNormal()
477 degenerateAB = degenerate_vector(ab); in setCubicEndNormal()
481 degenerateCD = degenerate_vector(cd); in setCubicEndNormal()
502 if (degenerate_vector(dxy)) { in pt_to_line()
605 bool degenerateAB = degenerate_vector(cubic[1] - cubic[0]); in CheckCubicLinear()
606 bool degenerateBC = degenerate_vector(cubic[2] - cubic[1]); in CheckCubicLinear()
607 bool degenerateCD = degenerate_vector(cubic[3] - cubic[2]); in CheckCubicLinear()
644 bool degenerateAB = degenerate_vector(conic.fPts[1] - conic.fPts[0]); in CheckConicLinear()
[all …]
/external/skia/src/core/
DSkStroke.cpp56 static inline bool degenerate_vector(const SkVector& v) { in degenerate_vector() function
468 bool degenerateAB = degenerate_vector(ab); in setCubicEndNormal()
469 bool degenerateCD = degenerate_vector(cd); in setCubicEndNormal()
477 degenerateAB = degenerate_vector(ab); in setCubicEndNormal()
481 degenerateCD = degenerate_vector(cd); in setCubicEndNormal()
606 bool degenerateAB = degenerate_vector(cubic[1] - cubic[0]); in CheckCubicLinear()
607 bool degenerateBC = degenerate_vector(cubic[2] - cubic[1]); in CheckCubicLinear()
608 bool degenerateCD = degenerate_vector(cubic[3] - cubic[2]); in CheckCubicLinear()
645 bool degenerateAB = degenerate_vector(conic.fPts[1] - conic.fPts[0]); in CheckConicLinear()
646 bool degenerateBC = degenerate_vector(conic.fPts[2] - conic.fPts[1]); in CheckConicLinear()
[all …]