Searched refs:scale (Results 1 – 3 of 3) sorted by relevance
23 var scale: Double in <lambda>() variable32 scale = viewWidth / (maxX - minX) in <lambda>()39 fun xViewToWorld(x: Int) = (x / scale) + panX in <lambda>()43 val endScale = scale * amount in <lambda>()44 animate(scale, endScale) { in <lambda>()45 scale = it in <lambda>()46 panX = worldX - (viewX / scale) in <lambda>()52 val endPanX = panX + (deltaX / scale) in <lambda>()
39 val scale = renderState.scale in paintComponent() constant51 x = ((it.startTime - panX) * scale).toInt() in paintComponent()52 val scaledWidth = (it.endTime - it.startTime) * scale in paintComponent()
396 scale = 1.0 / len(all_values)398 cdf[i] = cdf[i] * scale