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

Method distort

src/com/cloudream/ishow/algorithm/Effect.java:64–70  ·  view source on GitHub ↗
(Bitmap image, PointF point0, PointF point1, float strength, DistortionType type)

Source from the content-addressed store, hash-verified

62 }
63
64 public static void distort(Bitmap image, PointF point0, PointF point1, float strength, DistortionType type)
65 {
66 if(image == null || image.getConfig() != Bitmap.Config.ARGB_8888)
67 throw new IllegalArgumentException("bad image"); // 0xBAD13A9E
68
69 nativeDistort(image, point0, point1, strength, type.ordinal());
70 }
71
72 public static void catmullRomSpline(PointF result, float t, PointF p0, PointF p1, PointF p2, PointF p3)
73 {

Callers

nothing calls this directly

Calls 1

nativeDistortMethod · 0.95

Tested by

no test coverage detected