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).

!7

p-experiment {
  BufferedImage img = loadImage2(#1101217);
  int w = img.getWidth(), h = img.getHeight();
  for (int angle = 0; angle < 360; angle += 10) {
    BufferedImage canvas = newBufferedImage(w, h, Color.white);
    drawRotatedImageOnImage(img, canvas, 0, 0, angle, w/2, h/2);
    quickShowImage(canvas);
    sleep(200);
  }
}

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: 435 / 1212
Version history: 3 change(s)
Referenced in: