clay icon indicating copy to clipboard operation
clay copied to clipboard

[Core] Split aspect ratio scaling into its own config

Open nicbarker opened this issue 7 months ago • 0 comments

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 avatar May 27 '25 23:05 nicbarker