sketching icon indicating copy to clipboard operation
sketching copied to clipboard

Support 5 argument version of `image`

Open soegaard opened this issue 3 years ago • 3 comments

P. has a 5 argument version of image that scales the image before drawing it.

soegaard avatar Jun 29 '21 20:06 soegaard

Yes. I have just encountered this myself.

ericcervin avatar Nov 06 '22 20:11 ericcervin

@ericcervin I can't remember the details, but it seems image accepts 5 arguments, but maybe a scaling step is missing? If you want to look into it yourself, take a look here:

https://github.com/soegaard/sketching/blob/main/sketching-lib/sketching/graphics.rkt#L530

soegaard avatar Nov 06 '22 21:11 soegaard

[glimpses at 1081 lines of code]

Maybe I'll come back to this.

ericcervin avatar Nov 23 '22 04:11 ericcervin