Three-arguments pos
for Images (resizing by context)
#81
Labels
code improvement
Call for some improvement of code
feature suggestion
Feature suggestion, not approved by any means
There's that
Image
class ingh_manag
: here and by default it takes two or four arguments in a tuple - four will adjust image to specific rectangle, while two will simply put the image somewhere.I'd suggest adding one more, three-arguments driven one: it'd be resizable just like 4-arguments one, but it won't try to squeeze the image into the canva we mentioned, but rather onto one specific X/Y axes. "Fourth" argument would be automatically calculated by game, and it'd be dynamical, to fit the proportions of image.
This way we could determine partially how big the image is, but it will stay true to its original by proportions.
The text was updated successfully, but these errors were encountered: