Libraryless. Click here for Pure Java version (5112L/36K/127K).
1 | !7 |
2 | |
3 | p { |
4 | S src = programSourceCode(); |
5 | BufferedImage img = renderSourceCode_1(src); |
6 | showImage(img); |
7 | assertEqualsVerbose("Line height", 19, renderSourceCode_1_lineHeight()); |
8 | assertEqualsVerbose("Image height", 19*l(toLines(src)), img.getHeight()); |
9 | } |
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: | #1006841 |
Snippet name: | Test renderSourceCode_1 |
Eternal ID of this version: | #1006841/5 |
Text MD5: | caeea15a909782fec094318565f8e0ea |
Transpilation MD5: | 4f404a16cae5df53a2bf107c854f6a3c |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-07 02:08:46 |
Source code size: | 264 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 602 / 758 |
Version history: | 4 change(s) |
Referenced in: | [show references] |