1 | static BufferedImage renderBackgroundPlusRoundedBoxes_withHints(int w, int h, BackgroundPlus<RoundedBoxWithColor> s) {
|
2 | BufferedImage bi = renderBackgroundPlusRoundedBoxes(w, h, s); |
3 | Graphics2D g = imageGraphics(bi); |
4 | for (RoundedBoxWithColor e : s.things) {
|
5 | int x1 = min(e.a.x, e.b.x), y1 = min(e.a.y, e.b.y); |
6 | int x2 = max(e.a.x, e.b.x), y2 = max(e.a.y, e.b.y); |
7 | drawRoundedBox(g, x1, y1, x2-x1+1, y2-y1+1, e.roundness, halfBlack()); |
8 | } |
9 | g.dispose(); |
10 | ret bi; |
11 | } |
Began life as a copy of #1015001
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: | #1015002 |
| Snippet name: | renderBackgroundPlusRoundedBoxes_withHints |
| Eternal ID of this version: | #1015002/3 |
| Text MD5: | a2c382515622f76fe9c637c3f8cd2638 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-06 23:05:47 |
| Source code size: | 489 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 562 / 634 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |