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

Method lineTo

core/src/processing/opengl/LinePath.java:252–258  ·  view source on GitHub ↗

Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specified in float precision. This method provides a single precision variant of the double precision lineTo() method on the base LinePath class. @param x t

(float x, float y, int c)

Source from the content-addressed store, hash-verified

250 * @see LinePath#lineTo
251 */
252 public final void lineTo(float x, float y, int c) {
253 needRoom(true, 1);
254 pointTypes[numTypes++] = SEG_LINETO;
255 floatCoords[numCoords++] = x;
256 floatCoords[numCoords++] = y;
257 pointColors[numCoords/2-1] = c;
258 }
259
260
261 /**

Callers 15

tessellateLines2DMethod · 0.95
tessellateLineStrip2DMethod · 0.95
tessellateLineLoop2DMethod · 0.95
tessellateEdges2DMethod · 0.95
pathToMethod · 0.45
vertexMethod · 0.45
drawShapeMethod · 0.45
triangleMethod · 0.45
quadMethod · 0.45
vertexMethod · 0.45
triangleMethod · 0.45
quadMethod · 0.45

Calls 2

needRoomMethod · 0.95
S15_16ToFloatMethod · 0.95

Tested by

no test coverage detected