Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1019203 // clipRect - see clipRGBImage

JavaX fragment (include)

static Rect clipRect(Rect r, Rect clip) {
  if (r == null || clip == null) null;
  ret translateRect(intersectRects(r, clip), -clip.x, -clip.y);
}

Author comment

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: 252 / 280
Referenced in: [show references]