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 }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Port line-pattern underscaling/overscaling fix #16359
The change fixes overscaling/underscaling of line pattern as well as render differences between different physical pixel ratio sprites when used as line patterns.
When the line pattern fits on a line smaller than its own resolution, we downscale while keeping the aspect ratio at integer zoom level
When the line pattern fits on a line larger than its own resolution, we upscale while keeping the aspect ratio at integer zoom level
When the line pattern has different pixel ratio attributes (1x, 2x, 3x...), the pattern screenspace resolution should remain stable (e.g. the physical resolution shouldn't impact the size at which the pattern is rendered but instead increase the quality of the visual while keeping its logical resolution)
The current behavior does not account for 1. and 3.
Activity
stale commentedon Nov 9, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.