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

10
LINES

< > BotCompany Repo | #1006209 // scaleRects

JavaX fragment (include)

1  
static L<Rect> scaleRects(L<Rect> rects, double factor) {
2  
  new L<Rect> l;
3  
  for (Rect r : rects)
4  
    l.add(scaleRect(r, factor));
5  
  ret l;
6  
}
7  
8  
static L<Rect> scaleRects(double factor, L<Rect> rects) {
9  
  ret scaleRects(rects, factor);
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1006209
Snippet name: scaleRects
Eternal ID of this version: #1006209/2
Text MD5: cb3c3a3cf6935b0d855dace253ec4f6e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-29 16:55:36
Source code size: 240 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 540 / 594
Version history: 1 change(s)
Referenced in: [show references]