Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1019190 // rescaleRect_imageToImage

JavaX fragment (include)

static Rect rescaleRect_imageToImage(Rect r, BufferedImage imgSrc, BufferedImage imgDest) {
  ret rescaleRect(r, imgSrc.getWidth(), imgSrc.getHeight(),
    imgDest.getWidth(), imgDest.getHeight());
}

static Rect rescaleRect_imageToImage(Rect r, WidthAndHeight imgSrc, WidthAndHeight imgDest) {
  ret rescaleRect(r, imgSrc.getWidth(), imgSrc.getHeight(),
    imgDest.getWidth(), imgDest.getHeight());
}

Author comment

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: 366 / 383
Version history: 2 change(s)
Referenced in: [show references]