static Font scaleFont(Font font, double scale) { ret font == null ? null : font.deriveFont((float) (scale*font.getSize2D())); }
Began life as a copy of #1014789
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019641 | 
| Snippet name: | scaleFont | 
| Eternal ID of this version: | #1019641/1 | 
| Text MD5: | 381878d0fd2da00fad87cbd36b403d64 | 
| Author: | stefan | 
| Category: | javax / fonts | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-11-15 16:34:46 | 
| Source code size: | 131 bytes / 3 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 574 / 595 | 
| Referenced in: | [show references] |