static void calTranslate(CirclesAndLines cal, double dx, double dy) { if (dx == 0 && dy == 0) ret; for (Circle c : cal.circles) { c.x += dx; c.y += dy; } pcallF(cal.onFullLayoutChange); }
Began life as a copy of #1009850
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009851 |
Snippet name: | calTranslate |
Eternal ID of this version: | #1009851/2 |
Text MD5: | 3b2824e6268b5cb14ffac5c3af246eff |
Author: | stefan |
Category: | javax / a.i. / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-22 18:33:37 |
Source code size: | 205 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 421 / 445 |
Version history: | 1 change(s) |
Referenced in: | [show references] |