Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1010054 // zoomedImageSurface

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (19876L/123K).

1  
static ImageSurface zoomedImageSurface(BufferedImage etc image, final double zoom) {
2  
  ret swing(func -> ImageSurface {
3  
    ImageSurface is = new(image);
4  
    is.setZoom(zoom);
5  
    ret is;
6  
  });
7  
}
8  
9  
static ImageSurface zoomedImageSurface(double zoom, BufferedImage etc image) {
10  
  ret zoomedImageSurface(image, zoom);
11  
}

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: 549 / 573
Version history: 2 change(s)
Referenced in: [show references]