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

10
LINES

< > BotCompany Repo | #1009188 // libreOffice_pt2 - get DoublePt from svg:x2 and svg:y2

JavaX fragment (include)

static DoublePt libreOffice_pt2(L<S> tag) {
  ret libreOffice_pt2(get(tag, 1));
}

static DoublePt libreOffice_pt2(S tag) {
  S x = xml_getArg(tag, "svg:x2");
  S y = xml_getArg(tag, "svg:y2");
  if (x == null || y == null) null;
  ret new DoublePt(libreOffice_parseMeasure(x), libreOffice_parseMeasure(y));
}

Author comment

Began life as a copy of #1009187

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: #1009188
Snippet name: libreOffice_pt2 - get DoublePt from svg:x2 and svg:y2
Eternal ID of this version: #1009188/1
Text MD5: 0deebc2d478675906bcf8d1c4cbcb994
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-12 22:15:19
Source code size: 318 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 501
Referenced in: [show references]