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

12
LINES

< > BotCompany Repo | #1015054 // Test drawRotatedImageOnImage (OK)

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (8750L/59K).

1  
!7
2  
3  
p-experiment {
4  
  BufferedImage img = loadImage2(#1101217);
5  
  int w = img.getWidth(), h = img.getHeight();
6  
  for (int angle = 0; angle < 360; angle += 10) {
7  
    BufferedImage canvas = newBufferedImage(w, h, Color.white);
8  
    drawRotatedImageOnImage(img, canvas, 0, 0, angle, w/2, h/2);
9  
    quickShowImage(canvas);
10  
    sleep(200);
11  
  }
12  
}

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: #1015054
Snippet name: Test drawRotatedImageOnImage (OK)
Eternal ID of this version: #1015054/4
Text MD5: 75f4e9e0497b90bc49fae0144a9cf7d8
Transpilation MD5: 94c818f1b59927df8e701a5a3aab965c
Author: stefan
Category: javax / imaging
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-07 15:28:31
Source code size: 349 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 434 / 1212
Version history: 3 change(s)
Referenced in: [show references]