File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed
src/main/java/com/smarttoolfactory/image/transform Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ dependencies {
5151 implementation project(' :image' )
5252
5353 implementation ' androidx.core:core-ktx:1.8.0'
54- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.4.1 '
54+ implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.5.0 '
5555
56- implementation ' com.github.SmartToolFactory:Compose-Extended-Gestures:1.2 .0'
56+ implementation ' com.github.SmartToolFactory:Compose-Extended-Gestures:2.0 .0'
5757
5858 implementation " androidx.compose.ui:ui:$compose_version "
5959 // Tooling support (Previews, etc.)
@@ -66,12 +66,12 @@ dependencies {
6666 implementation " androidx.compose.material:material-icons-core:$compose_version "
6767 implementation " androidx.compose.material:material-icons-extended:$compose_version "
6868 // Integration with activities
69- implementation ' androidx.activity:activity-compose:1.4 .0'
69+ implementation ' androidx.activity:activity-compose:1.5 .0'
7070 // Integration with ViewModels
71- implementation ' androidx.lifecycle:lifecycle-viewmodel-compose:2.4.1 '
71+ implementation ' androidx.lifecycle:lifecycle-viewmodel-compose:2.5.0 '
7272
7373 // Material Design 3 for Compose
74- implementation " androidx.compose.material3:material3:1.0.0-alpha13 "
74+ implementation " androidx.compose.material3:material3:1.0.0-alpha14 "
7575
7676 // Photo Picker
7777 implementation(" com.google.modernstorage:modernstorage-photopicker:1.0.0-alpha06" )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ dependencies {
4646
4747 implementation ' androidx.core:core-ktx:1.8.0'
4848
49- implementation ' com.github.SmartToolFactory:Compose-Extended-Gestures:1.2 .0'
49+ implementation ' com.github.SmartToolFactory:Compose-Extended-Gestures:2.0 .0'
5050
5151 // Jetpack Compose
5252 implementation " androidx.compose.ui:ui:$compose_version "
Original file line number Diff line number Diff line change 1+ package com.smarttoolfactory.image.transform
2+
3+ import androidx.compose.runtime.Immutable
4+
5+ @Immutable
6+ data class Transform (
7+ val translationX : Float = 0f ,
8+ val translationY : Float = 0f ,
9+ val scaleX : Float = 1f ,
10+ val scaleY : Float = 1f ,
11+ val rotation : Float = 0f
12+ )
You can’t perform that action at this time.
0 commit comments