Libraryless. Click here for Pure Java version (2985L/18K).
static int swingScale(double x) { ret iround(swingFontScale()*x); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031141 |
| Snippet name: | swingScale - multiply pixel value with swingFontScale() and round |
| Eternal ID of this version: | #1031141/1 |
| Text MD5: | a4ee089855bc80fcf88d2076c456ba1f |
| Transpilation MD5: | 75fcc4cfd1a5a19334f68da9d6bfb2e9 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-05-12 17:57:07 |
| Source code size: | 71 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 431 / 453 |
| Referenced in: | [show references] |