1 | please include function showImage. |
2 | |
3 | static ImageSurface showImagePixelatedZoomed(double zoom, MakesBufferedImage img) { |
4 | ret showImagePixelatedZoomed(zoom, img.getBufferedImage()); |
5 | } |
6 | |
7 | static ImageSurface showImagePixelatedZoomed(double zoom, BufferedImage img) { |
8 | ImageSurface is = new(img); |
9 | imageSurface_pixelated(is); |
10 | is.setZoom(zoom); |
11 | JFrame frame = showPackedFrame(jscroll(is)); |
12 | moveToTopRightCorner(frame); |
13 | frameIcon(frame, showImage_defaultIcon); |
14 | ret is; |
15 | } |
Began life as a copy of #1019593
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1023048 |
Snippet name: | showImagePixelatedZoomed |
Eternal ID of this version: | #1023048/2 |
Text MD5: | 047687ef4827492fbddb9cb3df1fa025 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-29 14:07:58 |
Source code size: | 490 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 294 / 338 |
Version history: | 1 change(s) |
Referenced in: | [show references] |