1 | static Rect clipRect(Rect r, Rect clip) { |
2 | if (r == null || clip == null) null; |
3 | ret translateRect(intersectRects(r, clip), -clip.x, -clip.y); |
4 | } |
Began life as a copy of #1006162
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019203 |
Snippet name: | clipRect - see clipRGBImage |
Eternal ID of this version: | #1019203/1 |
Text MD5: | 9894efca97b0590405b9c9541e18a814 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-27 15:02:15 |
Source code size: | 149 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 336 / 357 |
Referenced in: | [show references] |