Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This lets us trim a raw path directly which means all the trim path logic from the editor can now be pushed down to the C++ runtime, even for the case where the rendering is still happening via Skia/Impeller, all our path operations can be done in C++ (without using RenderPath/MetricsPath/RenderMetricsPath/OnlyMetricsPath/etc). Basically, I needed to do this now to not have as many edge cases in the editor for the difference between using our runtime to render with PLS vs Flutter. It also quite greatly simplifies the code! More lines removed than added! Some tests will fail as I think we're using the MetricsPath in some other parts of the code, but that can be refactored following the patterns used here... It also means that most of our runtime now speaks RawPath which means we can optimize/reserve memory ahead of time in a lot of cases (not doing that yet). Diffs= 8486c3445 Get rid of MetricsPath. (#7371)
- Loading branch information