static Map<BufferedImage, O> createGraphics_modulators = synchroIdentityHashMap(); static Graphics2D createGraphics(BufferedImage img) { Graphics2D g = img.createGraphics(); O mod = createGraphics_modulators.get(img); if (mod != null) callF(mod, g); ret g; } // mod: voidfunc(Graphics2D) static void createGraphics_modulate(BufferedImage img, O mod) { mapPut2(createGraphics_modulators, img, mod); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010643 |
| Snippet name: | createGraphics |
| Eternal ID of this version: | #1010643/1 |
| Text MD5: | bd637d9eab7c8e547a1e4f6b48a34c74 |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-24 01:06:29 |
| Source code size: | 428 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 669 / 743 |
| Referenced in: | [show references] |