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

3
LINES

< > BotCompany Repo | #1022988 // safeClipIBWImage (virtual clip)

JavaX fragment (include)

static IBWImage safeClipIBWImage(IBWImage img, Rect r) {
  ret clipIBWImage(img, intersectRects(r, rect(0, 0, img.getWidth(), img.getHeight())));
}

Author comment

Began life as a copy of #1022982

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022988
Snippet name: safeClipIBWImage (virtual clip)
Eternal ID of this version: #1022988/1
Text MD5: 5a2e01e2ca85aa54c7603ba0d750e3a7
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-17 08:50:07
Source code size: 149 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 242 / 285
Referenced in: [show references]