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

12
LINES

< > BotCompany Repo | #1015430 // jImageSurface - make ImageSurface

JavaX fragment (include)

1  
static ImageSurface jImageSurface() {
2  
  ret swingNu(ImageSurface);
3  
}
4  
5  
// for BWImage
6  
static ImageSurface jImageSurface(MakesBufferedImage img) {
7  
  ret swingNu(ImageSurface, img.getBufferedImage());
8  
}
9  
10  
static ImageSurface jImageSurface(BufferedImage img) {
11  
  ret swingNu(ImageSurface, img);
12  
}

Author comment

Began life as a copy of #1005664

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015430
Snippet name: jImageSurface - make ImageSurface
Eternal ID of this version: #1015430/3
Text MD5: c2cfca9486223e047afc73dbbb04504a
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-18 19:21:08
Source code size: 302 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 458 / 511
Version history: 2 change(s)
Referenced in: [show references]