MCPcopy Index your code
hub / github.com/processing/processing / parsePathQuadto

Method parsePathQuadto

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

Source from the content-addressed store, hash-verified

953// }
954
955 private void parsePathQuadto(float cx, float cy,
956 float x2, float y2) {
957 //System.out.println("quadto: " + x1 + "," + y1 + " " + cx + "," + cy + " " + x2 + "," + y2);
958// parsePathCode(BEZIER_VERTEX);
959 parsePathCode(QUADRATIC_VERTEX);
960 // x1/y1 already covered by last moveto, lineto, or curveto
961 parsePathVertex(cx, cy);
962 parsePathVertex(x2, y2);
963 }
964
965
966 // 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