Libraryless. Click here for Pure Java version (5112L/36K/127K).
!7 p { S src = programSourceCode(); BufferedImage img = renderSourceCode_1(src); showImage(img); assertEqualsVerbose("Line height", 19, renderSourceCode_1_lineHeight()); assertEqualsVerbose("Image height", 19*l(toLines(src)), img.getHeight()); }
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: | 603 / 758 |
Version history: | 4 change(s) |
Referenced in: | -