File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
chartLib/src/main/kotlin/info/appdev/charting/utils Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import kotlin.math.abs
1010import kotlin.math.cos
1111import kotlin.math.sin
1212
13- private val mDrawableBoundsCache = Rect ()
13+ private val drawableBoundsCache = Rect ()
1414
1515/* *
1616 * Utilities class that has some helper methods. Needs to be initialized by
@@ -28,12 +28,12 @@ fun Canvas.drawImage(
2828 drawOffset.x = x - (width / 2 ).toFloat()
2929 drawOffset.y = y - (height / 2 ).toFloat()
3030
31- drawable.copyBounds(mDrawableBoundsCache )
31+ drawable.copyBounds(drawableBoundsCache )
3232 drawable.setBounds(
33- mDrawableBoundsCache .left,
34- mDrawableBoundsCache .top,
35- mDrawableBoundsCache .left + width,
36- mDrawableBoundsCache .top + width
33+ drawableBoundsCache .left,
34+ drawableBoundsCache .top,
35+ drawableBoundsCache .left + width,
36+ drawableBoundsCache .top + width
3737 )
3838
3939 val saveId = this .save()
You can’t perform that action at this time.
0 commit comments