/external/skia/tests/ |
D | GeometryTest.cpp | 286 const std::array<SkPoint, 4>& bezierPoints, SkCubicType expectedType, in check_cubic_type() 289 SkCubicType actualType = SkClassifyCubic(bezierPoints.data()); in check_cubic_type() 298 static constexpr SkCubicType expectations[24] = { in check_cubic_around_rect() 299 SkCubicType::kLoop, in check_cubic_around_rect() 300 SkCubicType::kCuspAtInfinity, in check_cubic_around_rect() 301 SkCubicType::kLocalCusp, in check_cubic_around_rect() 302 SkCubicType::kLocalCusp, in check_cubic_around_rect() 303 SkCubicType::kCuspAtInfinity, in check_cubic_around_rect() 304 SkCubicType::kLoop, in check_cubic_around_rect() 305 SkCubicType::kCuspAtInfinity, in check_cubic_around_rect() [all …]
|
D | PathOpsCubicIntersectionTest.cpp | 650 SkCubicType cubicType = SkClassifyCubic(c); in selfOneOff() 653 if (breaks && cubicType == SkCubicType::kLoop) { in selfOneOff()
|
/external/skqp/tests/ |
D | GeometryTest.cpp | 223 const std::array<SkPoint, 4>& bezierPoints, SkCubicType expectedType, in check_cubic_type() 226 SkCubicType actualType = SkClassifyCubic(bezierPoints.data()); in check_cubic_type() 235 static constexpr SkCubicType expectations[24] = { in check_cubic_around_rect() 236 SkCubicType::kLoop, in check_cubic_around_rect() 237 SkCubicType::kCuspAtInfinity, in check_cubic_around_rect() 238 SkCubicType::kLocalCusp, in check_cubic_around_rect() 239 SkCubicType::kLocalCusp, in check_cubic_around_rect() 240 SkCubicType::kCuspAtInfinity, in check_cubic_around_rect() 241 SkCubicType::kLoop, in check_cubic_around_rect() 242 SkCubicType::kCuspAtInfinity, in check_cubic_around_rect() [all …]
|
D | PathOpsCubicIntersectionTest.cpp | 650 SkCubicType cubicType = SkClassifyCubic(c); in selfOneOff() 653 if (breaks && cubicType == SkCubicType::kLoop) { in selfOneOff()
|
/external/skqp/src/core/ |
D | SkGeometry.h | 164 enum class SkCubicType { enum 173 static inline bool SkCubicIsDegenerate(SkCubicType type) { in SkCubicIsDegenerate() 175 case SkCubicType::kSerpentine: in SkCubicIsDegenerate() 176 case SkCubicType::kLoop: in SkCubicIsDegenerate() 177 case SkCubicType::kLocalCusp: in SkCubicIsDegenerate() 178 case SkCubicType::kCuspAtInfinity: in SkCubicIsDegenerate() 180 case SkCubicType::kQuadratic: in SkCubicIsDegenerate() 181 case SkCubicType::kLineOrPoint: in SkCubicIsDegenerate() 188 static inline const char* SkCubicTypeName(SkCubicType type) { in SkCubicTypeName() 190 case SkCubicType::kSerpentine: return "kSerpentine"; in SkCubicTypeName() [all …]
|
D | SkGeometry.cpp | 596 SkCubicType SkClassifyCubic(const SkPoint P[4], double t[2], double s[2], double d[4]) { in SkClassifyCubic() 640 return SkCubicType::kSerpentine; in SkClassifyCubic() 646 return SkCubicType::kLoop; in SkClassifyCubic() 651 return SkCubicType::kLocalCusp; in SkClassifyCubic() 658 return SkCubicType::kCuspAtInfinity; in SkClassifyCubic() 663 return 0 != D3 ? SkCubicType::kQuadratic : SkCubicType::kLineOrPoint; in SkClassifyCubic()
|
/external/skia/src/core/ |
D | SkGeometry.h | 235 enum class SkCubicType { enum 244 static inline bool SkCubicIsDegenerate(SkCubicType type) { in SkCubicIsDegenerate() 246 case SkCubicType::kSerpentine: in SkCubicIsDegenerate() 247 case SkCubicType::kLoop: in SkCubicIsDegenerate() 248 case SkCubicType::kLocalCusp: in SkCubicIsDegenerate() 249 case SkCubicType::kCuspAtInfinity: in SkCubicIsDegenerate() 251 case SkCubicType::kQuadratic: in SkCubicIsDegenerate() 252 case SkCubicType::kLineOrPoint: in SkCubicIsDegenerate() 258 static inline const char* SkCubicTypeName(SkCubicType type) { in SkCubicTypeName() 260 case SkCubicType::kSerpentine: return "kSerpentine"; in SkCubicTypeName() [all …]
|
D | SkGeometry.cpp | 799 SkCubicType SkClassifyCubic(const SkPoint P[4], double t[2], double s[2], double d[4]) { in SkClassifyCubic() 843 return SkCubicType::kSerpentine; in SkClassifyCubic() 849 return SkCubicType::kLoop; in SkClassifyCubic() 854 return SkCubicType::kLocalCusp; in SkClassifyCubic() 861 return SkCubicType::kCuspAtInfinity; in SkClassifyCubic() 866 return 0 != D3 ? SkCubicType::kQuadratic : SkCubicType::kLineOrPoint; in SkClassifyCubic()
|
/external/skqp/bench/ |
D | CubicKLMBench.cpp | 24 case SkCubicType::kSerpentine: in CubicKLMBench() 27 case SkCubicType::kLoop: in CubicKLMBench()
|
D | GrCCFillGeometryBench.cpp | 27 case SkCubicType::kSerpentine: in GrCCGeometryBench() 30 case SkCubicType::kLoop: in GrCCGeometryBench()
|
/external/skqp/src/gpu/ |
D | GrPathUtils.cpp | 778 SkCubicType GrPathUtils::getCubicKLM(const SkPoint src[4], SkMatrix* klm, double tt[2], in getCubicKLM() 781 SkCubicType type = SkClassifyCubic(src, tt, ss, d); in getCubicKLM() 783 if (SkCubicType::kLineOrPoint == type) { in getCubicKLM() 785 return SkCubicType::kLineOrPoint; in getCubicKLM() 788 if (SkCubicType::kQuadratic == type) { in getCubicKLM() 790 return SkCubicType::kQuadratic; in getCubicKLM() 799 return SkCubicType::kLineOrPoint; in getCubicKLM() 807 case SkCubicType::kCuspAtInfinity: in getCubicKLM() 810 case SkCubicType::kLocalCusp: in getCubicKLM() 811 case SkCubicType::kSerpentine: in getCubicKLM() [all …]
|
D | GrPathUtils.h | 181 SkCubicType getCubicKLM(const SkPoint src[4], SkMatrix* klm, double t[2], double s[2]);
|
/external/skqp/src/pathops/ |
D | SkPathOpsCubic.cpp | 251 SkCubicType cubicType = SkClassifyCubic(pointsPtr, tt, ss); in ComplexBreak() 253 case SkCubicType::kLoop: { in ComplexBreak() 261 case SkCubicType::kSerpentine: in ComplexBreak() 262 case SkCubicType::kLocalCusp: in ComplexBreak() 263 case SkCubicType::kCuspAtInfinity: { in ComplexBreak()
|
/external/skia/src/pathops/ |
D | SkPathOpsCubic.cpp | 252 SkCubicType cubicType = SkClassifyCubic(pointsPtr, tt, ss); in ComplexBreak() 254 case SkCubicType::kLoop: { in ComplexBreak() 262 case SkCubicType::kSerpentine: in ComplexBreak() 263 case SkCubicType::kLocalCusp: in ComplexBreak() 264 case SkCubicType::kCuspAtInfinity: { in ComplexBreak()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCFillGeometry.h | 113 SkCubicType fCurrCubicType;
|
D | GrCCFillGeometry.cpp | 507 if (SkCubicType::kLoop != fCurrCubicType) { in cubicTo() 577 if (SkCubicType::kLoop != fCurrCubicType) { in appendCubics()
|
/external/skqp/samplecode/ |
D | SampleCCPRGeometry.cpp | 61 SkCubicType fCubicType;
|