Rabbit-R1/switch port/java/sources/androidx/compose/ui/draw/ScaleKt.java
2024-05-21 17:08:36 -04:00

21 lines
1.3 KiB
Java

package androidx.compose.ui.draw;
import androidx.compose.ui.Modifier;
import androidx.compose.ui.graphics.GraphicsLayerModifierKt;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Scale.kt */
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0007\n\u0002\b\u0003\u001a\u0014\u0010\u0000\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0000\u001a\u00020\u0002H\u0007\u001a\u001c\u0010\u0000\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0002H\u0007¨\u0006\u0005"}, d2 = {"scale", "Landroidx/compose/ui/Modifier;", "", "scaleX", "scaleY", "ui_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class ScaleKt {
public static final Modifier scale(Modifier modifier, float f, float f2) {
Intrinsics.checkNotNullParameter(modifier, "<this>");
return (f == 1.0f && f2 == 1.0f) ? modifier : GraphicsLayerModifierKt.m2796graphicsLayerAp8cVGQ$default(modifier, f, f2, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0L, null, false, null, 0L, 0L, 0, 131068, null);
}
public static final Modifier scale(Modifier modifier, float f) {
Intrinsics.checkNotNullParameter(modifier, "<this>");
return scale(modifier, f, f);
}
}