Transpiled version (16953L) is out of date.
// auto-zoom static ImageSurface pixelatedZoomedImageSurface() { ret pixelatedImageSurface().setAutoZoomToDisplay(true); } // auto-zoom static ImageSurface pixelatedZoomedImageSurface(BufferedImage etc img) { var is = pixelatedZoomedImageSurface(); is.setImage(img); ret is; } // fixed zoom static ImageSurface pixelatedZoomedImageSurface(double zoom, BufferedImage etc img) { ret pixelatedImageSurface(img).setZoom(zoom); } static ImageSurface pixelatedZoomedImageSurface(BufferedImage etc img, double zoom) { ret pixelatedZoomedImageSurface(zoom, img); } // fixed zoom static ImageSurface pixelatedZoomedImageSurface(double zoom) { ret pixelatedImageSurface().setZoom(zoom); }
Began life as a copy of #1033684
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033753 |
Snippet name: | pixelatedZoomedImageSurface |
Eternal ID of this version: | #1033753/8 |
Text MD5: | 365545ec14a5f5b12dfd9f8b7691e3ce |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-01 03:50:30 |
Source code size: | 720 bytes / 25 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 163 / 287 |
Version history: | 7 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |