| 289 | } |
| 290 | |
| 291 | int XYPath::calculateSteps(float from, float to) { |
| 292 | float diff = fl::clamp(fl::abs(to - from), 0.0f, 1.0f); |
| 293 | return fl::max(1, 200 * diff); |
| 294 | } |
| 295 | |
| 296 | bool XYPath::hasDrawBounds() const { return mPathRenderer->hasDrawBounds(); } |
| 297 |