1 | static Rect rescaleRect_imageToImage(Rect r, BufferedImage imgSrc, BufferedImage imgDest) { |
2 | ret rescaleRect(r, imgSrc.getWidth(), imgSrc.getHeight(), |
3 | imgDest.getWidth(), imgDest.getHeight()); |
4 | } |
5 | |
6 | static Rect rescaleRect_imageToImage(Rect r, WidthAndHeight imgSrc, WidthAndHeight imgDest) { |
7 | ret rescaleRect(r, imgSrc.getWidth(), imgSrc.getHeight(), |
8 | imgDest.getWidth(), imgDest.getHeight()); |
9 | } |
Began life as a copy of #1018812
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019190 |
Snippet name: | rescaleRect_imageToImage |
Eternal ID of this version: | #1019190/3 |
Text MD5: | 5421514b7690585366ed8358610eb0d7 |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-10 09:24:13 |
Source code size: | 410 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 473 / 488 |
Version history: | 2 change(s) |
Referenced in: | [show references] |