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

Method parsePathVertex

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

Source from the content-addressed store, hash-verified

895// }
896
897 private void parsePathVertex(float x, float y) {
898 if (vertexCount == vertices.length) {
899 //vertices = (float[][]) PApplet.expand(vertices);
900 float[][] temp = new float[vertexCount << 1][2];
901 System.arraycopy(vertices, 0, temp, 0, vertexCount);
902 vertices = temp;
903 }
904 vertices[vertexCount][X] = x;
905 vertices[vertexCount][Y] = y;
906 vertexCount++;
907 }
908
909
910 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