5package io.flutter.embedding.engine.mutatorsstack;
11import androidx.annotation.Keep;
12import androidx.annotation.NonNull;
13import androidx.annotation.Nullable;
14import java.util.ArrayList;
46 @Nullable
private Matrix matrix;
47 @Nullable
private Rect rect;
48 @Nullable
private Path path;
49 @Nullable
private float[] radiis;
136 private Matrix finalMatrix;
140 this.mutators =
new ArrayList<FlutterMutator>();
141 finalMatrix =
new Matrix();
142 finalClippingPaths =
new ArrayList<Path>();
152 Matrix matrix =
new Matrix();
153 matrix.setValues(values);
155 mutators.add(mutator);
156 finalMatrix.preConcat(mutator.
getMatrix());
161 Rect rect =
new Rect(
left, top,
right, bottom);
163 mutators.add(mutator);
164 Path path =
new Path();
165 path.addRect(
new RectF(rect), Path.Direction.CCW);
166 path.transform(finalMatrix);
167 finalClippingPaths.
add(path);
181 Rect rect =
new Rect(
left, top,
right, bottom);
183 mutators.add(mutator);
184 Path path =
new Path();
185 path.addRoundRect(
new RectF(rect), radiis, Path.Direction.CCW);
186 path.transform(finalMatrix);
187 finalClippingPaths.
add(path);
207 return finalClippingPaths;
static bool left(const SkPoint &p0, const SkPoint &p1)
static bool right(const SkPoint &p0, const SkPoint &p1)
void add(sk_sp< SkIDChangeListener > listener) SK_EXCLUDES(fMutex)