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

Method strokeTo

core/src/processing/opengl/LinePath.java:460–469  ·  view source on GitHub ↗
(LinePath src, float width, int caps, int join,
                               float miterlimit, PMatrix2D transform,
                               LineStroker lsink)

Source from the content-addressed store, hash-verified

458
459
460 private static void strokeTo(LinePath src, float width, int caps, int join,
461 float miterlimit, PMatrix2D transform,
462 LineStroker lsink) {
463 lsink = new LineStroker(lsink, FloatToS15_16(width), caps, join,
464 FloatToS15_16(miterlimit),
465 transform == null ? identity : transform);
466
467 PathIterator pi = src.getPathIterator();
468 pathTo(pi, lsink);
469 }
470
471
472 private static void pathTo(PathIterator pi, LineStroker lsink) {

Callers 1

createStrokedPathMethod · 0.95

Calls 3

FloatToS15_16Method · 0.95
pathToMethod · 0.95
getPathIteratorMethod · 0.80

Tested by

no test coverage detected