Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: [:core:ui] - Migrated to KMP #2749

Merged
merged 13 commits into from
Jan 26, 2025
Prev Previous commit
updated
revanthkumarJ committed Jan 26, 2025
commit e0e0e477c158fd9b4b07eee023eb85525398f5b7
Original file line number Diff line number Diff line change
@@ -16,7 +16,6 @@ import org.jetbrains.skia.ImageInfo
import org.jetbrains.skia.Paint
import org.jetbrains.skia.Rect


actual object ImageUtil {
actual val DEFAULT_MAX_WIDTH: Float = 816f
actual val DEFAULT_MAX_HEIGHT: Float = 612f
@@ -83,7 +82,7 @@ actual object ImageUtil {
Image.makeFromBitmap(bitmap),
sourceRect,
targetRect,
Paint()
Paint(),
)

return scaledBitmap