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

11
LINES

< > BotCompany Repo | #1010054 - zoomedImageSurface

JavaX fragment (include)

static ImageSurface zoomedImageSurface(final BufferedImage image, final double zoom) {
  ret swing(func -> ImageSurface {
    ImageSurface is = new(image);
    is.setZoom(zoom);
    ret is;
  });
}

static ImageSurface zoomedImageSurface(double zoom, BufferedImage 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/2
Text MD5: 70d99850e618073b92918c2086025c1c
Author: stefan
Category: javax / imaging / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-11 00:16:19
Source code size: 324 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 356 / 300
Version history: 1 change(s)
Referenced in: [show references]