23rd
|
91df896f8e
|
[img-editor] Refined eraser brush algorithm.
|
2026-03-12 12:59:49 +04:00 |
|
23rd
|
537375b92b
|
[img-editor] Added simple modes of brush for arrow / marker / eraser.
|
2026-03-12 12:59:49 +04:00 |
|
23rd
|
8aa09d32dc
|
[img-editor] Fixed brush stroke start offset and spacing at high zoom.
Related commit: 7ce7b88a40.
|
2026-03-12 12:59:49 +04:00 |
|
23rd
|
6418af0ada
|
Improved division by zero in photo editor stroke rendering calculations.
|
2025-12-22 17:56:54 +04:00 |
|
23rd
|
7ce7b88a40
|
Implemented adaptive drawing algorithm with smoothing in image editor.
- Adaptive point filtering - zoom-based minimum distance (3px / zoom)
prevents point overflow during fast movements.
- Speed-based pressure simulation - exponential smoothing (decay 0.95)
creates variable line thickness: pressure = clamp(1.0 - speed * 0.1).
- Two-pass
weighted averaging - smoothed = current * 0.5 + neighbors * 0.25
eliminates jagged lines while preserving initial direction.
- Incremental rendering with 3-point overlap - draws only new segments,
reduces complexity from O(n^2) to O(n).
- QPainterPath with quadratic Bezier curves - single fillPath() call
instead of multiple drawEllipse().
|
2025-12-10 09:47:48 +03:00 |
|
23rd
|
39d5d3a1cf
|
Moved some photo editor files to td_ui.
|
2022-01-12 11:54:25 +03:00 |
|
John Preston
|
3cdd115317
|
Beta version 2.8.6: Fix build for Linux.
|
2021-07-07 00:54:56 +03:00 |
|
23rd
|
9dacf69d41
|
Fixed line drawing on mode switching in photo editor.
|
2021-07-06 12:13:06 +03:00 |
|
23rd
|
a91efd9164
|
Fixed ability to draw blank lines in photo editor.
|
2021-07-06 12:13:06 +03:00 |
|
23rd
|
7bcb1fc8b2
|
Fixed borders of drawn lines in photo editor.
|
2021-07-06 12:13:06 +03:00 |
|
23rd
|
f936e484cc
|
Removed unused types from scene items.
|
2021-07-06 12:13:05 +03:00 |
|
23rd
|
832dd8d50c
|
Moved some photo editor files to separate directories.
|
2021-07-06 12:13:05 +03:00 |
|