1 | static void calTranslate(CirclesAndLines cal, double dx, double dy) { |
2 | if (dx == 0 && dy == 0) ret; |
3 | for (Circle c : cal.circles) { |
4 | c.x += dx; c.y += dy; |
5 | } |
6 | pcallF(cal.onFullLayoutChange); |
7 | } |
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: | 423 / 447 |
Version history: | 1 change(s) |
Referenced in: | [show references] |