Libraryless. Compilation Failed (9499L/53K).
static Rect rectRelative(double x1, double y1, double x2, double y2, Rect r) { ret rectFromPoints( iround_blend(r.x, r.x2(), x1), iround_blend(r.y, r.y2(), y1), iround_blend(r.x, r.x2(), x2), iround_blend(r.y, r.y2(), y2)); }
Began life as a copy of #1005846
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035648 |
Snippet name: | rectRelative |
Eternal ID of this version: | #1035648/2 |
Text MD5: | b87c8f1dd0ead42b5b5893cd38506f27 |
Transpilation MD5: | 8763a42d210203ff11c81177f5ca8c03 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-27 13:28:39 |
Source code size: | 249 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 115 / 158 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |