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

10
LINES

< > BotCompany Repo | #1009187 // libreOffice_pt1 - get DoublePt from svg:x1 and svg:y1

JavaX fragment (include)

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

static DoublePt libreOffice_pt1(S tag) {
  S x = xml_getArg(tag, "svg:x1");
  S y = xml_getArg(tag, "svg:y1");
  if (x == null || y == null) null;
  ret new DoublePt(libreOffice_parseMeasure(x), libreOffice_parseMeasure(y));
}

Author comment

Began life as a copy of #1009185

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: #1009187
Snippet name: libreOffice_pt1 - get DoublePt from svg:x1 and svg:y1
Eternal ID of this version: #1009187/1
Text MD5: 6112e4b3c7f1e541e145814181e32175
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:14:57
Source code size: 318 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 539 / 527
Referenced in: [show references]