Transpiled version (4153L) is out of date.
static Rect scaleRect(Rect r, double factorX, double factorY) { ret rectFromPoints( iround(r.x*factorX), iround(r.y*factorY), iround(r.x2()*factorX), iround(r.y2()*factorY)); } static Rect scaleRect(Rect r, double factor) { ret scaleRect(r, factor, factor); } static Rect scaleRect(double factor, Rect r) { ret scaleRect(r, factor); } static DoubleRect scaleRect(DoubleRect r, double factorX, double factorY) { ret doubleRect( r.x*factorX, r.y*factorY, r.w*factorX, r.h*factorY); } static DoubleRect scaleRect(double factorX, double factorY, DoubleRect r) { ret scaleRect(r, factorX, factorY); }
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: | #1005837 | 
| Snippet name: | scaleRect | 
| Eternal ID of this version: | #1005837/9 | 
| Text MD5: | 1c8b766b4d9eab21cd768ac11109b4b7 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-01-02 06:15:21 | 
| Source code size: | 667 bytes / 27 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 898 / 985 | 
| Version history: | 8 change(s) | 
| Referenced in: | [show references] |