1 | static RGBImageAndRect rgbImageAndRect_clipLineRange(int y1, int y2, RGBImageAndRect r) { |
2 | if (r == null) null; |
3 | Rect clip = rect(0, y1, r.image.getWidth(), y2-y1); |
4 | ret RGBImageAndRect(clipRGBImage(r.image, clip), clipRect(r.rect, clip)); |
5 | } |
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: | #1019201 |
Snippet name: | rgbImageAndRect_clipLineRange |
Eternal ID of this version: | #1019201/1 |
Text MD5: | 9038b30130a7a2a2328025bb8a896129 |
Author: | stefan |
Category: | javax / image processing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-27 14:59:44 |
Source code size: | 248 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 316 / 354 |
Referenced in: | [show references] |