MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / lineTo

Method lineTo

src/com/cloudream/ishow/algorithm/FaceDetector.java:474–483  ·  view source on GitHub ↗

draw arc between p1 and p2 with line segment @param path @param p0 @param p1 @param p2 @param p3 @param point

(Path path, PointF p0, PointF p1, PointF p2, PointF p3)

Source from the content-addressed store, hash-verified

472 * @param point
473 */
474 private static void lineTo(Path path, PointF p0, PointF p1, PointF p2, PointF p3)
475 {
476 PointF point = new PointF();
477 Effect.catmullRomSpline(point, 1.0f/3, p0, p1, p2, p3);
478 path.lineTo(point.x, point.y);
479 Effect.catmullRomSpline(point, 2.0f/3, p0, p1, p2, p3);
480 path.lineTo(point.x, point.y);
481
482 path.lineTo(p2.x, p2.y);
483 }
484
485 private static Path getLowerLip(final PointF points[])
486 {

Callers 5

getLowerLipMethod · 0.95
getNosePathMethod · 0.95
getClosedPathMethod · 0.80
getEyeBrowPathMethod · 0.80
getUpperLipMethod · 0.80

Calls 1

catmullRomSplineMethod · 0.95

Tested by

no test coverage detected