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)

static ImageSurface jImageSurface() {
  ret swingNu(ImageSurface);
}

// for BWImage
static ImageSurface jImageSurface(MakesBufferedImage img) {
  ret swingNu(ImageSurface, img.getBufferedImage());
}

static ImageSurface jImageSurface(BufferedImage img) {
  ret swingNu(ImageSurface, img);
}

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: 457 / 510
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)