Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

スケールが指定されていない時の縦横比 #3

Open
KisaragiEffective opened this issue Apr 23, 2021 · 0 comments
Open

スケールが指定されていない時の縦横比 #3

KisaragiEffective opened this issue Apr 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@KisaragiEffective
Copy link
Collaborator

KisaragiEffective commented Apr 23, 2021

scaleX = parseResult.scaleX ?? max(image.w, image.h) / image.w
scaleY = parseResult.scaleY ?? max(image.w, image.h) / image.h
@KisaragiEffective KisaragiEffective added the enhancement New feature or request label Apr 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant