Commit 9343629
Optimize dot rendering rotation performance
Replaced expensive canvas state modifications (save, translate, rotate, restore) with native ellipse rotation parameter. This change significantly reduces the number of canvas API calls per drawn dot in dot stretching mode.
Co-authored-by: jsem-nerad <88319121+jsem-nerad@users.noreply.github.com>1 parent 2a7c2e2 commit 9343629
2 files changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 397 | + | |
405 | 398 | | |
406 | | - | |
| 399 | + | |
407 | 400 | | |
408 | 401 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | 402 | | |
413 | 403 | | |
414 | 404 | | |
| |||
0 commit comments