1 | static ImageSurface showScaledImageWithSelections(RGBImage img, L<Rect> rects) { |
2 | BufferedImage thumb = shrinkScreenshot(img.getBufferedImage()); |
3 | double factor = thumb.getWidth()/(double) img.getWidth(); |
4 | ret showImageWithSelections(thumb, scaleRects(rects, factor)); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006331 |
Snippet name: | showScaledImageWithSelections |
Eternal ID of this version: | #1006331/1 |
Text MD5: | fb2d6755935f7a668e7bd3baf1746539 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-28 21:51:35 |
Source code size: | 279 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 563 / 570 |
Referenced in: | [show references] |