Skip to content

Comments

[Core] Split aspect ratio scaling into its own config#426

Merged
nicbarker merged 3 commits intomainfrom
014-aspect-ratio-scaling
Jun 2, 2025
Merged

[Core] Split aspect ratio scaling into its own config#426
nicbarker merged 3 commits intomainfrom
014-aspect-ratio-scaling

Conversation

@nicbarker
Copy link
Owner

Currently, aspect ratio scaling is only available for image elements. This PR splits aspect ratio scaling into a separate .aspectRatio config option, and removes the .sourceDimensions properties from images. It's expected that if the renderer needs to know the dimensions of an image, they will be passed through in the .imageData pointer.

@nicbarker nicbarker merged commit d6f3957 into main Jun 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant