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

15
LINES

< > BotCompany Repo | #1007296 // Show Two Circles & A Line [WORKS]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (6080L/43K/152K).

!7

p-pretty /* although that's debatable given the detailed person */ {
  final BufferedImage img1 = loadImage2(#1007291);
  final BufferedImage img2 = loadImage2(#1007292);
  final ImageSurface canvas = jcanvas(func(int w, int h) {
    BufferedImage bg = renderTiledBackground(#1007195, w, h);
    drawThoughtLine(bg, img1, w/3, h/2, img2, w*2/3, h/2);
    drawThoughtCircle(bg, img1, w/3, h/2);
    drawThoughtCircle(bg, img2, w*2/3, h/2);
    ret bg;
  });
  disableImageSurfaceSelector(canvas);
  showFrame(canvas);
}

Author comment

Began life as a copy of #1007294

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007296
Snippet name: Show Two Circles & A Line [WORKS]
Eternal ID of this version: #1007296/5
Text MD5: 1e01592a28da4a5a225c4640d18d5fdd
Transpilation MD5: a813b5a7f033d3ad71b44ecd224f3550
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-14 23:32:11
Source code size: 536 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 490 / 567
Version history: 4 change(s)
Referenced in: #1007298 - Draggable Circles [WORKS]