You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reduce Path clip Mutators to simpler geometry #164666
Currently if Flutter creates a ClipPath layer, that layer will be passed along to Mutators as a path and most mutators will just convert it to a platform path, but it might be a simpler rect, oval, or rrect. Since the rendering backends tend to reduce the clipping to a simpler form, there may be a mismatch between the paths being expressed and the actual rendering performed as was discovered while implementing #164258
The clip_path_layer could perform the simplification so as to make Mutators and canvas->clip operations more compatible and simplify the implementation logic required in the embedders.
We'd need to double check, but I suspect that we may end up converting the simple shapes back into paths in some cases, so the conversion may be pointless (once we fix the conic thing).
Activity
jonahwilliams commentedon Mar 10, 2025
We'd need to double check, but I suspect that we may end up converting the simple shapes back into paths in some cases, so the conversion may be pointless (once we fix the conic thing).