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

Method parsePathVertex

core/src/processing/core/PShapeSVG.java:904–914  ·  view source on GitHub ↗
(float x, float y)

Source from the content-addressed store, hash-verified

902// }
903
904 private void parsePathVertex(float x, float y) {
905 if (vertexCount == vertices.length) {
906 //vertices = (float[][]) PApplet.expand(vertices);
907 float[][] temp = new float[vertexCount << 1][2];
908 System.arraycopy(vertices, 0, temp, 0, vertexCount);
909 vertices = temp;
910 }
911 vertices[vertexCount][X] = x;
912 vertices[vertexCount][Y] = y;
913 vertexCount++;
914 }
915
916
917 private void parsePathCode(int what) {

Callers 5

parsePathMovetoMethod · 0.95
parsePathLinetoMethod · 0.95
parsePathCurvetoMethod · 0.95
parsePathQuadtoMethod · 0.95
parsePathArctoMethod · 0.95

Calls 1

arraycopyMethod · 0.80

Tested by

no test coverage detected