Skip to content

[Impeller] Provide a transform aware fix for minimum stroke widths #110215

Description

@flar

flutter-team-archive/engine#35576 provided a fix for minimum stroke widths, but it is only guaranteed in a uniform scale coordinate system. That solution is "scale aware" for the device transformation, but If there is a non-uniform scale then the minimum enforced width will be the average of the scales (in particular, the square root of the determinant which means that Z scaling can also affect it).

A proper solution that works even in non-uniform scales and skewed coordinate systems will require more work. These types of transforms are not common, but it is possible to enforce minimum stroke widths even in those cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: renderingUI glitches reported at the engine/skia or impeller rendering levele: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions