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

10
LINES

< > BotCompany Repo | #1006209 // scaleRects

JavaX fragment (include)

static L<Rect> scaleRects(L<Rect> rects, double factor) {
  new L<Rect> l;
  for (Rect r : rects)
    l.add(scaleRect(r, factor));
  ret l;
}

static L<Rect> scaleRects(double factor, L<Rect> rects) {
  ret scaleRects(rects, factor);
}

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: 538 / 591
Version history: 1 change(s)
Referenced in: [show references]