static ImageSurface showScaledImageWithSelections(RGBImage img, L<Rect> rects) { BufferedImage thumb = shrinkScreenshot(img.getBufferedImage()); double factor = thumb.getWidth()/(double) img.getWidth(); ret showImageWithSelections(thumb, scaleRects(rects, factor)); }
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: | 816 / 822 |
| Referenced in: | [show references] |