Libraryless. Click here for Pure Java version (19876L/123K).
static ImageSurface zoomedImageSurface(BufferedImage etc image, final double zoom) { ret swing(func -> ImageSurface { ImageSurface is = new(image); is.setZoom(zoom); ret is; }); } static ImageSurface zoomedImageSurface(double zoom, BufferedImage etc image) { ret zoomedImageSurface(image, zoom); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010054 |
Snippet name: | zoomedImageSurface |
Eternal ID of this version: | #1010054/3 |
Text MD5: | 9ce49f9c56ae38aba46b7dfc52eea4c8 |
Transpilation MD5: | 16f6f2aee9f0eb7afd4153d61a8d3a20 |
Author: | stefan |
Category: | javax / imaging / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-12-15 23:39:25 |
Source code size: | 326 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 550 / 575 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |