-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsa: pluginsSupport for writing, building, and running plugin packagesSupport for writing, building, and running plugin packagesengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
In current PlatformView clipping behavior, clipPath is not completely accurate when the path is a conic path. For example conicTo
Quartz doesn't support conic path. We currently uses quad to approximate conic. This is inaccurate when the weight value is far away from 1. eg. weight = 0.1 or weight = 2.
We need to find a better way to approximate conic path using quartz.
To reproduce:
- Add a clipPath with conic path widget on top of any PlatformView widget, with a large weight (e.g. weight = 2)
- Add the same clipPath to a container widget that has the same size with the PlatformView widget.
- See the visual difference.
orestesgaolin
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsa: pluginsSupport for writing, building, and running plugin packagesSupport for writing, building, and running plugin packagesengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team