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

10
LINES

< > BotCompany Repo | #1009865 // drawThoughtCirclePlus - draws on bg

JavaX fragment (include)

1  
static BufferedImage drawThoughtCirclePlus_img;
2  
static int drawThoughtCirclePlus_size = 24;
3  
4  
static void drawThoughtCirclePlus(BufferedImage bg, BufferedImage img, double x, double y) {
5  
  if (drawThoughtCirclePlus_img == null)
6  
    drawThoughtCirclePlus_img = resizeImage(loadImage2(#1009864), drawThoughtCirclePlus_size);
7  
  x -= drawThoughtCirclePlus_img.getWidth()/2;
8  
  y -= drawThoughtCirclePlus_img.getHeight()/2;
9  
  drawImageOnImage(drawThoughtCirclePlus_img, bg, iround(x), iround(y));
10  
}

Author comment

Began life as a copy of #1007293

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: #1009865
Snippet name: drawThoughtCirclePlus - draws on bg
Eternal ID of this version: #1009865/4
Text MD5: 010b900ced4861f5422fe56ba2a7124c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-14 04:03:04
Source code size: 500 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 508 / 544
Version history: 3 change(s)
Referenced in: [show references]