MCPcopy Index your code
hub / github.com/benfry/processing4 / parsePathQuadto

Method parsePathQuadto

core/src/processing/core/PShapeSVG.java:962–970  ·  view source on GitHub ↗
(float cx, float cy,
                               float x2, float y2)

Source from the content-addressed store, hash-verified

960// }
961
962 private void parsePathQuadto(float cx, float cy,
963 float x2, float y2) {
964 //System.out.println("quadto: " + x1 + "," + y1 + " " + cx + "," + cy + " " + x2 + "," + y2);
965// parsePathCode(BEZIER_VERTEX);
966 parsePathCode(QUADRATIC_VERTEX);
967 // x1/y1 already covered by last moveto, lineto, or curveto
968 parsePathVertex(cx, cy);
969 parsePathVertex(x2, y2);
970 }
971
972
973 // Approximates elliptical arc by several bezier segments.

Callers 1

parsePathMethod · 0.95

Calls 2

parsePathCodeMethod · 0.95
parsePathVertexMethod · 0.95

Tested by

no test coverage detected