Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1019982 // oshi_displaySizesInCM

JavaX fragment (include)

import oshi.util.EdidUtil;

static L<Pt> oshi_displaySizesInCM() {
  ret map(oshi_displays(), func(Display d) -> Pt {
    byte[] edid = d.getEdid();
    ret edid == null ? null : pt(EdidUtil.getHcm(edid), EdidUtil.getVcm(edid));
  });
}

Author comment

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: 189 / 222
Version history: 3 change(s)
Referenced in: [show references]