edith
Clone
https://git.tahinli.com/Tahinli/edith.git
0 watching0 forksRust18.3 MiB5984e27Tahinli3 months ago583 commits
| 1 | //! Per-clip position/scale/rotate/crop, applied engine-side on the placed |
| 2 | //! picture so that playback and export land the same pixel from the same |
| 3 | //! numbers -- [`crate::color::ColorParams`]'s twin in every respect but what |
| 4 | //! it moves: a grade changes what a sample *is*, this changes where it *goes*. |
| 5 | //! |
| 6 | //! Plain data with no invariants of its own: out-of-range or non-finite |
| 7 | //! values are clamped where the geometry is built ([`crate::scale::crop_rect`], |
| 8 | //! [`crate::scale::transformed_dst_rect`]), so a deserializer can hand this |
| 9 | //! over unchecked, exactly as [`ColorParams`](crate::color::ColorParams) can. |
| 10 | |
| 11 | /// One clip's placement on the project canvas, on top of whatever |
| 12 | /// [`crate::scale::FitPolicy`] already does. |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 |