aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/glide/CircleTransformation.kt
blob: c37d748729e7cfa13d62fc88fddee76bec050fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.pitchedapps.frost.glide

import android.graphics.Bitmap
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
import com.bumptech.glide.load.resource.bitmap.BitmapTransformation
import java.security.MessageDigest

/**
 * Created by Allan Wang on 2017-06-06.
 */
class CircleTransformation: BitmapTransformation() {
    override fun updateDiskCacheKey(messageDigest: MessageDigest?) {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun transform(pool: BitmapPool, toTransform: Bitmap, outWidth: Int, outHeight: Int): Bitmap {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }
}