1 | import oshi.util.EdidUtil; |
2 | |
3 | static L<Pt> oshi_displaySizesInCM() { |
4 | ret map(oshi_displays(), func(Display d) -> Pt { |
5 | byte[] edid = d.getEdid(); |
6 | ret edid == null ? null : pt(EdidUtil.getHcm(edid), EdidUtil.getVcm(edid)); |
7 | }); |
8 | } |
Began life as a copy of #1019980
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019982 |
Snippet name: | oshi_displaySizesInCM |
Eternal ID of this version: | #1019982/4 |
Text MD5: | d35743b97832fce5d74c387717942c14 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-03 00:40:46 |
Source code size: | 243 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 269 / 301 |
Version history: | 3 change(s) |
Referenced in: | [show references] |