1 module spasm.bindings.svg; 2 3 import spasm.types; 4 import spasm.bindings.cssom; 5 import spasm.bindings.dom; 6 import spasm.bindings.geometry; 7 import spasm.bindings.html; 8 9 @safe: 10 nothrow: 11 12 struct SVGAElement { 13 nothrow: 14 spasm.bindings.svg.SVGGraphicsElement _parent; 15 alias _parent this; 16 this(Handle h) { 17 _parent = .SVGGraphicsElement(h); 18 } 19 auto target()() { 20 return SVGAnimatedString(SVGAElement_target_Get(this._parent)); 21 } 22 void download()(string download) { 23 SVGAElement_download_Set(this._parent, download); 24 } 25 auto download()() { 26 return SVGAElement_download_Get(this._parent); 27 } 28 void ping()(string ping) { 29 SVGAElement_ping_Set(this._parent, ping); 30 } 31 auto ping()() { 32 return SVGAElement_ping_Get(this._parent); 33 } 34 void rel()(string rel) { 35 SVGAElement_rel_Set(this._parent, rel); 36 } 37 auto rel()() { 38 return SVGAElement_rel_Get(this._parent); 39 } 40 auto relList()() { 41 return DOMTokenList(SVGAElement_relList_Get(this._parent)); 42 } 43 void hreflang()(string hreflang) { 44 SVGAElement_hreflang_Set(this._parent, hreflang); 45 } 46 auto hreflang()() { 47 return SVGAElement_hreflang_Get(this._parent); 48 } 49 void type()(string type) { 50 SVGAElement_type_Set(this._parent, type); 51 } 52 auto type()() { 53 return SVGAElement_type_Get(this._parent); 54 } 55 void text()(string text) { 56 SVGAElement_text_Set(this._parent, text); 57 } 58 auto text()() { 59 return SVGAElement_text_Get(this._parent); 60 } 61 void referrerPolicy()(string referrerPolicy) { 62 SVGAElement_referrerPolicy_Set(this._parent, referrerPolicy); 63 } 64 auto referrerPolicy()() { 65 return SVGAElement_referrerPolicy_Get(this._parent); 66 } 67 auto href()() { 68 return SVGAnimatedString(SVGURIReference_href_Get(this._parent)); 69 } 70 void href()(string href) { 71 HTMLHyperlinkElementUtils_href_Set(this._parent, href); 72 } 73 auto href()() { 74 return HTMLHyperlinkElementUtils_href_Get(this._parent); 75 } 76 auto origin()() { 77 return HTMLHyperlinkElementUtils_origin_Get(this._parent); 78 } 79 void protocol()(string protocol) { 80 HTMLHyperlinkElementUtils_protocol_Set(this._parent, protocol); 81 } 82 auto protocol()() { 83 return HTMLHyperlinkElementUtils_protocol_Get(this._parent); 84 } 85 void username()(string username) { 86 HTMLHyperlinkElementUtils_username_Set(this._parent, username); 87 } 88 auto username()() { 89 return HTMLHyperlinkElementUtils_username_Get(this._parent); 90 } 91 void password()(string password) { 92 HTMLHyperlinkElementUtils_password_Set(this._parent, password); 93 } 94 auto password()() { 95 return HTMLHyperlinkElementUtils_password_Get(this._parent); 96 } 97 void host()(string host) { 98 HTMLHyperlinkElementUtils_host_Set(this._parent, host); 99 } 100 auto host()() { 101 return HTMLHyperlinkElementUtils_host_Get(this._parent); 102 } 103 void hostname()(string hostname) { 104 HTMLHyperlinkElementUtils_hostname_Set(this._parent, hostname); 105 } 106 auto hostname()() { 107 return HTMLHyperlinkElementUtils_hostname_Get(this._parent); 108 } 109 void port()(string port) { 110 HTMLHyperlinkElementUtils_port_Set(this._parent, port); 111 } 112 auto port()() { 113 return HTMLHyperlinkElementUtils_port_Get(this._parent); 114 } 115 void pathname()(string pathname) { 116 HTMLHyperlinkElementUtils_pathname_Set(this._parent, pathname); 117 } 118 auto pathname()() { 119 return HTMLHyperlinkElementUtils_pathname_Get(this._parent); 120 } 121 void search()(string search) { 122 HTMLHyperlinkElementUtils_search_Set(this._parent, search); 123 } 124 auto search()() { 125 return HTMLHyperlinkElementUtils_search_Get(this._parent); 126 } 127 void hash()(string hash) { 128 HTMLHyperlinkElementUtils_hash_Set(this._parent, hash); 129 } 130 auto hash()() { 131 return HTMLHyperlinkElementUtils_hash_Get(this._parent); 132 } 133 } 134 struct SVGAngle { 135 nothrow: 136 JsHandle handle; 137 alias handle this; 138 this(Handle h) { 139 this.handle = JsHandle(h); 140 } 141 enum ushort SVG_ANGLETYPE_UNKNOWN = 0; 142 enum ushort SVG_ANGLETYPE_UNSPECIFIED = 1; 143 enum ushort SVG_ANGLETYPE_DEG = 2; 144 enum ushort SVG_ANGLETYPE_RAD = 3; 145 enum ushort SVG_ANGLETYPE_GRAD = 4; 146 auto unitType()() { 147 return SVGAngle_unitType_Get(this.handle); 148 } 149 void value()(float value) { 150 SVGAngle_value_Set(this.handle, value); 151 } 152 auto value()() { 153 return SVGAngle_value_Get(this.handle); 154 } 155 void valueInSpecifiedUnits()(float valueInSpecifiedUnits) { 156 SVGAngle_valueInSpecifiedUnits_Set(this.handle, valueInSpecifiedUnits); 157 } 158 auto valueInSpecifiedUnits()() { 159 return SVGAngle_valueInSpecifiedUnits_Get(this.handle); 160 } 161 void valueAsString()(string valueAsString) { 162 SVGAngle_valueAsString_Set(this.handle, valueAsString); 163 } 164 auto valueAsString()() { 165 return SVGAngle_valueAsString_Get(this.handle); 166 } 167 void newValueSpecifiedUnits()(ushort unitType, float valueInSpecifiedUnits) { 168 SVGAngle_newValueSpecifiedUnits(this.handle, unitType, valueInSpecifiedUnits); 169 } 170 void convertToSpecifiedUnits()(ushort unitType) { 171 SVGAngle_convertToSpecifiedUnits(this.handle, unitType); 172 } 173 } 174 struct SVGAnimatedAngle { 175 nothrow: 176 JsHandle handle; 177 alias handle this; 178 this(Handle h) { 179 this.handle = JsHandle(h); 180 } 181 auto baseVal()() { 182 return SVGAngle(SVGAnimatedAngle_baseVal_Get(this.handle)); 183 } 184 auto animVal()() { 185 return SVGAngle(SVGAnimatedAngle_animVal_Get(this.handle)); 186 } 187 } 188 struct SVGAnimatedBoolean { 189 nothrow: 190 JsHandle handle; 191 alias handle this; 192 this(Handle h) { 193 this.handle = JsHandle(h); 194 } 195 void baseVal()(bool baseVal) { 196 SVGAnimatedBoolean_baseVal_Set(this.handle, baseVal); 197 } 198 auto baseVal()() { 199 return SVGAnimatedBoolean_baseVal_Get(this.handle); 200 } 201 auto animVal()() { 202 return SVGAnimatedBoolean_animVal_Get(this.handle); 203 } 204 } 205 struct SVGAnimatedEnumeration { 206 nothrow: 207 JsHandle handle; 208 alias handle this; 209 this(Handle h) { 210 this.handle = JsHandle(h); 211 } 212 void baseVal()(ushort baseVal) { 213 SVGAnimatedEnumeration_baseVal_Set(this.handle, baseVal); 214 } 215 auto baseVal()() { 216 return SVGAnimatedEnumeration_baseVal_Get(this.handle); 217 } 218 auto animVal()() { 219 return SVGAnimatedEnumeration_animVal_Get(this.handle); 220 } 221 } 222 struct SVGAnimatedInteger { 223 nothrow: 224 JsHandle handle; 225 alias handle this; 226 this(Handle h) { 227 this.handle = JsHandle(h); 228 } 229 void baseVal()(int baseVal) { 230 SVGAnimatedInteger_baseVal_Set(this.handle, baseVal); 231 } 232 auto baseVal()() { 233 return SVGAnimatedInteger_baseVal_Get(this.handle); 234 } 235 auto animVal()() { 236 return SVGAnimatedInteger_animVal_Get(this.handle); 237 } 238 } 239 struct SVGAnimatedLength { 240 nothrow: 241 JsHandle handle; 242 alias handle this; 243 this(Handle h) { 244 this.handle = JsHandle(h); 245 } 246 auto baseVal()() { 247 return SVGLength(SVGAnimatedLength_baseVal_Get(this.handle)); 248 } 249 auto animVal()() { 250 return SVGLength(SVGAnimatedLength_animVal_Get(this.handle)); 251 } 252 } 253 struct SVGAnimatedLengthList { 254 nothrow: 255 JsHandle handle; 256 alias handle this; 257 this(Handle h) { 258 this.handle = JsHandle(h); 259 } 260 auto baseVal()() { 261 return SVGLengthList(SVGAnimatedLengthList_baseVal_Get(this.handle)); 262 } 263 auto animVal()() { 264 return SVGLengthList(SVGAnimatedLengthList_animVal_Get(this.handle)); 265 } 266 } 267 struct SVGAnimatedNumber { 268 nothrow: 269 JsHandle handle; 270 alias handle this; 271 this(Handle h) { 272 this.handle = JsHandle(h); 273 } 274 void baseVal()(float baseVal) { 275 SVGAnimatedNumber_baseVal_Set(this.handle, baseVal); 276 } 277 auto baseVal()() { 278 return SVGAnimatedNumber_baseVal_Get(this.handle); 279 } 280 auto animVal()() { 281 return SVGAnimatedNumber_animVal_Get(this.handle); 282 } 283 } 284 struct SVGAnimatedNumberList { 285 nothrow: 286 JsHandle handle; 287 alias handle this; 288 this(Handle h) { 289 this.handle = JsHandle(h); 290 } 291 auto baseVal()() { 292 return SVGNumberList(SVGAnimatedNumberList_baseVal_Get(this.handle)); 293 } 294 auto animVal()() { 295 return SVGNumberList(SVGAnimatedNumberList_animVal_Get(this.handle)); 296 } 297 } 298 struct SVGAnimatedPreserveAspectRatio { 299 nothrow: 300 JsHandle handle; 301 alias handle this; 302 this(Handle h) { 303 this.handle = JsHandle(h); 304 } 305 auto baseVal()() { 306 return SVGPreserveAspectRatio(SVGAnimatedPreserveAspectRatio_baseVal_Get(this.handle)); 307 } 308 auto animVal()() { 309 return SVGPreserveAspectRatio(SVGAnimatedPreserveAspectRatio_animVal_Get(this.handle)); 310 } 311 } 312 struct SVGAnimatedRect { 313 nothrow: 314 JsHandle handle; 315 alias handle this; 316 this(Handle h) { 317 this.handle = JsHandle(h); 318 } 319 auto baseVal()() { 320 return DOMRect(SVGAnimatedRect_baseVal_Get(this.handle)); 321 } 322 auto animVal()() { 323 return DOMRectReadOnly(SVGAnimatedRect_animVal_Get(this.handle)); 324 } 325 } 326 struct SVGAnimatedString { 327 nothrow: 328 JsHandle handle; 329 alias handle this; 330 this(Handle h) { 331 this.handle = JsHandle(h); 332 } 333 void baseVal()(string baseVal) { 334 SVGAnimatedString_baseVal_Set(this.handle, baseVal); 335 } 336 auto baseVal()() { 337 return SVGAnimatedString_baseVal_Get(this.handle); 338 } 339 auto animVal()() { 340 return SVGAnimatedString_animVal_Get(this.handle); 341 } 342 } 343 struct SVGAnimatedTransformList { 344 nothrow: 345 JsHandle handle; 346 alias handle this; 347 this(Handle h) { 348 this.handle = JsHandle(h); 349 } 350 auto baseVal()() { 351 return SVGTransformList(SVGAnimatedTransformList_baseVal_Get(this.handle)); 352 } 353 auto animVal()() { 354 return SVGTransformList(SVGAnimatedTransformList_animVal_Get(this.handle)); 355 } 356 } 357 struct SVGBoundingBoxOptions { 358 nothrow: 359 JsHandle handle; 360 alias handle this; 361 this(Handle h) { 362 this.handle = JsHandle(h); 363 } 364 static auto create() { 365 return SVGBoundingBoxOptions(spasm_add__object()); 366 } 367 void fill()(bool fill) { 368 SVGBoundingBoxOptions_fill_Set(this.handle, fill); 369 } 370 auto fill()() { 371 return SVGBoundingBoxOptions_fill_Get(this.handle); 372 } 373 void stroke()(bool stroke) { 374 SVGBoundingBoxOptions_stroke_Set(this.handle, stroke); 375 } 376 auto stroke()() { 377 return SVGBoundingBoxOptions_stroke_Get(this.handle); 378 } 379 void markers()(bool markers) { 380 SVGBoundingBoxOptions_markers_Set(this.handle, markers); 381 } 382 auto markers()() { 383 return SVGBoundingBoxOptions_markers_Get(this.handle); 384 } 385 void clipped()(bool clipped) { 386 SVGBoundingBoxOptions_clipped_Set(this.handle, clipped); 387 } 388 auto clipped()() { 389 return SVGBoundingBoxOptions_clipped_Get(this.handle); 390 } 391 } 392 struct SVGCircleElement { 393 nothrow: 394 spasm.bindings.svg.SVGGeometryElement _parent; 395 alias _parent this; 396 this(Handle h) { 397 _parent = .SVGGeometryElement(h); 398 } 399 auto cx()() { 400 return SVGAnimatedLength(SVGCircleElement_cx_Get(this._parent)); 401 } 402 auto cy()() { 403 return SVGAnimatedLength(SVGCircleElement_cy_Get(this._parent)); 404 } 405 auto r()() { 406 return SVGAnimatedLength(SVGCircleElement_r_Get(this._parent)); 407 } 408 } 409 struct SVGDefsElement { 410 nothrow: 411 spasm.bindings.svg.SVGGraphicsElement _parent; 412 alias _parent this; 413 this(Handle h) { 414 _parent = .SVGGraphicsElement(h); 415 } 416 } 417 struct SVGDescElement { 418 nothrow: 419 spasm.bindings.svg.SVGElement _parent; 420 alias _parent this; 421 this(Handle h) { 422 _parent = .SVGElement(h); 423 } 424 } 425 struct SVGElement { 426 nothrow: 427 spasm.bindings.dom.Element _parent; 428 alias _parent this; 429 this(Handle h) { 430 _parent = .Element(h); 431 } 432 auto className()() { 433 return SVGAnimatedString(SVGElement_className_Get(this._parent)); 434 } 435 auto ownerSVGElement()() { 436 return SVGElement_ownerSVGElement_Get(this._parent); 437 } 438 auto viewportElement()() { 439 return SVGElement_viewportElement_Get(this._parent); 440 } 441 void onabort()(EventHandler onabort) { 442 GlobalEventHandlers_onabort_Set(this._parent, onabort); 443 } 444 auto onabort()() { 445 return GlobalEventHandlers_onabort_Get(this._parent); 446 } 447 void onauxclick()(EventHandler onauxclick) { 448 GlobalEventHandlers_onauxclick_Set(this._parent, onauxclick); 449 } 450 auto onauxclick()() { 451 return GlobalEventHandlers_onauxclick_Get(this._parent); 452 } 453 void onblur()(EventHandler onblur) { 454 GlobalEventHandlers_onblur_Set(this._parent, onblur); 455 } 456 auto onblur()() { 457 return GlobalEventHandlers_onblur_Get(this._parent); 458 } 459 void oncancel()(EventHandler oncancel) { 460 GlobalEventHandlers_oncancel_Set(this._parent, oncancel); 461 } 462 auto oncancel()() { 463 return GlobalEventHandlers_oncancel_Get(this._parent); 464 } 465 void oncanplay()(EventHandler oncanplay) { 466 GlobalEventHandlers_oncanplay_Set(this._parent, oncanplay); 467 } 468 auto oncanplay()() { 469 return GlobalEventHandlers_oncanplay_Get(this._parent); 470 } 471 void oncanplaythrough()(EventHandler oncanplaythrough) { 472 GlobalEventHandlers_oncanplaythrough_Set(this._parent, oncanplaythrough); 473 } 474 auto oncanplaythrough()() { 475 return GlobalEventHandlers_oncanplaythrough_Get(this._parent); 476 } 477 void onchange()(EventHandler onchange) { 478 GlobalEventHandlers_onchange_Set(this._parent, onchange); 479 } 480 auto onchange()() { 481 return GlobalEventHandlers_onchange_Get(this._parent); 482 } 483 void onclick()(EventHandler onclick) { 484 GlobalEventHandlers_onclick_Set(this._parent, onclick); 485 } 486 auto onclick()() { 487 return GlobalEventHandlers_onclick_Get(this._parent); 488 } 489 void onclose()(EventHandler onclose) { 490 GlobalEventHandlers_onclose_Set(this._parent, onclose); 491 } 492 auto onclose()() { 493 return GlobalEventHandlers_onclose_Get(this._parent); 494 } 495 void oncontextmenu()(EventHandler oncontextmenu) { 496 GlobalEventHandlers_oncontextmenu_Set(this._parent, oncontextmenu); 497 } 498 auto oncontextmenu()() { 499 return GlobalEventHandlers_oncontextmenu_Get(this._parent); 500 } 501 void oncuechange()(EventHandler oncuechange) { 502 GlobalEventHandlers_oncuechange_Set(this._parent, oncuechange); 503 } 504 auto oncuechange()() { 505 return GlobalEventHandlers_oncuechange_Get(this._parent); 506 } 507 void ondblclick()(EventHandler ondblclick) { 508 GlobalEventHandlers_ondblclick_Set(this._parent, ondblclick); 509 } 510 auto ondblclick()() { 511 return GlobalEventHandlers_ondblclick_Get(this._parent); 512 } 513 void ondrag()(EventHandler ondrag) { 514 GlobalEventHandlers_ondrag_Set(this._parent, ondrag); 515 } 516 auto ondrag()() { 517 return GlobalEventHandlers_ondrag_Get(this._parent); 518 } 519 void ondragend()(EventHandler ondragend) { 520 GlobalEventHandlers_ondragend_Set(this._parent, ondragend); 521 } 522 auto ondragend()() { 523 return GlobalEventHandlers_ondragend_Get(this._parent); 524 } 525 void ondragenter()(EventHandler ondragenter) { 526 GlobalEventHandlers_ondragenter_Set(this._parent, ondragenter); 527 } 528 auto ondragenter()() { 529 return GlobalEventHandlers_ondragenter_Get(this._parent); 530 } 531 void ondragexit()(EventHandler ondragexit) { 532 GlobalEventHandlers_ondragexit_Set(this._parent, ondragexit); 533 } 534 auto ondragexit()() { 535 return GlobalEventHandlers_ondragexit_Get(this._parent); 536 } 537 void ondragleave()(EventHandler ondragleave) { 538 GlobalEventHandlers_ondragleave_Set(this._parent, ondragleave); 539 } 540 auto ondragleave()() { 541 return GlobalEventHandlers_ondragleave_Get(this._parent); 542 } 543 void ondragover()(EventHandler ondragover) { 544 GlobalEventHandlers_ondragover_Set(this._parent, ondragover); 545 } 546 auto ondragover()() { 547 return GlobalEventHandlers_ondragover_Get(this._parent); 548 } 549 void ondragstart()(EventHandler ondragstart) { 550 GlobalEventHandlers_ondragstart_Set(this._parent, ondragstart); 551 } 552 auto ondragstart()() { 553 return GlobalEventHandlers_ondragstart_Get(this._parent); 554 } 555 void ondrop()(EventHandler ondrop) { 556 GlobalEventHandlers_ondrop_Set(this._parent, ondrop); 557 } 558 auto ondrop()() { 559 return GlobalEventHandlers_ondrop_Get(this._parent); 560 } 561 void ondurationchange()(EventHandler ondurationchange) { 562 GlobalEventHandlers_ondurationchange_Set(this._parent, ondurationchange); 563 } 564 auto ondurationchange()() { 565 return GlobalEventHandlers_ondurationchange_Get(this._parent); 566 } 567 void onemptied()(EventHandler onemptied) { 568 GlobalEventHandlers_onemptied_Set(this._parent, onemptied); 569 } 570 auto onemptied()() { 571 return GlobalEventHandlers_onemptied_Get(this._parent); 572 } 573 void onended()(EventHandler onended) { 574 GlobalEventHandlers_onended_Set(this._parent, onended); 575 } 576 auto onended()() { 577 return GlobalEventHandlers_onended_Get(this._parent); 578 } 579 void onerror(T0)(scope auto ref Optional!(T0) onerror) if (isTOrPointer!(T0, OnErrorEventHandler)) { 580 GlobalEventHandlers_onerror_Set(this._parent, !onerror.empty, onerror.front); 581 } 582 auto onerror()() { 583 return GlobalEventHandlers_onerror_Get(this._parent); 584 } 585 void onfocus()(EventHandler onfocus) { 586 GlobalEventHandlers_onfocus_Set(this._parent, onfocus); 587 } 588 auto onfocus()() { 589 return GlobalEventHandlers_onfocus_Get(this._parent); 590 } 591 void oninput()(EventHandler oninput) { 592 GlobalEventHandlers_oninput_Set(this._parent, oninput); 593 } 594 auto oninput()() { 595 return GlobalEventHandlers_oninput_Get(this._parent); 596 } 597 void oninvalid()(EventHandler oninvalid) { 598 GlobalEventHandlers_oninvalid_Set(this._parent, oninvalid); 599 } 600 auto oninvalid()() { 601 return GlobalEventHandlers_oninvalid_Get(this._parent); 602 } 603 void onkeydown()(EventHandler onkeydown) { 604 GlobalEventHandlers_onkeydown_Set(this._parent, onkeydown); 605 } 606 auto onkeydown()() { 607 return GlobalEventHandlers_onkeydown_Get(this._parent); 608 } 609 void onkeypress()(EventHandler onkeypress) { 610 GlobalEventHandlers_onkeypress_Set(this._parent, onkeypress); 611 } 612 auto onkeypress()() { 613 return GlobalEventHandlers_onkeypress_Get(this._parent); 614 } 615 void onkeyup()(EventHandler onkeyup) { 616 GlobalEventHandlers_onkeyup_Set(this._parent, onkeyup); 617 } 618 auto onkeyup()() { 619 return GlobalEventHandlers_onkeyup_Get(this._parent); 620 } 621 void onload()(EventHandler onload) { 622 GlobalEventHandlers_onload_Set(this._parent, onload); 623 } 624 auto onload()() { 625 return GlobalEventHandlers_onload_Get(this._parent); 626 } 627 void onloadeddata()(EventHandler onloadeddata) { 628 GlobalEventHandlers_onloadeddata_Set(this._parent, onloadeddata); 629 } 630 auto onloadeddata()() { 631 return GlobalEventHandlers_onloadeddata_Get(this._parent); 632 } 633 void onloadedmetadata()(EventHandler onloadedmetadata) { 634 GlobalEventHandlers_onloadedmetadata_Set(this._parent, onloadedmetadata); 635 } 636 auto onloadedmetadata()() { 637 return GlobalEventHandlers_onloadedmetadata_Get(this._parent); 638 } 639 void onloadend()(EventHandler onloadend) { 640 GlobalEventHandlers_onloadend_Set(this._parent, onloadend); 641 } 642 auto onloadend()() { 643 return GlobalEventHandlers_onloadend_Get(this._parent); 644 } 645 void onloadstart()(EventHandler onloadstart) { 646 GlobalEventHandlers_onloadstart_Set(this._parent, onloadstart); 647 } 648 auto onloadstart()() { 649 return GlobalEventHandlers_onloadstart_Get(this._parent); 650 } 651 void onmousedown()(EventHandler onmousedown) { 652 GlobalEventHandlers_onmousedown_Set(this._parent, onmousedown); 653 } 654 auto onmousedown()() { 655 return GlobalEventHandlers_onmousedown_Get(this._parent); 656 } 657 void onmouseenter()(EventHandler onmouseenter) { 658 GlobalEventHandlers_onmouseenter_Set(this._parent, onmouseenter); 659 } 660 auto onmouseenter()() { 661 return GlobalEventHandlers_onmouseenter_Get(this._parent); 662 } 663 void onmouseleave()(EventHandler onmouseleave) { 664 GlobalEventHandlers_onmouseleave_Set(this._parent, onmouseleave); 665 } 666 auto onmouseleave()() { 667 return GlobalEventHandlers_onmouseleave_Get(this._parent); 668 } 669 void onmousemove()(EventHandler onmousemove) { 670 GlobalEventHandlers_onmousemove_Set(this._parent, onmousemove); 671 } 672 auto onmousemove()() { 673 return GlobalEventHandlers_onmousemove_Get(this._parent); 674 } 675 void onmouseout()(EventHandler onmouseout) { 676 GlobalEventHandlers_onmouseout_Set(this._parent, onmouseout); 677 } 678 auto onmouseout()() { 679 return GlobalEventHandlers_onmouseout_Get(this._parent); 680 } 681 void onmouseover()(EventHandler onmouseover) { 682 GlobalEventHandlers_onmouseover_Set(this._parent, onmouseover); 683 } 684 auto onmouseover()() { 685 return GlobalEventHandlers_onmouseover_Get(this._parent); 686 } 687 void onmouseup()(EventHandler onmouseup) { 688 GlobalEventHandlers_onmouseup_Set(this._parent, onmouseup); 689 } 690 auto onmouseup()() { 691 return GlobalEventHandlers_onmouseup_Get(this._parent); 692 } 693 void onwheel()(EventHandler onwheel) { 694 GlobalEventHandlers_onwheel_Set(this._parent, onwheel); 695 } 696 auto onwheel()() { 697 return GlobalEventHandlers_onwheel_Get(this._parent); 698 } 699 void onpause()(EventHandler onpause) { 700 GlobalEventHandlers_onpause_Set(this._parent, onpause); 701 } 702 auto onpause()() { 703 return GlobalEventHandlers_onpause_Get(this._parent); 704 } 705 void onplay()(EventHandler onplay) { 706 GlobalEventHandlers_onplay_Set(this._parent, onplay); 707 } 708 auto onplay()() { 709 return GlobalEventHandlers_onplay_Get(this._parent); 710 } 711 void onplaying()(EventHandler onplaying) { 712 GlobalEventHandlers_onplaying_Set(this._parent, onplaying); 713 } 714 auto onplaying()() { 715 return GlobalEventHandlers_onplaying_Get(this._parent); 716 } 717 void onprogress()(EventHandler onprogress) { 718 GlobalEventHandlers_onprogress_Set(this._parent, onprogress); 719 } 720 auto onprogress()() { 721 return GlobalEventHandlers_onprogress_Get(this._parent); 722 } 723 void onratechange()(EventHandler onratechange) { 724 GlobalEventHandlers_onratechange_Set(this._parent, onratechange); 725 } 726 auto onratechange()() { 727 return GlobalEventHandlers_onratechange_Get(this._parent); 728 } 729 void onreset()(EventHandler onreset) { 730 GlobalEventHandlers_onreset_Set(this._parent, onreset); 731 } 732 auto onreset()() { 733 return GlobalEventHandlers_onreset_Get(this._parent); 734 } 735 void onresize()(EventHandler onresize) { 736 GlobalEventHandlers_onresize_Set(this._parent, onresize); 737 } 738 auto onresize()() { 739 return GlobalEventHandlers_onresize_Get(this._parent); 740 } 741 void onscroll()(EventHandler onscroll) { 742 GlobalEventHandlers_onscroll_Set(this._parent, onscroll); 743 } 744 auto onscroll()() { 745 return GlobalEventHandlers_onscroll_Get(this._parent); 746 } 747 void onsecuritypolicyviolation()(EventHandler onsecuritypolicyviolation) { 748 GlobalEventHandlers_onsecuritypolicyviolation_Set(this._parent, onsecuritypolicyviolation); 749 } 750 auto onsecuritypolicyviolation()() { 751 return GlobalEventHandlers_onsecuritypolicyviolation_Get(this._parent); 752 } 753 void onseeked()(EventHandler onseeked) { 754 GlobalEventHandlers_onseeked_Set(this._parent, onseeked); 755 } 756 auto onseeked()() { 757 return GlobalEventHandlers_onseeked_Get(this._parent); 758 } 759 void onseeking()(EventHandler onseeking) { 760 GlobalEventHandlers_onseeking_Set(this._parent, onseeking); 761 } 762 auto onseeking()() { 763 return GlobalEventHandlers_onseeking_Get(this._parent); 764 } 765 void onselect()(EventHandler onselect) { 766 GlobalEventHandlers_onselect_Set(this._parent, onselect); 767 } 768 auto onselect()() { 769 return GlobalEventHandlers_onselect_Get(this._parent); 770 } 771 void onstalled()(EventHandler onstalled) { 772 GlobalEventHandlers_onstalled_Set(this._parent, onstalled); 773 } 774 auto onstalled()() { 775 return GlobalEventHandlers_onstalled_Get(this._parent); 776 } 777 void onsubmit()(EventHandler onsubmit) { 778 GlobalEventHandlers_onsubmit_Set(this._parent, onsubmit); 779 } 780 auto onsubmit()() { 781 return GlobalEventHandlers_onsubmit_Get(this._parent); 782 } 783 void onsuspend()(EventHandler onsuspend) { 784 GlobalEventHandlers_onsuspend_Set(this._parent, onsuspend); 785 } 786 auto onsuspend()() { 787 return GlobalEventHandlers_onsuspend_Get(this._parent); 788 } 789 void ontimeupdate()(EventHandler ontimeupdate) { 790 GlobalEventHandlers_ontimeupdate_Set(this._parent, ontimeupdate); 791 } 792 auto ontimeupdate()() { 793 return GlobalEventHandlers_ontimeupdate_Get(this._parent); 794 } 795 void ontoggle()(EventHandler ontoggle) { 796 GlobalEventHandlers_ontoggle_Set(this._parent, ontoggle); 797 } 798 auto ontoggle()() { 799 return GlobalEventHandlers_ontoggle_Get(this._parent); 800 } 801 void onvolumechange()(EventHandler onvolumechange) { 802 GlobalEventHandlers_onvolumechange_Set(this._parent, onvolumechange); 803 } 804 auto onvolumechange()() { 805 return GlobalEventHandlers_onvolumechange_Get(this._parent); 806 } 807 void onwaiting()(EventHandler onwaiting) { 808 GlobalEventHandlers_onwaiting_Set(this._parent, onwaiting); 809 } 810 auto onwaiting()() { 811 return GlobalEventHandlers_onwaiting_Get(this._parent); 812 } 813 void ongotpointercapture()(EventHandler ongotpointercapture) { 814 GlobalEventHandlers_ongotpointercapture_Set(this._parent, ongotpointercapture); 815 } 816 auto ongotpointercapture()() { 817 return GlobalEventHandlers_ongotpointercapture_Get(this._parent); 818 } 819 void onlostpointercapture()(EventHandler onlostpointercapture) { 820 GlobalEventHandlers_onlostpointercapture_Set(this._parent, onlostpointercapture); 821 } 822 auto onlostpointercapture()() { 823 return GlobalEventHandlers_onlostpointercapture_Get(this._parent); 824 } 825 void onpointerdown()(EventHandler onpointerdown) { 826 GlobalEventHandlers_onpointerdown_Set(this._parent, onpointerdown); 827 } 828 auto onpointerdown()() { 829 return GlobalEventHandlers_onpointerdown_Get(this._parent); 830 } 831 void onpointermove()(EventHandler onpointermove) { 832 GlobalEventHandlers_onpointermove_Set(this._parent, onpointermove); 833 } 834 auto onpointermove()() { 835 return GlobalEventHandlers_onpointermove_Get(this._parent); 836 } 837 void onpointerup()(EventHandler onpointerup) { 838 GlobalEventHandlers_onpointerup_Set(this._parent, onpointerup); 839 } 840 auto onpointerup()() { 841 return GlobalEventHandlers_onpointerup_Get(this._parent); 842 } 843 void onpointercancel()(EventHandler onpointercancel) { 844 GlobalEventHandlers_onpointercancel_Set(this._parent, onpointercancel); 845 } 846 auto onpointercancel()() { 847 return GlobalEventHandlers_onpointercancel_Get(this._parent); 848 } 849 void onpointerover()(EventHandler onpointerover) { 850 GlobalEventHandlers_onpointerover_Set(this._parent, onpointerover); 851 } 852 auto onpointerover()() { 853 return GlobalEventHandlers_onpointerover_Get(this._parent); 854 } 855 void onpointerout()(EventHandler onpointerout) { 856 GlobalEventHandlers_onpointerout_Set(this._parent, onpointerout); 857 } 858 auto onpointerout()() { 859 return GlobalEventHandlers_onpointerout_Get(this._parent); 860 } 861 void onpointerenter()(EventHandler onpointerenter) { 862 GlobalEventHandlers_onpointerenter_Set(this._parent, onpointerenter); 863 } 864 auto onpointerenter()() { 865 return GlobalEventHandlers_onpointerenter_Get(this._parent); 866 } 867 void onpointerleave()(EventHandler onpointerleave) { 868 GlobalEventHandlers_onpointerleave_Set(this._parent, onpointerleave); 869 } 870 auto onpointerleave()() { 871 return GlobalEventHandlers_onpointerleave_Get(this._parent); 872 } 873 void ontouchstart()(EventHandler ontouchstart) { 874 GlobalEventHandlers_ontouchstart_Set(this._parent, ontouchstart); 875 } 876 auto ontouchstart()() { 877 return GlobalEventHandlers_ontouchstart_Get(this._parent); 878 } 879 void ontouchend()(EventHandler ontouchend) { 880 GlobalEventHandlers_ontouchend_Set(this._parent, ontouchend); 881 } 882 auto ontouchend()() { 883 return GlobalEventHandlers_ontouchend_Get(this._parent); 884 } 885 void ontouchmove()(EventHandler ontouchmove) { 886 GlobalEventHandlers_ontouchmove_Set(this._parent, ontouchmove); 887 } 888 auto ontouchmove()() { 889 return GlobalEventHandlers_ontouchmove_Get(this._parent); 890 } 891 void ontouchcancel()(EventHandler ontouchcancel) { 892 GlobalEventHandlers_ontouchcancel_Set(this._parent, ontouchcancel); 893 } 894 auto ontouchcancel()() { 895 return GlobalEventHandlers_ontouchcancel_Get(this._parent); 896 } 897 void oncopy()(EventHandler oncopy) { 898 DocumentAndElementEventHandlers_oncopy_Set(this._parent, oncopy); 899 } 900 auto oncopy()() { 901 return DocumentAndElementEventHandlers_oncopy_Get(this._parent); 902 } 903 void oncut()(EventHandler oncut) { 904 DocumentAndElementEventHandlers_oncut_Set(this._parent, oncut); 905 } 906 auto oncut()() { 907 return DocumentAndElementEventHandlers_oncut_Get(this._parent); 908 } 909 void onpaste()(EventHandler onpaste) { 910 DocumentAndElementEventHandlers_onpaste_Set(this._parent, onpaste); 911 } 912 auto onpaste()() { 913 return DocumentAndElementEventHandlers_onpaste_Get(this._parent); 914 } 915 auto correspondingElement()() { 916 return SVGElementInstance_correspondingElement_Get(this._parent); 917 } 918 auto correspondingUseElement()() { 919 return SVGElementInstance_correspondingUseElement_Get(this._parent); 920 } 921 auto dataset()() { 922 return DOMStringMap(HTMLOrSVGElement_dataset_Get(this._parent)); 923 } 924 void nonce()(string nonce) { 925 HTMLOrSVGElement_nonce_Set(this._parent, nonce); 926 } 927 auto nonce()() { 928 return HTMLOrSVGElement_nonce_Get(this._parent); 929 } 930 void tabIndex()(int tabIndex) { 931 HTMLOrSVGElement_tabIndex_Set(this._parent, tabIndex); 932 } 933 auto tabIndex()() { 934 return HTMLOrSVGElement_tabIndex_Get(this._parent); 935 } 936 void focus()(scope ref FocusOptions options) { 937 HTMLOrSVGElement_focus(this._parent, options.handle); 938 } 939 void focus()() { 940 HTMLOrSVGElement_focus_0(this._parent); 941 } 942 void blur()() { 943 HTMLOrSVGElement_blur(this._parent); 944 } 945 auto style()() { 946 return CSSStyleDeclaration(ElementCSSInlineStyle_style_Get(this._parent)); 947 } 948 } 949 struct SVGEllipseElement { 950 nothrow: 951 spasm.bindings.svg.SVGGeometryElement _parent; 952 alias _parent this; 953 this(Handle h) { 954 _parent = .SVGGeometryElement(h); 955 } 956 auto cx()() { 957 return SVGAnimatedLength(SVGEllipseElement_cx_Get(this._parent)); 958 } 959 auto cy()() { 960 return SVGAnimatedLength(SVGEllipseElement_cy_Get(this._parent)); 961 } 962 auto rx()() { 963 return SVGAnimatedLength(SVGEllipseElement_rx_Get(this._parent)); 964 } 965 auto ry()() { 966 return SVGAnimatedLength(SVGEllipseElement_ry_Get(this._parent)); 967 } 968 } 969 struct SVGForeignObjectElement { 970 nothrow: 971 spasm.bindings.svg.SVGGraphicsElement _parent; 972 alias _parent this; 973 this(Handle h) { 974 _parent = .SVGGraphicsElement(h); 975 } 976 auto x()() { 977 return SVGAnimatedLength(SVGForeignObjectElement_x_Get(this._parent)); 978 } 979 auto y()() { 980 return SVGAnimatedLength(SVGForeignObjectElement_y_Get(this._parent)); 981 } 982 auto width()() { 983 return SVGAnimatedLength(SVGForeignObjectElement_width_Get(this._parent)); 984 } 985 auto height()() { 986 return SVGAnimatedLength(SVGForeignObjectElement_height_Get(this._parent)); 987 } 988 } 989 struct SVGGElement { 990 nothrow: 991 spasm.bindings.svg.SVGGraphicsElement _parent; 992 alias _parent this; 993 this(Handle h) { 994 _parent = .SVGGraphicsElement(h); 995 } 996 } 997 struct SVGGeometryElement { 998 nothrow: 999 spasm.bindings.svg.SVGGraphicsElement _parent; 1000 alias _parent this; 1001 this(Handle h) { 1002 _parent = .SVGGraphicsElement(h); 1003 } 1004 auto pathLength()() { 1005 return SVGAnimatedNumber(SVGGeometryElement_pathLength_Get(this._parent)); 1006 } 1007 auto isPointInFill()(scope ref DOMPointInit point) { 1008 return SVGGeometryElement_isPointInFill(this._parent, point.handle); 1009 } 1010 auto isPointInFill()() { 1011 return SVGGeometryElement_isPointInFill_0(this._parent); 1012 } 1013 auto isPointInStroke()(scope ref DOMPointInit point) { 1014 return SVGGeometryElement_isPointInStroke(this._parent, point.handle); 1015 } 1016 auto isPointInStroke()() { 1017 return SVGGeometryElement_isPointInStroke_0(this._parent); 1018 } 1019 auto getTotalLength()() { 1020 return SVGGeometryElement_getTotalLength(this._parent); 1021 } 1022 auto getPointAtLength()(float distance) { 1023 return DOMPoint(SVGGeometryElement_getPointAtLength(this._parent, distance)); 1024 } 1025 } 1026 struct SVGGradientElement { 1027 nothrow: 1028 spasm.bindings.svg.SVGElement _parent; 1029 alias _parent this; 1030 this(Handle h) { 1031 _parent = .SVGElement(h); 1032 } 1033 enum ushort SVG_SPREADMETHOD_UNKNOWN = 0; 1034 enum ushort SVG_SPREADMETHOD_PAD = 1; 1035 enum ushort SVG_SPREADMETHOD_REFLECT = 2; 1036 enum ushort SVG_SPREADMETHOD_REPEAT = 3; 1037 auto gradientUnits()() { 1038 return SVGAnimatedEnumeration(SVGGradientElement_gradientUnits_Get(this._parent)); 1039 } 1040 auto gradientTransform()() { 1041 return SVGAnimatedTransformList(SVGGradientElement_gradientTransform_Get(this._parent)); 1042 } 1043 auto spreadMethod()() { 1044 return SVGAnimatedEnumeration(SVGGradientElement_spreadMethod_Get(this._parent)); 1045 } 1046 auto href()() { 1047 return SVGAnimatedString(SVGURIReference_href_Get(this._parent)); 1048 } 1049 } 1050 struct SVGGraphicsElement { 1051 nothrow: 1052 spasm.bindings.svg.SVGElement _parent; 1053 alias _parent this; 1054 this(Handle h) { 1055 _parent = .SVGElement(h); 1056 } 1057 auto transform()() { 1058 return SVGAnimatedTransformList(SVGGraphicsElement_transform_Get(this._parent)); 1059 } 1060 auto getBBox()(scope ref SVGBoundingBoxOptions options) { 1061 return DOMRect(SVGGraphicsElement_getBBox(this._parent, options.handle)); 1062 } 1063 auto getBBox()() { 1064 return DOMRect(SVGGraphicsElement_getBBox_0(this._parent)); 1065 } 1066 auto getCTM()() { 1067 return SVGGraphicsElement_getCTM(this._parent); 1068 } 1069 auto getScreenCTM()() { 1070 return SVGGraphicsElement_getScreenCTM(this._parent); 1071 } 1072 auto requiredExtensions()() { 1073 return SVGStringList(SVGTests_requiredExtensions_Get(this._parent)); 1074 } 1075 auto systemLanguage()() { 1076 return SVGStringList(SVGTests_systemLanguage_Get(this._parent)); 1077 } 1078 } 1079 struct SVGImageElement { 1080 nothrow: 1081 spasm.bindings.svg.SVGGraphicsElement _parent; 1082 alias _parent this; 1083 this(Handle h) { 1084 _parent = .SVGGraphicsElement(h); 1085 } 1086 auto x()() { 1087 return SVGAnimatedLength(SVGImageElement_x_Get(this._parent)); 1088 } 1089 auto y()() { 1090 return SVGAnimatedLength(SVGImageElement_y_Get(this._parent)); 1091 } 1092 auto width()() { 1093 return SVGAnimatedLength(SVGImageElement_width_Get(this._parent)); 1094 } 1095 auto height()() { 1096 return SVGAnimatedLength(SVGImageElement_height_Get(this._parent)); 1097 } 1098 auto preserveAspectRatio()() { 1099 return SVGAnimatedPreserveAspectRatio(SVGImageElement_preserveAspectRatio_Get(this._parent)); 1100 } 1101 void crossOrigin(T0)(scope auto ref Optional!(T0) crossOrigin) if (isTOrPointer!(T0, string)) { 1102 SVGImageElement_crossOrigin_Set(this._parent, !crossOrigin.empty, crossOrigin.front); 1103 } 1104 auto crossOrigin()() { 1105 return SVGImageElement_crossOrigin_Get(this._parent); 1106 } 1107 auto href()() { 1108 return SVGAnimatedString(SVGURIReference_href_Get(this._parent)); 1109 } 1110 } 1111 struct SVGLength { 1112 nothrow: 1113 JsHandle handle; 1114 alias handle this; 1115 this(Handle h) { 1116 this.handle = JsHandle(h); 1117 } 1118 enum ushort SVG_LENGTHTYPE_UNKNOWN = 0; 1119 enum ushort SVG_LENGTHTYPE_NUMBER = 1; 1120 enum ushort SVG_LENGTHTYPE_PERCENTAGE = 2; 1121 enum ushort SVG_LENGTHTYPE_EMS = 3; 1122 enum ushort SVG_LENGTHTYPE_EXS = 4; 1123 enum ushort SVG_LENGTHTYPE_PX = 5; 1124 enum ushort SVG_LENGTHTYPE_CM = 6; 1125 enum ushort SVG_LENGTHTYPE_MM = 7; 1126 enum ushort SVG_LENGTHTYPE_IN = 8; 1127 enum ushort SVG_LENGTHTYPE_PT = 9; 1128 enum ushort SVG_LENGTHTYPE_PC = 10; 1129 auto unitType()() { 1130 return SVGLength_unitType_Get(this.handle); 1131 } 1132 void value()(float value) { 1133 SVGLength_value_Set(this.handle, value); 1134 } 1135 auto value()() { 1136 return SVGLength_value_Get(this.handle); 1137 } 1138 void valueInSpecifiedUnits()(float valueInSpecifiedUnits) { 1139 SVGLength_valueInSpecifiedUnits_Set(this.handle, valueInSpecifiedUnits); 1140 } 1141 auto valueInSpecifiedUnits()() { 1142 return SVGLength_valueInSpecifiedUnits_Get(this.handle); 1143 } 1144 void valueAsString()(string valueAsString) { 1145 SVGLength_valueAsString_Set(this.handle, valueAsString); 1146 } 1147 auto valueAsString()() { 1148 return SVGLength_valueAsString_Get(this.handle); 1149 } 1150 void newValueSpecifiedUnits()(ushort unitType, float valueInSpecifiedUnits) { 1151 SVGLength_newValueSpecifiedUnits(this.handle, unitType, valueInSpecifiedUnits); 1152 } 1153 void convertToSpecifiedUnits()(ushort unitType) { 1154 SVGLength_convertToSpecifiedUnits(this.handle, unitType); 1155 } 1156 } 1157 struct SVGLengthList { 1158 nothrow: 1159 JsHandle handle; 1160 alias handle this; 1161 this(Handle h) { 1162 this.handle = JsHandle(h); 1163 } 1164 auto length()() { 1165 return SVGLengthList_length_Get(this.handle); 1166 } 1167 auto numberOfItems()() { 1168 return SVGLengthList_numberOfItems_Get(this.handle); 1169 } 1170 void clear()() { 1171 SVGLengthList_clear(this.handle); 1172 } 1173 auto initialize()(scope ref SVGLength newItem) { 1174 return SVGLength(SVGLengthList_initialize(this.handle, newItem.handle)); 1175 } 1176 auto getItem()(uint index) { 1177 return SVGLength(SVGLengthList_getItem_getter(this.handle, index)); 1178 } 1179 auto insertItemBefore()(scope ref SVGLength newItem, uint index) { 1180 return SVGLength(SVGLengthList_insertItemBefore(this.handle, newItem.handle, index)); 1181 } 1182 auto replaceItem()(scope ref SVGLength newItem, uint index) { 1183 return SVGLength(SVGLengthList_replaceItem(this.handle, newItem.handle, index)); 1184 } 1185 auto removeItem()(uint index) { 1186 return SVGLength(SVGLengthList_removeItem(this.handle, index)); 1187 } 1188 auto appendItem()(scope ref SVGLength newItem) { 1189 return SVGLength(SVGLengthList_appendItem(this.handle, newItem.handle)); 1190 } 1191 void opIndexAssign()(scope ref SVGLength newItem, uint index) { 1192 SVGLengthList_setter__uint_Handle(this.handle, index, newItem.handle); 1193 } 1194 void opDispatch(uint index)(scope ref SVGLength newItem) { 1195 SVGLengthList_setter__uint_Handle(this.handle, index, newItem.handle); 1196 } 1197 } 1198 struct SVGLineElement { 1199 nothrow: 1200 spasm.bindings.svg.SVGGeometryElement _parent; 1201 alias _parent this; 1202 this(Handle h) { 1203 _parent = .SVGGeometryElement(h); 1204 } 1205 auto x1()() { 1206 return SVGAnimatedLength(SVGLineElement_x1_Get(this._parent)); 1207 } 1208 auto y1()() { 1209 return SVGAnimatedLength(SVGLineElement_y1_Get(this._parent)); 1210 } 1211 auto x2()() { 1212 return SVGAnimatedLength(SVGLineElement_x2_Get(this._parent)); 1213 } 1214 auto y2()() { 1215 return SVGAnimatedLength(SVGLineElement_y2_Get(this._parent)); 1216 } 1217 } 1218 struct SVGLinearGradientElement { 1219 nothrow: 1220 spasm.bindings.svg.SVGGradientElement _parent; 1221 alias _parent this; 1222 this(Handle h) { 1223 _parent = .SVGGradientElement(h); 1224 } 1225 auto x1()() { 1226 return SVGAnimatedLength(SVGLinearGradientElement_x1_Get(this._parent)); 1227 } 1228 auto y1()() { 1229 return SVGAnimatedLength(SVGLinearGradientElement_y1_Get(this._parent)); 1230 } 1231 auto x2()() { 1232 return SVGAnimatedLength(SVGLinearGradientElement_x2_Get(this._parent)); 1233 } 1234 auto y2()() { 1235 return SVGAnimatedLength(SVGLinearGradientElement_y2_Get(this._parent)); 1236 } 1237 } 1238 struct SVGMarkerElement { 1239 nothrow: 1240 spasm.bindings.svg.SVGElement _parent; 1241 alias _parent this; 1242 this(Handle h) { 1243 _parent = .SVGElement(h); 1244 } 1245 enum ushort SVG_MARKERUNITS_UNKNOWN = 0; 1246 enum ushort SVG_MARKERUNITS_USERSPACEONUSE = 1; 1247 enum ushort SVG_MARKERUNITS_STROKEWIDTH = 2; 1248 enum ushort SVG_MARKER_ORIENT_UNKNOWN = 0; 1249 enum ushort SVG_MARKER_ORIENT_AUTO = 1; 1250 enum ushort SVG_MARKER_ORIENT_ANGLE = 2; 1251 auto refX()() { 1252 return SVGAnimatedLength(SVGMarkerElement_refX_Get(this._parent)); 1253 } 1254 auto refY()() { 1255 return SVGAnimatedLength(SVGMarkerElement_refY_Get(this._parent)); 1256 } 1257 auto markerUnits()() { 1258 return SVGAnimatedEnumeration(SVGMarkerElement_markerUnits_Get(this._parent)); 1259 } 1260 auto markerWidth()() { 1261 return SVGAnimatedLength(SVGMarkerElement_markerWidth_Get(this._parent)); 1262 } 1263 auto markerHeight()() { 1264 return SVGAnimatedLength(SVGMarkerElement_markerHeight_Get(this._parent)); 1265 } 1266 auto orientType()() { 1267 return SVGAnimatedEnumeration(SVGMarkerElement_orientType_Get(this._parent)); 1268 } 1269 auto orientAngle()() { 1270 return SVGAnimatedAngle(SVGMarkerElement_orientAngle_Get(this._parent)); 1271 } 1272 void orient()(string orient) { 1273 SVGMarkerElement_orient_Set(this._parent, orient); 1274 } 1275 auto orient()() { 1276 return SVGMarkerElement_orient_Get(this._parent); 1277 } 1278 void setOrientToAuto()() { 1279 SVGMarkerElement_setOrientToAuto(this._parent); 1280 } 1281 void setOrientToAngle()(scope ref SVGAngle angle) { 1282 SVGMarkerElement_setOrientToAngle(this._parent, angle.handle); 1283 } 1284 auto viewBox()() { 1285 return SVGAnimatedRect(SVGFitToViewBox_viewBox_Get(this._parent)); 1286 } 1287 auto preserveAspectRatio()() { 1288 return SVGAnimatedPreserveAspectRatio(SVGFitToViewBox_preserveAspectRatio_Get(this._parent)); 1289 } 1290 } 1291 struct SVGMetadataElement { 1292 nothrow: 1293 spasm.bindings.svg.SVGElement _parent; 1294 alias _parent this; 1295 this(Handle h) { 1296 _parent = .SVGElement(h); 1297 } 1298 } 1299 struct SVGNumber { 1300 nothrow: 1301 JsHandle handle; 1302 alias handle this; 1303 this(Handle h) { 1304 this.handle = JsHandle(h); 1305 } 1306 void value()(float value) { 1307 SVGNumber_value_Set(this.handle, value); 1308 } 1309 auto value()() { 1310 return SVGNumber_value_Get(this.handle); 1311 } 1312 } 1313 struct SVGNumberList { 1314 nothrow: 1315 JsHandle handle; 1316 alias handle this; 1317 this(Handle h) { 1318 this.handle = JsHandle(h); 1319 } 1320 auto length()() { 1321 return SVGNumberList_length_Get(this.handle); 1322 } 1323 auto numberOfItems()() { 1324 return SVGNumberList_numberOfItems_Get(this.handle); 1325 } 1326 void clear()() { 1327 SVGNumberList_clear(this.handle); 1328 } 1329 auto initialize()(scope ref SVGNumber newItem) { 1330 return SVGNumber(SVGNumberList_initialize(this.handle, newItem.handle)); 1331 } 1332 auto getItem()(uint index) { 1333 return SVGNumber(SVGNumberList_getItem_getter(this.handle, index)); 1334 } 1335 auto insertItemBefore()(scope ref SVGNumber newItem, uint index) { 1336 return SVGNumber(SVGNumberList_insertItemBefore(this.handle, newItem.handle, index)); 1337 } 1338 auto replaceItem()(scope ref SVGNumber newItem, uint index) { 1339 return SVGNumber(SVGNumberList_replaceItem(this.handle, newItem.handle, index)); 1340 } 1341 auto removeItem()(uint index) { 1342 return SVGNumber(SVGNumberList_removeItem(this.handle, index)); 1343 } 1344 auto appendItem()(scope ref SVGNumber newItem) { 1345 return SVGNumber(SVGNumberList_appendItem(this.handle, newItem.handle)); 1346 } 1347 void opIndexAssign()(scope ref SVGNumber newItem, uint index) { 1348 SVGNumberList_setter__uint_Handle(this.handle, index, newItem.handle); 1349 } 1350 void opDispatch(uint index)(scope ref SVGNumber newItem) { 1351 SVGNumberList_setter__uint_Handle(this.handle, index, newItem.handle); 1352 } 1353 } 1354 struct SVGPathElement { 1355 nothrow: 1356 spasm.bindings.svg.SVGGeometryElement _parent; 1357 alias _parent this; 1358 this(Handle h) { 1359 _parent = .SVGGeometryElement(h); 1360 } 1361 } 1362 struct SVGPatternElement { 1363 nothrow: 1364 spasm.bindings.svg.SVGElement _parent; 1365 alias _parent this; 1366 this(Handle h) { 1367 _parent = .SVGElement(h); 1368 } 1369 auto patternUnits()() { 1370 return SVGAnimatedEnumeration(SVGPatternElement_patternUnits_Get(this._parent)); 1371 } 1372 auto patternContentUnits()() { 1373 return SVGAnimatedEnumeration(SVGPatternElement_patternContentUnits_Get(this._parent)); 1374 } 1375 auto patternTransform()() { 1376 return SVGAnimatedTransformList(SVGPatternElement_patternTransform_Get(this._parent)); 1377 } 1378 auto x()() { 1379 return SVGAnimatedLength(SVGPatternElement_x_Get(this._parent)); 1380 } 1381 auto y()() { 1382 return SVGAnimatedLength(SVGPatternElement_y_Get(this._parent)); 1383 } 1384 auto width()() { 1385 return SVGAnimatedLength(SVGPatternElement_width_Get(this._parent)); 1386 } 1387 auto height()() { 1388 return SVGAnimatedLength(SVGPatternElement_height_Get(this._parent)); 1389 } 1390 auto viewBox()() { 1391 return SVGAnimatedRect(SVGFitToViewBox_viewBox_Get(this._parent)); 1392 } 1393 auto preserveAspectRatio()() { 1394 return SVGAnimatedPreserveAspectRatio(SVGFitToViewBox_preserveAspectRatio_Get(this._parent)); 1395 } 1396 auto href()() { 1397 return SVGAnimatedString(SVGURIReference_href_Get(this._parent)); 1398 } 1399 } 1400 struct SVGPointList { 1401 nothrow: 1402 JsHandle handle; 1403 alias handle this; 1404 this(Handle h) { 1405 this.handle = JsHandle(h); 1406 } 1407 auto length()() { 1408 return SVGPointList_length_Get(this.handle); 1409 } 1410 auto numberOfItems()() { 1411 return SVGPointList_numberOfItems_Get(this.handle); 1412 } 1413 void clear()() { 1414 SVGPointList_clear(this.handle); 1415 } 1416 auto initialize()(scope ref DOMPoint newItem) { 1417 return DOMPoint(SVGPointList_initialize(this.handle, newItem._parent)); 1418 } 1419 auto getItem()(uint index) { 1420 return DOMPoint(SVGPointList_getItem_getter(this.handle, index)); 1421 } 1422 auto insertItemBefore()(scope ref DOMPoint newItem, uint index) { 1423 return DOMPoint(SVGPointList_insertItemBefore(this.handle, newItem._parent, index)); 1424 } 1425 auto replaceItem()(scope ref DOMPoint newItem, uint index) { 1426 return DOMPoint(SVGPointList_replaceItem(this.handle, newItem._parent, index)); 1427 } 1428 auto removeItem()(uint index) { 1429 return DOMPoint(SVGPointList_removeItem(this.handle, index)); 1430 } 1431 auto appendItem()(scope ref DOMPoint newItem) { 1432 return DOMPoint(SVGPointList_appendItem(this.handle, newItem._parent)); 1433 } 1434 void opIndexAssign()(scope ref DOMPoint newItem, uint index) { 1435 SVGPointList_setter__uint_Handle(this.handle, index, newItem._parent); 1436 } 1437 void opDispatch(uint index)(scope ref DOMPoint newItem) { 1438 SVGPointList_setter__uint_Handle(this.handle, index, newItem._parent); 1439 } 1440 } 1441 struct SVGPolygonElement { 1442 nothrow: 1443 spasm.bindings.svg.SVGGeometryElement _parent; 1444 alias _parent this; 1445 this(Handle h) { 1446 _parent = .SVGGeometryElement(h); 1447 } 1448 auto points()() { 1449 return SVGPointList(SVGAnimatedPoints_points_Get(this._parent)); 1450 } 1451 auto animatedPoints()() { 1452 return SVGPointList(SVGAnimatedPoints_animatedPoints_Get(this._parent)); 1453 } 1454 } 1455 struct SVGPolylineElement { 1456 nothrow: 1457 spasm.bindings.svg.SVGGeometryElement _parent; 1458 alias _parent this; 1459 this(Handle h) { 1460 _parent = .SVGGeometryElement(h); 1461 } 1462 auto points()() { 1463 return SVGPointList(SVGAnimatedPoints_points_Get(this._parent)); 1464 } 1465 auto animatedPoints()() { 1466 return SVGPointList(SVGAnimatedPoints_animatedPoints_Get(this._parent)); 1467 } 1468 } 1469 struct SVGPreserveAspectRatio { 1470 nothrow: 1471 JsHandle handle; 1472 alias handle this; 1473 this(Handle h) { 1474 this.handle = JsHandle(h); 1475 } 1476 enum ushort SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; 1477 enum ushort SVG_PRESERVEASPECTRATIO_NONE = 1; 1478 enum ushort SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; 1479 enum ushort SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; 1480 enum ushort SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4; 1481 enum ushort SVG_PRESERVEASPECTRATIO_XMINYMID = 5; 1482 enum ushort SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; 1483 enum ushort SVG_PRESERVEASPECTRATIO_XMAXYMID = 7; 1484 enum ushort SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; 1485 enum ushort SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9; 1486 enum ushort SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10; 1487 enum ushort SVG_MEETORSLICE_UNKNOWN = 0; 1488 enum ushort SVG_MEETORSLICE_MEET = 1; 1489 enum ushort SVG_MEETORSLICE_SLICE = 2; 1490 void align_()(ushort align_) { 1491 SVGPreserveAspectRatio_align_Set(this.handle, align_); 1492 } 1493 auto align_()() { 1494 return SVGPreserveAspectRatio_align_Get(this.handle); 1495 } 1496 void meetOrSlice()(ushort meetOrSlice) { 1497 SVGPreserveAspectRatio_meetOrSlice_Set(this.handle, meetOrSlice); 1498 } 1499 auto meetOrSlice()() { 1500 return SVGPreserveAspectRatio_meetOrSlice_Get(this.handle); 1501 } 1502 } 1503 struct SVGRadialGradientElement { 1504 nothrow: 1505 spasm.bindings.svg.SVGGradientElement _parent; 1506 alias _parent this; 1507 this(Handle h) { 1508 _parent = .SVGGradientElement(h); 1509 } 1510 auto cx()() { 1511 return SVGAnimatedLength(SVGRadialGradientElement_cx_Get(this._parent)); 1512 } 1513 auto cy()() { 1514 return SVGAnimatedLength(SVGRadialGradientElement_cy_Get(this._parent)); 1515 } 1516 auto r()() { 1517 return SVGAnimatedLength(SVGRadialGradientElement_r_Get(this._parent)); 1518 } 1519 auto fx()() { 1520 return SVGAnimatedLength(SVGRadialGradientElement_fx_Get(this._parent)); 1521 } 1522 auto fy()() { 1523 return SVGAnimatedLength(SVGRadialGradientElement_fy_Get(this._parent)); 1524 } 1525 auto fr()() { 1526 return SVGAnimatedLength(SVGRadialGradientElement_fr_Get(this._parent)); 1527 } 1528 } 1529 struct SVGRectElement { 1530 nothrow: 1531 spasm.bindings.svg.SVGGeometryElement _parent; 1532 alias _parent this; 1533 this(Handle h) { 1534 _parent = .SVGGeometryElement(h); 1535 } 1536 auto x()() { 1537 return SVGAnimatedLength(SVGRectElement_x_Get(this._parent)); 1538 } 1539 auto y()() { 1540 return SVGAnimatedLength(SVGRectElement_y_Get(this._parent)); 1541 } 1542 auto width()() { 1543 return SVGAnimatedLength(SVGRectElement_width_Get(this._parent)); 1544 } 1545 auto height()() { 1546 return SVGAnimatedLength(SVGRectElement_height_Get(this._parent)); 1547 } 1548 auto rx()() { 1549 return SVGAnimatedLength(SVGRectElement_rx_Get(this._parent)); 1550 } 1551 auto ry()() { 1552 return SVGAnimatedLength(SVGRectElement_ry_Get(this._parent)); 1553 } 1554 } 1555 struct SVGSVGElement { 1556 nothrow: 1557 spasm.bindings.svg.SVGGraphicsElement _parent; 1558 alias _parent this; 1559 this(Handle h) { 1560 _parent = .SVGGraphicsElement(h); 1561 } 1562 auto x()() { 1563 return SVGAnimatedLength(SVGSVGElement_x_Get(this._parent)); 1564 } 1565 auto y()() { 1566 return SVGAnimatedLength(SVGSVGElement_y_Get(this._parent)); 1567 } 1568 auto width()() { 1569 return SVGAnimatedLength(SVGSVGElement_width_Get(this._parent)); 1570 } 1571 auto height()() { 1572 return SVGAnimatedLength(SVGSVGElement_height_Get(this._parent)); 1573 } 1574 void currentScale()(float currentScale) { 1575 SVGSVGElement_currentScale_Set(this._parent, currentScale); 1576 } 1577 auto currentScale()() { 1578 return SVGSVGElement_currentScale_Get(this._parent); 1579 } 1580 auto currentTranslate()() { 1581 return DOMPointReadOnly(SVGSVGElement_currentTranslate_Get(this._parent)); 1582 } 1583 auto getIntersectionList(T1)(scope ref DOMRectReadOnly rect, scope auto ref Optional!(T1) referenceElement) if (isTOrPointer!(T1, SVGElement)) { 1584 return NodeList(SVGSVGElement_getIntersectionList(this._parent, rect.handle, !referenceElement.empty, referenceElement.front._parent)); 1585 } 1586 auto getEnclosureList(T1)(scope ref DOMRectReadOnly rect, scope auto ref Optional!(T1) referenceElement) if (isTOrPointer!(T1, SVGElement)) { 1587 return NodeList(SVGSVGElement_getEnclosureList(this._parent, rect.handle, !referenceElement.empty, referenceElement.front._parent)); 1588 } 1589 auto checkIntersection()(scope ref SVGElement element, scope ref DOMRectReadOnly rect) { 1590 return SVGSVGElement_checkIntersection(this._parent, element._parent, rect.handle); 1591 } 1592 auto checkEnclosure()(scope ref SVGElement element, scope ref DOMRectReadOnly rect) { 1593 return SVGSVGElement_checkEnclosure(this._parent, element._parent, rect.handle); 1594 } 1595 void deselectAll()() { 1596 SVGSVGElement_deselectAll(this._parent); 1597 } 1598 auto createSVGNumber()() { 1599 return SVGNumber(SVGSVGElement_createSVGNumber(this._parent)); 1600 } 1601 auto createSVGLength()() { 1602 return SVGLength(SVGSVGElement_createSVGLength(this._parent)); 1603 } 1604 auto createSVGAngle()() { 1605 return SVGAngle(SVGSVGElement_createSVGAngle(this._parent)); 1606 } 1607 auto createSVGPoint()() { 1608 return DOMPoint(SVGSVGElement_createSVGPoint(this._parent)); 1609 } 1610 auto createSVGMatrix()() { 1611 return DOMMatrix(SVGSVGElement_createSVGMatrix(this._parent)); 1612 } 1613 auto createSVGRect()() { 1614 return DOMRect(SVGSVGElement_createSVGRect(this._parent)); 1615 } 1616 auto createSVGTransform()() { 1617 return SVGTransform(SVGSVGElement_createSVGTransform(this._parent)); 1618 } 1619 auto createSVGTransformFromMatrix()(scope ref DOMMatrixReadOnly matrix) { 1620 return SVGTransform(SVGSVGElement_createSVGTransformFromMatrix(this._parent, matrix.handle)); 1621 } 1622 auto getElementById()(string elementId) { 1623 return Element(SVGSVGElement_getElementById(this._parent, elementId)); 1624 } 1625 auto suspendRedraw()(uint maxWaitMilliseconds) { 1626 return SVGSVGElement_suspendRedraw(this._parent, maxWaitMilliseconds); 1627 } 1628 void unsuspendRedraw()(uint suspendHandleID) { 1629 SVGSVGElement_unsuspendRedraw(this._parent, suspendHandleID); 1630 } 1631 void unsuspendRedrawAll()() { 1632 SVGSVGElement_unsuspendRedrawAll(this._parent); 1633 } 1634 void forceRedraw()() { 1635 SVGSVGElement_forceRedraw(this._parent); 1636 } 1637 auto viewBox()() { 1638 return SVGAnimatedRect(SVGFitToViewBox_viewBox_Get(this._parent)); 1639 } 1640 auto preserveAspectRatio()() { 1641 return SVGAnimatedPreserveAspectRatio(SVGFitToViewBox_preserveAspectRatio_Get(this._parent)); 1642 } 1643 enum ushort SVG_ZOOMANDPAN_UNKNOWN = 0; 1644 enum ushort SVG_ZOOMANDPAN_DISABLE = 1; 1645 enum ushort SVG_ZOOMANDPAN_MAGNIFY = 2; 1646 void zoomAndPan()(ushort zoomAndPan) { 1647 SVGZoomAndPan_zoomAndPan_Set(this._parent, zoomAndPan); 1648 } 1649 auto zoomAndPan()() { 1650 return SVGZoomAndPan_zoomAndPan_Get(this._parent); 1651 } 1652 void onafterprint()(EventHandler onafterprint) { 1653 WindowEventHandlers_onafterprint_Set(this._parent, onafterprint); 1654 } 1655 auto onafterprint()() { 1656 return WindowEventHandlers_onafterprint_Get(this._parent); 1657 } 1658 void onbeforeprint()(EventHandler onbeforeprint) { 1659 WindowEventHandlers_onbeforeprint_Set(this._parent, onbeforeprint); 1660 } 1661 auto onbeforeprint()() { 1662 return WindowEventHandlers_onbeforeprint_Get(this._parent); 1663 } 1664 void onbeforeunload(T0)(scope auto ref Optional!(T0) onbeforeunload) if (isTOrPointer!(T0, OnBeforeUnloadEventHandler)) { 1665 WindowEventHandlers_onbeforeunload_Set(this._parent, !onbeforeunload.empty, onbeforeunload.front); 1666 } 1667 auto onbeforeunload()() { 1668 return WindowEventHandlers_onbeforeunload_Get(this._parent); 1669 } 1670 void onhashchange()(EventHandler onhashchange) { 1671 WindowEventHandlers_onhashchange_Set(this._parent, onhashchange); 1672 } 1673 auto onhashchange()() { 1674 return WindowEventHandlers_onhashchange_Get(this._parent); 1675 } 1676 void onlanguagechange()(EventHandler onlanguagechange) { 1677 WindowEventHandlers_onlanguagechange_Set(this._parent, onlanguagechange); 1678 } 1679 auto onlanguagechange()() { 1680 return WindowEventHandlers_onlanguagechange_Get(this._parent); 1681 } 1682 void onmessage()(EventHandler onmessage) { 1683 WindowEventHandlers_onmessage_Set(this._parent, onmessage); 1684 } 1685 auto onmessage()() { 1686 return WindowEventHandlers_onmessage_Get(this._parent); 1687 } 1688 void onmessageerror()(EventHandler onmessageerror) { 1689 WindowEventHandlers_onmessageerror_Set(this._parent, onmessageerror); 1690 } 1691 auto onmessageerror()() { 1692 return WindowEventHandlers_onmessageerror_Get(this._parent); 1693 } 1694 void onoffline()(EventHandler onoffline) { 1695 WindowEventHandlers_onoffline_Set(this._parent, onoffline); 1696 } 1697 auto onoffline()() { 1698 return WindowEventHandlers_onoffline_Get(this._parent); 1699 } 1700 void ononline()(EventHandler ononline) { 1701 WindowEventHandlers_ononline_Set(this._parent, ononline); 1702 } 1703 auto ononline()() { 1704 return WindowEventHandlers_ononline_Get(this._parent); 1705 } 1706 void onpagehide()(EventHandler onpagehide) { 1707 WindowEventHandlers_onpagehide_Set(this._parent, onpagehide); 1708 } 1709 auto onpagehide()() { 1710 return WindowEventHandlers_onpagehide_Get(this._parent); 1711 } 1712 void onpageshow()(EventHandler onpageshow) { 1713 WindowEventHandlers_onpageshow_Set(this._parent, onpageshow); 1714 } 1715 auto onpageshow()() { 1716 return WindowEventHandlers_onpageshow_Get(this._parent); 1717 } 1718 void onpopstate()(EventHandler onpopstate) { 1719 WindowEventHandlers_onpopstate_Set(this._parent, onpopstate); 1720 } 1721 auto onpopstate()() { 1722 return WindowEventHandlers_onpopstate_Get(this._parent); 1723 } 1724 void onrejectionhandled()(EventHandler onrejectionhandled) { 1725 WindowEventHandlers_onrejectionhandled_Set(this._parent, onrejectionhandled); 1726 } 1727 auto onrejectionhandled()() { 1728 return WindowEventHandlers_onrejectionhandled_Get(this._parent); 1729 } 1730 void onstorage()(EventHandler onstorage) { 1731 WindowEventHandlers_onstorage_Set(this._parent, onstorage); 1732 } 1733 auto onstorage()() { 1734 return WindowEventHandlers_onstorage_Get(this._parent); 1735 } 1736 void onunhandledrejection()(EventHandler onunhandledrejection) { 1737 WindowEventHandlers_onunhandledrejection_Set(this._parent, onunhandledrejection); 1738 } 1739 auto onunhandledrejection()() { 1740 return WindowEventHandlers_onunhandledrejection_Get(this._parent); 1741 } 1742 void onunload()(EventHandler onunload) { 1743 WindowEventHandlers_onunload_Set(this._parent, onunload); 1744 } 1745 auto onunload()() { 1746 return WindowEventHandlers_onunload_Get(this._parent); 1747 } 1748 } 1749 struct SVGScriptElement { 1750 nothrow: 1751 spasm.bindings.svg.SVGElement _parent; 1752 alias _parent this; 1753 this(Handle h) { 1754 _parent = .SVGElement(h); 1755 } 1756 void type()(string type) { 1757 SVGScriptElement_type_Set(this._parent, type); 1758 } 1759 auto type()() { 1760 return SVGScriptElement_type_Get(this._parent); 1761 } 1762 void crossOrigin(T0)(scope auto ref Optional!(T0) crossOrigin) if (isTOrPointer!(T0, string)) { 1763 SVGScriptElement_crossOrigin_Set(this._parent, !crossOrigin.empty, crossOrigin.front); 1764 } 1765 auto crossOrigin()() { 1766 return SVGScriptElement_crossOrigin_Get(this._parent); 1767 } 1768 auto href()() { 1769 return SVGAnimatedString(SVGURIReference_href_Get(this._parent)); 1770 } 1771 } 1772 struct SVGStopElement { 1773 nothrow: 1774 spasm.bindings.svg.SVGElement _parent; 1775 alias _parent this; 1776 this(Handle h) { 1777 _parent = .SVGElement(h); 1778 } 1779 auto offset()() { 1780 return SVGAnimatedNumber(SVGStopElement_offset_Get(this._parent)); 1781 } 1782 } 1783 struct SVGStringList { 1784 nothrow: 1785 JsHandle handle; 1786 alias handle this; 1787 this(Handle h) { 1788 this.handle = JsHandle(h); 1789 } 1790 auto length()() { 1791 return SVGStringList_length_Get(this.handle); 1792 } 1793 auto numberOfItems()() { 1794 return SVGStringList_numberOfItems_Get(this.handle); 1795 } 1796 void clear()() { 1797 SVGStringList_clear(this.handle); 1798 } 1799 auto initialize()(string newItem) { 1800 return SVGStringList_initialize(this.handle, newItem); 1801 } 1802 auto getItem()(uint index) { 1803 return SVGStringList_getItem_getter(this.handle, index); 1804 } 1805 auto insertItemBefore()(string newItem, uint index) { 1806 return SVGStringList_insertItemBefore(this.handle, newItem, index); 1807 } 1808 auto replaceItem()(string newItem, uint index) { 1809 return SVGStringList_replaceItem(this.handle, newItem, index); 1810 } 1811 auto removeItem()(uint index) { 1812 return SVGStringList_removeItem(this.handle, index); 1813 } 1814 auto appendItem()(string newItem) { 1815 return SVGStringList_appendItem(this.handle, newItem); 1816 } 1817 void opIndexAssign()(string newItem, uint index) { 1818 SVGStringList_setter__uint_string(this.handle, index, newItem); 1819 } 1820 void opDispatch(uint index)(string newItem) { 1821 SVGStringList_setter__uint_string(this.handle, index, newItem); 1822 } 1823 } 1824 struct SVGStyleElement { 1825 nothrow: 1826 spasm.bindings.svg.SVGElement _parent; 1827 alias _parent this; 1828 this(Handle h) { 1829 _parent = .SVGElement(h); 1830 } 1831 void type()(string type) { 1832 SVGStyleElement_type_Set(this._parent, type); 1833 } 1834 auto type()() { 1835 return SVGStyleElement_type_Get(this._parent); 1836 } 1837 void media()(string media) { 1838 SVGStyleElement_media_Set(this._parent, media); 1839 } 1840 auto media()() { 1841 return SVGStyleElement_media_Get(this._parent); 1842 } 1843 void title()(string title) { 1844 SVGStyleElement_title_Set(this._parent, title); 1845 } 1846 auto title()() { 1847 return SVGStyleElement_title_Get(this._parent); 1848 } 1849 } 1850 struct SVGSwitchElement { 1851 nothrow: 1852 spasm.bindings.svg.SVGGraphicsElement _parent; 1853 alias _parent this; 1854 this(Handle h) { 1855 _parent = .SVGGraphicsElement(h); 1856 } 1857 } 1858 struct SVGSymbolElement { 1859 nothrow: 1860 spasm.bindings.svg.SVGGraphicsElement _parent; 1861 alias _parent this; 1862 this(Handle h) { 1863 _parent = .SVGGraphicsElement(h); 1864 } 1865 auto viewBox()() { 1866 return SVGAnimatedRect(SVGFitToViewBox_viewBox_Get(this._parent)); 1867 } 1868 auto preserveAspectRatio()() { 1869 return SVGAnimatedPreserveAspectRatio(SVGFitToViewBox_preserveAspectRatio_Get(this._parent)); 1870 } 1871 } 1872 struct SVGTSpanElement { 1873 nothrow: 1874 spasm.bindings.svg.SVGTextPositioningElement _parent; 1875 alias _parent this; 1876 this(Handle h) { 1877 _parent = .SVGTextPositioningElement(h); 1878 } 1879 } 1880 struct SVGTextContentElement { 1881 nothrow: 1882 spasm.bindings.svg.SVGGraphicsElement _parent; 1883 alias _parent this; 1884 this(Handle h) { 1885 _parent = .SVGGraphicsElement(h); 1886 } 1887 enum ushort LENGTHADJUST_UNKNOWN = 0; 1888 enum ushort LENGTHADJUST_SPACING = 1; 1889 enum ushort LENGTHADJUST_SPACINGANDGLYPHS = 2; 1890 auto textLength()() { 1891 return SVGAnimatedLength(SVGTextContentElement_textLength_Get(this._parent)); 1892 } 1893 auto lengthAdjust()() { 1894 return SVGAnimatedEnumeration(SVGTextContentElement_lengthAdjust_Get(this._parent)); 1895 } 1896 auto getNumberOfChars()() { 1897 return SVGTextContentElement_getNumberOfChars(this._parent); 1898 } 1899 auto getComputedTextLength()() { 1900 return SVGTextContentElement_getComputedTextLength(this._parent); 1901 } 1902 auto getSubStringLength()(uint charnum, uint nchars) { 1903 return SVGTextContentElement_getSubStringLength(this._parent, charnum, nchars); 1904 } 1905 auto getStartPositionOfChar()(uint charnum) { 1906 return DOMPoint(SVGTextContentElement_getStartPositionOfChar(this._parent, charnum)); 1907 } 1908 auto getEndPositionOfChar()(uint charnum) { 1909 return DOMPoint(SVGTextContentElement_getEndPositionOfChar(this._parent, charnum)); 1910 } 1911 auto getExtentOfChar()(uint charnum) { 1912 return DOMRect(SVGTextContentElement_getExtentOfChar(this._parent, charnum)); 1913 } 1914 auto getRotationOfChar()(uint charnum) { 1915 return SVGTextContentElement_getRotationOfChar(this._parent, charnum); 1916 } 1917 auto getCharNumAtPosition()(scope ref DOMPointInit point) { 1918 return SVGTextContentElement_getCharNumAtPosition(this._parent, point.handle); 1919 } 1920 auto getCharNumAtPosition()() { 1921 return SVGTextContentElement_getCharNumAtPosition_0(this._parent); 1922 } 1923 void selectSubString()(uint charnum, uint nchars) { 1924 SVGTextContentElement_selectSubString(this._parent, charnum, nchars); 1925 } 1926 } 1927 struct SVGTextElement { 1928 nothrow: 1929 spasm.bindings.svg.SVGTextPositioningElement _parent; 1930 alias _parent this; 1931 this(Handle h) { 1932 _parent = .SVGTextPositioningElement(h); 1933 } 1934 } 1935 struct SVGTextPathElement { 1936 nothrow: 1937 spasm.bindings.svg.SVGTextContentElement _parent; 1938 alias _parent this; 1939 this(Handle h) { 1940 _parent = .SVGTextContentElement(h); 1941 } 1942 enum ushort TEXTPATH_METHODTYPE_UNKNOWN = 0; 1943 enum ushort TEXTPATH_METHODTYPE_ALIGN = 1; 1944 enum ushort TEXTPATH_METHODTYPE_STRETCH = 2; 1945 enum ushort TEXTPATH_SPACINGTYPE_UNKNOWN = 0; 1946 enum ushort TEXTPATH_SPACINGTYPE_AUTO = 1; 1947 enum ushort TEXTPATH_SPACINGTYPE_EXACT = 2; 1948 auto startOffset()() { 1949 return SVGAnimatedLength(SVGTextPathElement_startOffset_Get(this._parent)); 1950 } 1951 auto method()() { 1952 return SVGAnimatedEnumeration(SVGTextPathElement_method_Get(this._parent)); 1953 } 1954 auto spacing()() { 1955 return SVGAnimatedEnumeration(SVGTextPathElement_spacing_Get(this._parent)); 1956 } 1957 auto href()() { 1958 return SVGAnimatedString(SVGURIReference_href_Get(this._parent)); 1959 } 1960 } 1961 struct SVGTextPositioningElement { 1962 nothrow: 1963 spasm.bindings.svg.SVGTextContentElement _parent; 1964 alias _parent this; 1965 this(Handle h) { 1966 _parent = .SVGTextContentElement(h); 1967 } 1968 auto x()() { 1969 return SVGAnimatedLengthList(SVGTextPositioningElement_x_Get(this._parent)); 1970 } 1971 auto y()() { 1972 return SVGAnimatedLengthList(SVGTextPositioningElement_y_Get(this._parent)); 1973 } 1974 auto dx()() { 1975 return SVGAnimatedLengthList(SVGTextPositioningElement_dx_Get(this._parent)); 1976 } 1977 auto dy()() { 1978 return SVGAnimatedLengthList(SVGTextPositioningElement_dy_Get(this._parent)); 1979 } 1980 auto rotate()() { 1981 return SVGAnimatedNumberList(SVGTextPositioningElement_rotate_Get(this._parent)); 1982 } 1983 } 1984 struct SVGTitleElement { 1985 nothrow: 1986 spasm.bindings.svg.SVGElement _parent; 1987 alias _parent this; 1988 this(Handle h) { 1989 _parent = .SVGElement(h); 1990 } 1991 } 1992 struct SVGTransform { 1993 nothrow: 1994 JsHandle handle; 1995 alias handle this; 1996 this(Handle h) { 1997 this.handle = JsHandle(h); 1998 } 1999 enum ushort SVG_TRANSFORM_UNKNOWN = 0; 2000 enum ushort SVG_TRANSFORM_MATRIX = 1; 2001 enum ushort SVG_TRANSFORM_TRANSLATE = 2; 2002 enum ushort SVG_TRANSFORM_SCALE = 3; 2003 enum ushort SVG_TRANSFORM_ROTATE = 4; 2004 enum ushort SVG_TRANSFORM_SKEWX = 5; 2005 enum ushort SVG_TRANSFORM_SKEWY = 6; 2006 auto type()() { 2007 return SVGTransform_type_Get(this.handle); 2008 } 2009 auto matrix()() { 2010 return DOMMatrix(SVGTransform_matrix_Get(this.handle)); 2011 } 2012 auto angle()() { 2013 return SVGTransform_angle_Get(this.handle); 2014 } 2015 void setMatrix()(scope ref DOMMatrixReadOnly matrix) { 2016 SVGTransform_setMatrix(this.handle, matrix.handle); 2017 } 2018 void setTranslate()(float tx, float ty) { 2019 SVGTransform_setTranslate(this.handle, tx, ty); 2020 } 2021 void setScale()(float sx, float sy) { 2022 SVGTransform_setScale(this.handle, sx, sy); 2023 } 2024 void setRotate()(float angle, float cx, float cy) { 2025 SVGTransform_setRotate(this.handle, angle, cx, cy); 2026 } 2027 void setSkewX()(float angle) { 2028 SVGTransform_setSkewX(this.handle, angle); 2029 } 2030 void setSkewY()(float angle) { 2031 SVGTransform_setSkewY(this.handle, angle); 2032 } 2033 } 2034 struct SVGTransformList { 2035 nothrow: 2036 JsHandle handle; 2037 alias handle this; 2038 this(Handle h) { 2039 this.handle = JsHandle(h); 2040 } 2041 auto length()() { 2042 return SVGTransformList_length_Get(this.handle); 2043 } 2044 auto numberOfItems()() { 2045 return SVGTransformList_numberOfItems_Get(this.handle); 2046 } 2047 void clear()() { 2048 SVGTransformList_clear(this.handle); 2049 } 2050 auto initialize()(scope ref SVGTransform newItem) { 2051 return SVGTransform(SVGTransformList_initialize(this.handle, newItem.handle)); 2052 } 2053 auto getItem()(uint index) { 2054 return SVGTransform(SVGTransformList_getItem_getter(this.handle, index)); 2055 } 2056 auto insertItemBefore()(scope ref SVGTransform newItem, uint index) { 2057 return SVGTransform(SVGTransformList_insertItemBefore(this.handle, newItem.handle, index)); 2058 } 2059 auto replaceItem()(scope ref SVGTransform newItem, uint index) { 2060 return SVGTransform(SVGTransformList_replaceItem(this.handle, newItem.handle, index)); 2061 } 2062 auto removeItem()(uint index) { 2063 return SVGTransform(SVGTransformList_removeItem(this.handle, index)); 2064 } 2065 auto appendItem()(scope ref SVGTransform newItem) { 2066 return SVGTransform(SVGTransformList_appendItem(this.handle, newItem.handle)); 2067 } 2068 void opIndexAssign()(scope ref SVGTransform newItem, uint index) { 2069 SVGTransformList_setter__uint_Handle(this.handle, index, newItem.handle); 2070 } 2071 void opDispatch(uint index)(scope ref SVGTransform newItem) { 2072 SVGTransformList_setter__uint_Handle(this.handle, index, newItem.handle); 2073 } 2074 auto createSVGTransformFromMatrix()(scope ref DOMMatrixReadOnly matrix) { 2075 return SVGTransform(SVGTransformList_createSVGTransformFromMatrix(this.handle, matrix.handle)); 2076 } 2077 auto consolidate()() { 2078 return SVGTransformList_consolidate(this.handle); 2079 } 2080 } 2081 struct SVGUnitTypes { 2082 nothrow: 2083 JsHandle handle; 2084 alias handle this; 2085 this(Handle h) { 2086 this.handle = JsHandle(h); 2087 } 2088 enum ushort SVG_UNIT_TYPE_UNKNOWN = 0; 2089 enum ushort SVG_UNIT_TYPE_USERSPACEONUSE = 1; 2090 enum ushort SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; 2091 } 2092 struct SVGUnknownElement { 2093 nothrow: 2094 spasm.bindings.svg.SVGGraphicsElement _parent; 2095 alias _parent this; 2096 this(Handle h) { 2097 _parent = .SVGGraphicsElement(h); 2098 } 2099 } 2100 struct SVGUseElement { 2101 nothrow: 2102 spasm.bindings.svg.SVGGraphicsElement _parent; 2103 alias _parent this; 2104 this(Handle h) { 2105 _parent = .SVGGraphicsElement(h); 2106 } 2107 auto x()() { 2108 return SVGAnimatedLength(SVGUseElement_x_Get(this._parent)); 2109 } 2110 auto y()() { 2111 return SVGAnimatedLength(SVGUseElement_y_Get(this._parent)); 2112 } 2113 auto width()() { 2114 return SVGAnimatedLength(SVGUseElement_width_Get(this._parent)); 2115 } 2116 auto height()() { 2117 return SVGAnimatedLength(SVGUseElement_height_Get(this._parent)); 2118 } 2119 auto instanceRoot()() { 2120 return SVGUseElement_instanceRoot_Get(this._parent); 2121 } 2122 auto animatedInstanceRoot()() { 2123 return SVGUseElement_animatedInstanceRoot_Get(this._parent); 2124 } 2125 auto href()() { 2126 return SVGAnimatedString(SVGURIReference_href_Get(this._parent)); 2127 } 2128 } 2129 struct SVGUseElementShadowRoot { 2130 nothrow: 2131 spasm.bindings.dom.ShadowRoot _parent; 2132 alias _parent this; 2133 this(Handle h) { 2134 _parent = .ShadowRoot(h); 2135 } 2136 } 2137 struct SVGViewElement { 2138 nothrow: 2139 spasm.bindings.svg.SVGElement _parent; 2140 alias _parent this; 2141 this(Handle h) { 2142 _parent = .SVGElement(h); 2143 } 2144 auto viewBox()() { 2145 return SVGAnimatedRect(SVGFitToViewBox_viewBox_Get(this._parent)); 2146 } 2147 auto preserveAspectRatio()() { 2148 return SVGAnimatedPreserveAspectRatio(SVGFitToViewBox_preserveAspectRatio_Get(this._parent)); 2149 } 2150 enum ushort SVG_ZOOMANDPAN_UNKNOWN = 0; 2151 enum ushort SVG_ZOOMANDPAN_DISABLE = 1; 2152 enum ushort SVG_ZOOMANDPAN_MAGNIFY = 2; 2153 void zoomAndPan()(ushort zoomAndPan) { 2154 SVGZoomAndPan_zoomAndPan_Set(this._parent, zoomAndPan); 2155 } 2156 auto zoomAndPan()() { 2157 return SVGZoomAndPan_zoomAndPan_Get(this._parent); 2158 } 2159 } 2160 struct ShadowAnimation { 2161 nothrow: 2162 Animation _parent; 2163 alias _parent this; 2164 this(Handle h) { 2165 _parent = .Animation(h); 2166 } 2167 auto sourceAnimation()() { 2168 return Animation(ShadowAnimation_sourceAnimation_Get(this._parent)); 2169 } 2170 } 2171 2172 2173 extern (C) Handle GetSVGDocument_getSVGDocument(Handle); 2174 extern (C) Handle SVGAElement_target_Get(Handle); 2175 extern (C) void SVGAElement_download_Set(Handle, string); 2176 extern (C) string SVGAElement_download_Get(Handle); 2177 extern (C) void SVGAElement_ping_Set(Handle, string); 2178 extern (C) string SVGAElement_ping_Get(Handle); 2179 extern (C) void SVGAElement_rel_Set(Handle, string); 2180 extern (C) string SVGAElement_rel_Get(Handle); 2181 extern (C) Handle SVGAElement_relList_Get(Handle); 2182 extern (C) void SVGAElement_hreflang_Set(Handle, string); 2183 extern (C) string SVGAElement_hreflang_Get(Handle); 2184 extern (C) void SVGAElement_type_Set(Handle, string); 2185 extern (C) string SVGAElement_type_Get(Handle); 2186 extern (C) void SVGAElement_text_Set(Handle, string); 2187 extern (C) string SVGAElement_text_Get(Handle); 2188 extern (C) void SVGAElement_referrerPolicy_Set(Handle, string); 2189 extern (C) string SVGAElement_referrerPolicy_Get(Handle); 2190 extern (C) ushort SVGAngle_unitType_Get(Handle); 2191 extern (C) void SVGAngle_value_Set(Handle, float); 2192 extern (C) float SVGAngle_value_Get(Handle); 2193 extern (C) void SVGAngle_valueInSpecifiedUnits_Set(Handle, float); 2194 extern (C) float SVGAngle_valueInSpecifiedUnits_Get(Handle); 2195 extern (C) void SVGAngle_valueAsString_Set(Handle, string); 2196 extern (C) string SVGAngle_valueAsString_Get(Handle); 2197 extern (C) void SVGAngle_newValueSpecifiedUnits(Handle, ushort, float); 2198 extern (C) void SVGAngle_convertToSpecifiedUnits(Handle, ushort); 2199 extern (C) Handle SVGAnimatedAngle_baseVal_Get(Handle); 2200 extern (C) Handle SVGAnimatedAngle_animVal_Get(Handle); 2201 extern (C) void SVGAnimatedBoolean_baseVal_Set(Handle, bool); 2202 extern (C) bool SVGAnimatedBoolean_baseVal_Get(Handle); 2203 extern (C) bool SVGAnimatedBoolean_animVal_Get(Handle); 2204 extern (C) void SVGAnimatedEnumeration_baseVal_Set(Handle, ushort); 2205 extern (C) ushort SVGAnimatedEnumeration_baseVal_Get(Handle); 2206 extern (C) ushort SVGAnimatedEnumeration_animVal_Get(Handle); 2207 extern (C) void SVGAnimatedInteger_baseVal_Set(Handle, int); 2208 extern (C) int SVGAnimatedInteger_baseVal_Get(Handle); 2209 extern (C) int SVGAnimatedInteger_animVal_Get(Handle); 2210 extern (C) Handle SVGAnimatedLength_baseVal_Get(Handle); 2211 extern (C) Handle SVGAnimatedLength_animVal_Get(Handle); 2212 extern (C) Handle SVGAnimatedLengthList_baseVal_Get(Handle); 2213 extern (C) Handle SVGAnimatedLengthList_animVal_Get(Handle); 2214 extern (C) void SVGAnimatedNumber_baseVal_Set(Handle, float); 2215 extern (C) float SVGAnimatedNumber_baseVal_Get(Handle); 2216 extern (C) float SVGAnimatedNumber_animVal_Get(Handle); 2217 extern (C) Handle SVGAnimatedNumberList_baseVal_Get(Handle); 2218 extern (C) Handle SVGAnimatedNumberList_animVal_Get(Handle); 2219 extern (C) Handle SVGAnimatedPoints_points_Get(Handle); 2220 extern (C) Handle SVGAnimatedPoints_animatedPoints_Get(Handle); 2221 extern (C) Handle SVGAnimatedPreserveAspectRatio_baseVal_Get(Handle); 2222 extern (C) Handle SVGAnimatedPreserveAspectRatio_animVal_Get(Handle); 2223 extern (C) Handle SVGAnimatedRect_baseVal_Get(Handle); 2224 extern (C) Handle SVGAnimatedRect_animVal_Get(Handle); 2225 extern (C) void SVGAnimatedString_baseVal_Set(Handle, string); 2226 extern (C) string SVGAnimatedString_baseVal_Get(Handle); 2227 extern (C) string SVGAnimatedString_animVal_Get(Handle); 2228 extern (C) Handle SVGAnimatedTransformList_baseVal_Get(Handle); 2229 extern (C) Handle SVGAnimatedTransformList_animVal_Get(Handle); 2230 extern (C) void SVGBoundingBoxOptions_fill_Set(Handle, bool); 2231 extern (C) bool SVGBoundingBoxOptions_fill_Get(Handle); 2232 extern (C) void SVGBoundingBoxOptions_stroke_Set(Handle, bool); 2233 extern (C) bool SVGBoundingBoxOptions_stroke_Get(Handle); 2234 extern (C) void SVGBoundingBoxOptions_markers_Set(Handle, bool); 2235 extern (C) bool SVGBoundingBoxOptions_markers_Get(Handle); 2236 extern (C) void SVGBoundingBoxOptions_clipped_Set(Handle, bool); 2237 extern (C) bool SVGBoundingBoxOptions_clipped_Get(Handle); 2238 extern (C) Handle SVGCircleElement_cx_Get(Handle); 2239 extern (C) Handle SVGCircleElement_cy_Get(Handle); 2240 extern (C) Handle SVGCircleElement_r_Get(Handle); 2241 extern (C) Handle SVGElement_className_Get(Handle); 2242 extern (C) Optional!(SVGSVGElement) SVGElement_ownerSVGElement_Get(Handle); 2243 extern (C) Optional!(SVGElement) SVGElement_viewportElement_Get(Handle); 2244 extern (C) Optional!(SVGElement) SVGElementInstance_correspondingElement_Get(Handle); 2245 extern (C) Optional!(SVGUseElement) SVGElementInstance_correspondingUseElement_Get(Handle); 2246 extern (C) Handle SVGEllipseElement_cx_Get(Handle); 2247 extern (C) Handle SVGEllipseElement_cy_Get(Handle); 2248 extern (C) Handle SVGEllipseElement_rx_Get(Handle); 2249 extern (C) Handle SVGEllipseElement_ry_Get(Handle); 2250 extern (C) Handle SVGFitToViewBox_viewBox_Get(Handle); 2251 extern (C) Handle SVGFitToViewBox_preserveAspectRatio_Get(Handle); 2252 extern (C) Handle SVGForeignObjectElement_x_Get(Handle); 2253 extern (C) Handle SVGForeignObjectElement_y_Get(Handle); 2254 extern (C) Handle SVGForeignObjectElement_width_Get(Handle); 2255 extern (C) Handle SVGForeignObjectElement_height_Get(Handle); 2256 extern (C) Handle SVGGeometryElement_pathLength_Get(Handle); 2257 extern (C) bool SVGGeometryElement_isPointInFill(Handle, Handle); 2258 extern (C) bool SVGGeometryElement_isPointInFill_0(Handle); 2259 extern (C) bool SVGGeometryElement_isPointInStroke(Handle, Handle); 2260 extern (C) bool SVGGeometryElement_isPointInStroke_0(Handle); 2261 extern (C) float SVGGeometryElement_getTotalLength(Handle); 2262 extern (C) Handle SVGGeometryElement_getPointAtLength(Handle, float); 2263 extern (C) Handle SVGGradientElement_gradientUnits_Get(Handle); 2264 extern (C) Handle SVGGradientElement_gradientTransform_Get(Handle); 2265 extern (C) Handle SVGGradientElement_spreadMethod_Get(Handle); 2266 extern (C) Handle SVGGraphicsElement_transform_Get(Handle); 2267 extern (C) Handle SVGGraphicsElement_getBBox(Handle, Handle); 2268 extern (C) Handle SVGGraphicsElement_getBBox_0(Handle); 2269 extern (C) Optional!(DOMMatrix) SVGGraphicsElement_getCTM(Handle); 2270 extern (C) Optional!(DOMMatrix) SVGGraphicsElement_getScreenCTM(Handle); 2271 extern (C) Handle SVGImageElement_x_Get(Handle); 2272 extern (C) Handle SVGImageElement_y_Get(Handle); 2273 extern (C) Handle SVGImageElement_width_Get(Handle); 2274 extern (C) Handle SVGImageElement_height_Get(Handle); 2275 extern (C) Handle SVGImageElement_preserveAspectRatio_Get(Handle); 2276 extern (C) void SVGImageElement_crossOrigin_Set(Handle, bool, string); 2277 extern (C) Optional!(string) SVGImageElement_crossOrigin_Get(Handle); 2278 extern (C) ushort SVGLength_unitType_Get(Handle); 2279 extern (C) void SVGLength_value_Set(Handle, float); 2280 extern (C) float SVGLength_value_Get(Handle); 2281 extern (C) void SVGLength_valueInSpecifiedUnits_Set(Handle, float); 2282 extern (C) float SVGLength_valueInSpecifiedUnits_Get(Handle); 2283 extern (C) void SVGLength_valueAsString_Set(Handle, string); 2284 extern (C) string SVGLength_valueAsString_Get(Handle); 2285 extern (C) void SVGLength_newValueSpecifiedUnits(Handle, ushort, float); 2286 extern (C) void SVGLength_convertToSpecifiedUnits(Handle, ushort); 2287 extern (C) uint SVGLengthList_length_Get(Handle); 2288 extern (C) uint SVGLengthList_numberOfItems_Get(Handle); 2289 extern (C) void SVGLengthList_clear(Handle); 2290 extern (C) Handle SVGLengthList_initialize(Handle, Handle); 2291 extern (C) Handle SVGLengthList_getItem_getter(Handle, uint); 2292 extern (C) Handle SVGLengthList_insertItemBefore(Handle, Handle, uint); 2293 extern (C) Handle SVGLengthList_replaceItem(Handle, Handle, uint); 2294 extern (C) Handle SVGLengthList_removeItem(Handle, uint); 2295 extern (C) Handle SVGLengthList_appendItem(Handle, Handle); 2296 extern (C) void SVGLengthList_setter__uint_Handle(Handle, uint, Handle); 2297 extern (C) Handle SVGLineElement_x1_Get(Handle); 2298 extern (C) Handle SVGLineElement_y1_Get(Handle); 2299 extern (C) Handle SVGLineElement_x2_Get(Handle); 2300 extern (C) Handle SVGLineElement_y2_Get(Handle); 2301 extern (C) Handle SVGLinearGradientElement_x1_Get(Handle); 2302 extern (C) Handle SVGLinearGradientElement_y1_Get(Handle); 2303 extern (C) Handle SVGLinearGradientElement_x2_Get(Handle); 2304 extern (C) Handle SVGLinearGradientElement_y2_Get(Handle); 2305 extern (C) Handle SVGMarkerElement_refX_Get(Handle); 2306 extern (C) Handle SVGMarkerElement_refY_Get(Handle); 2307 extern (C) Handle SVGMarkerElement_markerUnits_Get(Handle); 2308 extern (C) Handle SVGMarkerElement_markerWidth_Get(Handle); 2309 extern (C) Handle SVGMarkerElement_markerHeight_Get(Handle); 2310 extern (C) Handle SVGMarkerElement_orientType_Get(Handle); 2311 extern (C) Handle SVGMarkerElement_orientAngle_Get(Handle); 2312 extern (C) void SVGMarkerElement_orient_Set(Handle, string); 2313 extern (C) string SVGMarkerElement_orient_Get(Handle); 2314 extern (C) void SVGMarkerElement_setOrientToAuto(Handle); 2315 extern (C) void SVGMarkerElement_setOrientToAngle(Handle, Handle); 2316 extern (C) void SVGNumber_value_Set(Handle, float); 2317 extern (C) float SVGNumber_value_Get(Handle); 2318 extern (C) uint SVGNumberList_length_Get(Handle); 2319 extern (C) uint SVGNumberList_numberOfItems_Get(Handle); 2320 extern (C) void SVGNumberList_clear(Handle); 2321 extern (C) Handle SVGNumberList_initialize(Handle, Handle); 2322 extern (C) Handle SVGNumberList_getItem_getter(Handle, uint); 2323 extern (C) Handle SVGNumberList_insertItemBefore(Handle, Handle, uint); 2324 extern (C) Handle SVGNumberList_replaceItem(Handle, Handle, uint); 2325 extern (C) Handle SVGNumberList_removeItem(Handle, uint); 2326 extern (C) Handle SVGNumberList_appendItem(Handle, Handle); 2327 extern (C) void SVGNumberList_setter__uint_Handle(Handle, uint, Handle); 2328 extern (C) Handle SVGPatternElement_patternUnits_Get(Handle); 2329 extern (C) Handle SVGPatternElement_patternContentUnits_Get(Handle); 2330 extern (C) Handle SVGPatternElement_patternTransform_Get(Handle); 2331 extern (C) Handle SVGPatternElement_x_Get(Handle); 2332 extern (C) Handle SVGPatternElement_y_Get(Handle); 2333 extern (C) Handle SVGPatternElement_width_Get(Handle); 2334 extern (C) Handle SVGPatternElement_height_Get(Handle); 2335 extern (C) uint SVGPointList_length_Get(Handle); 2336 extern (C) uint SVGPointList_numberOfItems_Get(Handle); 2337 extern (C) void SVGPointList_clear(Handle); 2338 extern (C) Handle SVGPointList_initialize(Handle, Handle); 2339 extern (C) Handle SVGPointList_getItem_getter(Handle, uint); 2340 extern (C) Handle SVGPointList_insertItemBefore(Handle, Handle, uint); 2341 extern (C) Handle SVGPointList_replaceItem(Handle, Handle, uint); 2342 extern (C) Handle SVGPointList_removeItem(Handle, uint); 2343 extern (C) Handle SVGPointList_appendItem(Handle, Handle); 2344 extern (C) void SVGPointList_setter__uint_Handle(Handle, uint, Handle); 2345 extern (C) void SVGPreserveAspectRatio_align_Set(Handle, ushort); 2346 extern (C) ushort SVGPreserveAspectRatio_align_Get(Handle); 2347 extern (C) void SVGPreserveAspectRatio_meetOrSlice_Set(Handle, ushort); 2348 extern (C) ushort SVGPreserveAspectRatio_meetOrSlice_Get(Handle); 2349 extern (C) Handle SVGRadialGradientElement_cx_Get(Handle); 2350 extern (C) Handle SVGRadialGradientElement_cy_Get(Handle); 2351 extern (C) Handle SVGRadialGradientElement_r_Get(Handle); 2352 extern (C) Handle SVGRadialGradientElement_fx_Get(Handle); 2353 extern (C) Handle SVGRadialGradientElement_fy_Get(Handle); 2354 extern (C) Handle SVGRadialGradientElement_fr_Get(Handle); 2355 extern (C) Handle SVGRectElement_x_Get(Handle); 2356 extern (C) Handle SVGRectElement_y_Get(Handle); 2357 extern (C) Handle SVGRectElement_width_Get(Handle); 2358 extern (C) Handle SVGRectElement_height_Get(Handle); 2359 extern (C) Handle SVGRectElement_rx_Get(Handle); 2360 extern (C) Handle SVGRectElement_ry_Get(Handle); 2361 extern (C) Handle SVGSVGElement_x_Get(Handle); 2362 extern (C) Handle SVGSVGElement_y_Get(Handle); 2363 extern (C) Handle SVGSVGElement_width_Get(Handle); 2364 extern (C) Handle SVGSVGElement_height_Get(Handle); 2365 extern (C) void SVGSVGElement_currentScale_Set(Handle, float); 2366 extern (C) float SVGSVGElement_currentScale_Get(Handle); 2367 extern (C) Handle SVGSVGElement_currentTranslate_Get(Handle); 2368 extern (C) Handle SVGSVGElement_getIntersectionList(Handle, Handle, bool, Handle); 2369 extern (C) Handle SVGSVGElement_getEnclosureList(Handle, Handle, bool, Handle); 2370 extern (C) bool SVGSVGElement_checkIntersection(Handle, Handle, Handle); 2371 extern (C) bool SVGSVGElement_checkEnclosure(Handle, Handle, Handle); 2372 extern (C) void SVGSVGElement_deselectAll(Handle); 2373 extern (C) Handle SVGSVGElement_createSVGNumber(Handle); 2374 extern (C) Handle SVGSVGElement_createSVGLength(Handle); 2375 extern (C) Handle SVGSVGElement_createSVGAngle(Handle); 2376 extern (C) Handle SVGSVGElement_createSVGPoint(Handle); 2377 extern (C) Handle SVGSVGElement_createSVGMatrix(Handle); 2378 extern (C) Handle SVGSVGElement_createSVGRect(Handle); 2379 extern (C) Handle SVGSVGElement_createSVGTransform(Handle); 2380 extern (C) Handle SVGSVGElement_createSVGTransformFromMatrix(Handle, Handle); 2381 extern (C) Handle SVGSVGElement_getElementById(Handle, string); 2382 extern (C) uint SVGSVGElement_suspendRedraw(Handle, uint); 2383 extern (C) void SVGSVGElement_unsuspendRedraw(Handle, uint); 2384 extern (C) void SVGSVGElement_unsuspendRedrawAll(Handle); 2385 extern (C) void SVGSVGElement_forceRedraw(Handle); 2386 extern (C) void SVGScriptElement_type_Set(Handle, string); 2387 extern (C) string SVGScriptElement_type_Get(Handle); 2388 extern (C) void SVGScriptElement_crossOrigin_Set(Handle, bool, string); 2389 extern (C) Optional!(string) SVGScriptElement_crossOrigin_Get(Handle); 2390 extern (C) Handle SVGStopElement_offset_Get(Handle); 2391 extern (C) uint SVGStringList_length_Get(Handle); 2392 extern (C) uint SVGStringList_numberOfItems_Get(Handle); 2393 extern (C) void SVGStringList_clear(Handle); 2394 extern (C) string SVGStringList_initialize(Handle, string); 2395 extern (C) string SVGStringList_getItem_getter(Handle, uint); 2396 extern (C) string SVGStringList_insertItemBefore(Handle, string, uint); 2397 extern (C) string SVGStringList_replaceItem(Handle, string, uint); 2398 extern (C) string SVGStringList_removeItem(Handle, uint); 2399 extern (C) string SVGStringList_appendItem(Handle, string); 2400 extern (C) void SVGStringList_setter__uint_string(Handle, uint, string); 2401 extern (C) void SVGStyleElement_type_Set(Handle, string); 2402 extern (C) string SVGStyleElement_type_Get(Handle); 2403 extern (C) void SVGStyleElement_media_Set(Handle, string); 2404 extern (C) string SVGStyleElement_media_Get(Handle); 2405 extern (C) void SVGStyleElement_title_Set(Handle, string); 2406 extern (C) string SVGStyleElement_title_Get(Handle); 2407 extern (C) Handle SVGTests_requiredExtensions_Get(Handle); 2408 extern (C) Handle SVGTests_systemLanguage_Get(Handle); 2409 extern (C) Handle SVGTextContentElement_textLength_Get(Handle); 2410 extern (C) Handle SVGTextContentElement_lengthAdjust_Get(Handle); 2411 extern (C) int SVGTextContentElement_getNumberOfChars(Handle); 2412 extern (C) float SVGTextContentElement_getComputedTextLength(Handle); 2413 extern (C) float SVGTextContentElement_getSubStringLength(Handle, uint, uint); 2414 extern (C) Handle SVGTextContentElement_getStartPositionOfChar(Handle, uint); 2415 extern (C) Handle SVGTextContentElement_getEndPositionOfChar(Handle, uint); 2416 extern (C) Handle SVGTextContentElement_getExtentOfChar(Handle, uint); 2417 extern (C) float SVGTextContentElement_getRotationOfChar(Handle, uint); 2418 extern (C) int SVGTextContentElement_getCharNumAtPosition(Handle, Handle); 2419 extern (C) int SVGTextContentElement_getCharNumAtPosition_0(Handle); 2420 extern (C) void SVGTextContentElement_selectSubString(Handle, uint, uint); 2421 extern (C) Handle SVGTextPathElement_startOffset_Get(Handle); 2422 extern (C) Handle SVGTextPathElement_method_Get(Handle); 2423 extern (C) Handle SVGTextPathElement_spacing_Get(Handle); 2424 extern (C) Handle SVGTextPositioningElement_x_Get(Handle); 2425 extern (C) Handle SVGTextPositioningElement_y_Get(Handle); 2426 extern (C) Handle SVGTextPositioningElement_dx_Get(Handle); 2427 extern (C) Handle SVGTextPositioningElement_dy_Get(Handle); 2428 extern (C) Handle SVGTextPositioningElement_rotate_Get(Handle); 2429 extern (C) ushort SVGTransform_type_Get(Handle); 2430 extern (C) Handle SVGTransform_matrix_Get(Handle); 2431 extern (C) float SVGTransform_angle_Get(Handle); 2432 extern (C) void SVGTransform_setMatrix(Handle, Handle); 2433 extern (C) void SVGTransform_setTranslate(Handle, float, float); 2434 extern (C) void SVGTransform_setScale(Handle, float, float); 2435 extern (C) void SVGTransform_setRotate(Handle, float, float, float); 2436 extern (C) void SVGTransform_setSkewX(Handle, float); 2437 extern (C) void SVGTransform_setSkewY(Handle, float); 2438 extern (C) uint SVGTransformList_length_Get(Handle); 2439 extern (C) uint SVGTransformList_numberOfItems_Get(Handle); 2440 extern (C) void SVGTransformList_clear(Handle); 2441 extern (C) Handle SVGTransformList_initialize(Handle, Handle); 2442 extern (C) Handle SVGTransformList_getItem_getter(Handle, uint); 2443 extern (C) Handle SVGTransformList_insertItemBefore(Handle, Handle, uint); 2444 extern (C) Handle SVGTransformList_replaceItem(Handle, Handle, uint); 2445 extern (C) Handle SVGTransformList_removeItem(Handle, uint); 2446 extern (C) Handle SVGTransformList_appendItem(Handle, Handle); 2447 extern (C) void SVGTransformList_setter__uint_Handle(Handle, uint, Handle); 2448 extern (C) Handle SVGTransformList_createSVGTransformFromMatrix(Handle, Handle); 2449 extern (C) Optional!(SVGTransform) SVGTransformList_consolidate(Handle); 2450 extern (C) Handle SVGURIReference_href_Get(Handle); 2451 extern (C) Handle SVGUseElement_x_Get(Handle); 2452 extern (C) Handle SVGUseElement_y_Get(Handle); 2453 extern (C) Handle SVGUseElement_width_Get(Handle); 2454 extern (C) Handle SVGUseElement_height_Get(Handle); 2455 extern (C) Optional!(SVGElement) SVGUseElement_instanceRoot_Get(Handle); 2456 extern (C) Optional!(SVGElement) SVGUseElement_animatedInstanceRoot_Get(Handle); 2457 extern (C) void SVGZoomAndPan_zoomAndPan_Set(Handle, ushort); 2458 extern (C) ushort SVGZoomAndPan_zoomAndPan_Get(Handle); 2459 extern (C) Handle ShadowAnimation_sourceAnimation_Get(Handle);