1 module libwasm.bindings.SVGPathSeg; 2 3 import libwasm.types; 4 5 import memutils.ct: tuple; 6 @safe: 7 nothrow: 8 9 struct SVGPathSeg { 10 nothrow: 11 JsHandle handle; 12 alias handle this; 13 this(Handle h) { 14 this.handle = JsHandle(h); 15 } 16 enum ushort PATHSEG_UNKNOWN = 0; 17 enum ushort PATHSEG_CLOSEPATH = 1; 18 enum ushort PATHSEG_MOVETO_ABS = 2; 19 enum ushort PATHSEG_MOVETO_REL = 3; 20 enum ushort PATHSEG_LINETO_ABS = 4; 21 enum ushort PATHSEG_LINETO_REL = 5; 22 enum ushort PATHSEG_CURVETO_CUBIC_ABS = 6; 23 enum ushort PATHSEG_CURVETO_CUBIC_REL = 7; 24 enum ushort PATHSEG_CURVETO_QUADRATIC_ABS = 8; 25 enum ushort PATHSEG_CURVETO_QUADRATIC_REL = 9; 26 enum ushort PATHSEG_ARC_ABS = 10; 27 enum ushort PATHSEG_ARC_REL = 11; 28 enum ushort PATHSEG_LINETO_HORIZONTAL_ABS = 12; 29 enum ushort PATHSEG_LINETO_HORIZONTAL_REL = 13; 30 enum ushort PATHSEG_LINETO_VERTICAL_ABS = 14; 31 enum ushort PATHSEG_LINETO_VERTICAL_REL = 15; 32 enum ushort PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16; 33 enum ushort PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17; 34 enum ushort PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18; 35 enum ushort PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19; 36 ushort pathSegType()() { 37 return Object_Getter__ushort(this.handle, "pathSegType"); 38 } 39 string pathSegTypeAsLetter()() { 40 return Object_Getter__string(this.handle, "pathSegTypeAsLetter"); 41 } 42 } 43 struct SVGPathSegArcAbs { 44 nothrow: 45 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 46 alias _parent this; 47 this(Handle h) { 48 _parent = .SVGPathSeg(h); 49 } 50 void x()(float x) { 51 Object_Call_float__void(this._parent, "x", x); 52 } 53 float x()() { 54 return Object_Getter__float(this._parent, "x"); 55 } 56 void y()(float y) { 57 Object_Call_float__void(this._parent, "y", y); 58 } 59 float y()() { 60 return Object_Getter__float(this._parent, "y"); 61 } 62 void r1()(float r1) { 63 Object_Call_float__void(this._parent, "r1", r1); 64 } 65 float r1()() { 66 return Object_Getter__float(this._parent, "r1"); 67 } 68 void r2()(float r2) { 69 Object_Call_float__void(this._parent, "r2", r2); 70 } 71 float r2()() { 72 return Object_Getter__float(this._parent, "r2"); 73 } 74 void angle()(float angle) { 75 Object_Call_float__void(this._parent, "angle", angle); 76 } 77 float angle()() { 78 return Object_Getter__float(this._parent, "angle"); 79 } 80 void largeArcFlag()(bool largeArcFlag) { 81 Object_Call_bool__void(this._parent, "largeArcFlag", largeArcFlag); 82 } 83 bool largeArcFlag()() { 84 return Object_Getter__bool(this._parent, "largeArcFlag"); 85 } 86 void sweepFlag()(bool sweepFlag) { 87 Object_Call_bool__void(this._parent, "sweepFlag", sweepFlag); 88 } 89 bool sweepFlag()() { 90 return Object_Getter__bool(this._parent, "sweepFlag"); 91 } 92 } 93 struct SVGPathSegArcRel { 94 nothrow: 95 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 96 alias _parent this; 97 this(Handle h) { 98 _parent = .SVGPathSeg(h); 99 } 100 void x()(float x) { 101 Object_Call_float__void(this._parent, "x", x); 102 } 103 float x()() { 104 return Object_Getter__float(this._parent, "x"); 105 } 106 void y()(float y) { 107 Object_Call_float__void(this._parent, "y", y); 108 } 109 float y()() { 110 return Object_Getter__float(this._parent, "y"); 111 } 112 void r1()(float r1) { 113 Object_Call_float__void(this._parent, "r1", r1); 114 } 115 float r1()() { 116 return Object_Getter__float(this._parent, "r1"); 117 } 118 void r2()(float r2) { 119 Object_Call_float__void(this._parent, "r2", r2); 120 } 121 float r2()() { 122 return Object_Getter__float(this._parent, "r2"); 123 } 124 void angle()(float angle) { 125 Object_Call_float__void(this._parent, "angle", angle); 126 } 127 float angle()() { 128 return Object_Getter__float(this._parent, "angle"); 129 } 130 void largeArcFlag()(bool largeArcFlag) { 131 Object_Call_bool__void(this._parent, "largeArcFlag", largeArcFlag); 132 } 133 bool largeArcFlag()() { 134 return Object_Getter__bool(this._parent, "largeArcFlag"); 135 } 136 void sweepFlag()(bool sweepFlag) { 137 Object_Call_bool__void(this._parent, "sweepFlag", sweepFlag); 138 } 139 bool sweepFlag()() { 140 return Object_Getter__bool(this._parent, "sweepFlag"); 141 } 142 } 143 struct SVGPathSegClosePath { 144 nothrow: 145 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 146 alias _parent this; 147 this(Handle h) { 148 _parent = .SVGPathSeg(h); 149 } 150 } 151 struct SVGPathSegCurvetoCubicAbs { 152 nothrow: 153 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 154 alias _parent this; 155 this(Handle h) { 156 _parent = .SVGPathSeg(h); 157 } 158 void x()(float x) { 159 Object_Call_float__void(this._parent, "x", x); 160 } 161 float x()() { 162 return Object_Getter__float(this._parent, "x"); 163 } 164 void y()(float y) { 165 Object_Call_float__void(this._parent, "y", y); 166 } 167 float y()() { 168 return Object_Getter__float(this._parent, "y"); 169 } 170 void x1()(float x1) { 171 Object_Call_float__void(this._parent, "x1", x1); 172 } 173 float x1()() { 174 return Object_Getter__float(this._parent, "x1"); 175 } 176 void y1()(float y1) { 177 Object_Call_float__void(this._parent, "y1", y1); 178 } 179 float y1()() { 180 return Object_Getter__float(this._parent, "y1"); 181 } 182 void x2()(float x2) { 183 Object_Call_float__void(this._parent, "x2", x2); 184 } 185 float x2()() { 186 return Object_Getter__float(this._parent, "x2"); 187 } 188 void y2()(float y2) { 189 Object_Call_float__void(this._parent, "y2", y2); 190 } 191 float y2()() { 192 return Object_Getter__float(this._parent, "y2"); 193 } 194 } 195 struct SVGPathSegCurvetoCubicRel { 196 nothrow: 197 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 198 alias _parent this; 199 this(Handle h) { 200 _parent = .SVGPathSeg(h); 201 } 202 void x()(float x) { 203 Object_Call_float__void(this._parent, "x", x); 204 } 205 float x()() { 206 return Object_Getter__float(this._parent, "x"); 207 } 208 void y()(float y) { 209 Object_Call_float__void(this._parent, "y", y); 210 } 211 float y()() { 212 return Object_Getter__float(this._parent, "y"); 213 } 214 void x1()(float x1) { 215 Object_Call_float__void(this._parent, "x1", x1); 216 } 217 float x1()() { 218 return Object_Getter__float(this._parent, "x1"); 219 } 220 void y1()(float y1) { 221 Object_Call_float__void(this._parent, "y1", y1); 222 } 223 float y1()() { 224 return Object_Getter__float(this._parent, "y1"); 225 } 226 void x2()(float x2) { 227 Object_Call_float__void(this._parent, "x2", x2); 228 } 229 float x2()() { 230 return Object_Getter__float(this._parent, "x2"); 231 } 232 void y2()(float y2) { 233 Object_Call_float__void(this._parent, "y2", y2); 234 } 235 float y2()() { 236 return Object_Getter__float(this._parent, "y2"); 237 } 238 } 239 struct SVGPathSegCurvetoCubicSmoothAbs { 240 nothrow: 241 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 242 alias _parent this; 243 this(Handle h) { 244 _parent = .SVGPathSeg(h); 245 } 246 void x()(float x) { 247 Object_Call_float__void(this._parent, "x", x); 248 } 249 float x()() { 250 return Object_Getter__float(this._parent, "x"); 251 } 252 void y()(float y) { 253 Object_Call_float__void(this._parent, "y", y); 254 } 255 float y()() { 256 return Object_Getter__float(this._parent, "y"); 257 } 258 void x2()(float x2) { 259 Object_Call_float__void(this._parent, "x2", x2); 260 } 261 float x2()() { 262 return Object_Getter__float(this._parent, "x2"); 263 } 264 void y2()(float y2) { 265 Object_Call_float__void(this._parent, "y2", y2); 266 } 267 float y2()() { 268 return Object_Getter__float(this._parent, "y2"); 269 } 270 } 271 struct SVGPathSegCurvetoCubicSmoothRel { 272 nothrow: 273 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 274 alias _parent this; 275 this(Handle h) { 276 _parent = .SVGPathSeg(h); 277 } 278 void x()(float x) { 279 Object_Call_float__void(this._parent, "x", x); 280 } 281 float x()() { 282 return Object_Getter__float(this._parent, "x"); 283 } 284 void y()(float y) { 285 Object_Call_float__void(this._parent, "y", y); 286 } 287 float y()() { 288 return Object_Getter__float(this._parent, "y"); 289 } 290 void x2()(float x2) { 291 Object_Call_float__void(this._parent, "x2", x2); 292 } 293 float x2()() { 294 return Object_Getter__float(this._parent, "x2"); 295 } 296 void y2()(float y2) { 297 Object_Call_float__void(this._parent, "y2", y2); 298 } 299 float y2()() { 300 return Object_Getter__float(this._parent, "y2"); 301 } 302 } 303 struct SVGPathSegCurvetoQuadraticAbs { 304 nothrow: 305 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 306 alias _parent this; 307 this(Handle h) { 308 _parent = .SVGPathSeg(h); 309 } 310 void x()(float x) { 311 Object_Call_float__void(this._parent, "x", x); 312 } 313 float x()() { 314 return Object_Getter__float(this._parent, "x"); 315 } 316 void y()(float y) { 317 Object_Call_float__void(this._parent, "y", y); 318 } 319 float y()() { 320 return Object_Getter__float(this._parent, "y"); 321 } 322 void x1()(float x1) { 323 Object_Call_float__void(this._parent, "x1", x1); 324 } 325 float x1()() { 326 return Object_Getter__float(this._parent, "x1"); 327 } 328 void y1()(float y1) { 329 Object_Call_float__void(this._parent, "y1", y1); 330 } 331 float y1()() { 332 return Object_Getter__float(this._parent, "y1"); 333 } 334 } 335 struct SVGPathSegCurvetoQuadraticRel { 336 nothrow: 337 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 338 alias _parent this; 339 this(Handle h) { 340 _parent = .SVGPathSeg(h); 341 } 342 void x()(float x) { 343 Object_Call_float__void(this._parent, "x", x); 344 } 345 float x()() { 346 return Object_Getter__float(this._parent, "x"); 347 } 348 void y()(float y) { 349 Object_Call_float__void(this._parent, "y", y); 350 } 351 float y()() { 352 return Object_Getter__float(this._parent, "y"); 353 } 354 void x1()(float x1) { 355 Object_Call_float__void(this._parent, "x1", x1); 356 } 357 float x1()() { 358 return Object_Getter__float(this._parent, "x1"); 359 } 360 void y1()(float y1) { 361 Object_Call_float__void(this._parent, "y1", y1); 362 } 363 float y1()() { 364 return Object_Getter__float(this._parent, "y1"); 365 } 366 } 367 struct SVGPathSegCurvetoQuadraticSmoothAbs { 368 nothrow: 369 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 370 alias _parent this; 371 this(Handle h) { 372 _parent = .SVGPathSeg(h); 373 } 374 void x()(float x) { 375 Object_Call_float__void(this._parent, "x", x); 376 } 377 float x()() { 378 return Object_Getter__float(this._parent, "x"); 379 } 380 void y()(float y) { 381 Object_Call_float__void(this._parent, "y", y); 382 } 383 float y()() { 384 return Object_Getter__float(this._parent, "y"); 385 } 386 } 387 struct SVGPathSegCurvetoQuadraticSmoothRel { 388 nothrow: 389 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 390 alias _parent this; 391 this(Handle h) { 392 _parent = .SVGPathSeg(h); 393 } 394 void x()(float x) { 395 Object_Call_float__void(this._parent, "x", x); 396 } 397 float x()() { 398 return Object_Getter__float(this._parent, "x"); 399 } 400 void y()(float y) { 401 Object_Call_float__void(this._parent, "y", y); 402 } 403 float y()() { 404 return Object_Getter__float(this._parent, "y"); 405 } 406 } 407 struct SVGPathSegLinetoAbs { 408 nothrow: 409 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 410 alias _parent this; 411 this(Handle h) { 412 _parent = .SVGPathSeg(h); 413 } 414 void x()(float x) { 415 Object_Call_float__void(this._parent, "x", x); 416 } 417 float x()() { 418 return Object_Getter__float(this._parent, "x"); 419 } 420 void y()(float y) { 421 Object_Call_float__void(this._parent, "y", y); 422 } 423 float y()() { 424 return Object_Getter__float(this._parent, "y"); 425 } 426 } 427 struct SVGPathSegLinetoHorizontalAbs { 428 nothrow: 429 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 430 alias _parent this; 431 this(Handle h) { 432 _parent = .SVGPathSeg(h); 433 } 434 void x()(float x) { 435 Object_Call_float__void(this._parent, "x", x); 436 } 437 float x()() { 438 return Object_Getter__float(this._parent, "x"); 439 } 440 } 441 struct SVGPathSegLinetoHorizontalRel { 442 nothrow: 443 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 444 alias _parent this; 445 this(Handle h) { 446 _parent = .SVGPathSeg(h); 447 } 448 void x()(float x) { 449 Object_Call_float__void(this._parent, "x", x); 450 } 451 float x()() { 452 return Object_Getter__float(this._parent, "x"); 453 } 454 } 455 struct SVGPathSegLinetoRel { 456 nothrow: 457 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 458 alias _parent this; 459 this(Handle h) { 460 _parent = .SVGPathSeg(h); 461 } 462 void x()(float x) { 463 Object_Call_float__void(this._parent, "x", x); 464 } 465 float x()() { 466 return Object_Getter__float(this._parent, "x"); 467 } 468 void y()(float y) { 469 Object_Call_float__void(this._parent, "y", y); 470 } 471 float y()() { 472 return Object_Getter__float(this._parent, "y"); 473 } 474 } 475 struct SVGPathSegLinetoVerticalAbs { 476 nothrow: 477 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 478 alias _parent this; 479 this(Handle h) { 480 _parent = .SVGPathSeg(h); 481 } 482 void y()(float y) { 483 Object_Call_float__void(this._parent, "y", y); 484 } 485 float y()() { 486 return Object_Getter__float(this._parent, "y"); 487 } 488 } 489 struct SVGPathSegLinetoVerticalRel { 490 nothrow: 491 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 492 alias _parent this; 493 this(Handle h) { 494 _parent = .SVGPathSeg(h); 495 } 496 void y()(float y) { 497 Object_Call_float__void(this._parent, "y", y); 498 } 499 float y()() { 500 return Object_Getter__float(this._parent, "y"); 501 } 502 } 503 struct SVGPathSegMovetoAbs { 504 nothrow: 505 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 506 alias _parent this; 507 this(Handle h) { 508 _parent = .SVGPathSeg(h); 509 } 510 void x()(float x) { 511 Object_Call_float__void(this._parent, "x", x); 512 } 513 float x()() { 514 return Object_Getter__float(this._parent, "x"); 515 } 516 void y()(float y) { 517 Object_Call_float__void(this._parent, "y", y); 518 } 519 float y()() { 520 return Object_Getter__float(this._parent, "y"); 521 } 522 } 523 struct SVGPathSegMovetoRel { 524 nothrow: 525 libwasm.bindings.SVGPathSeg.SVGPathSeg _parent; 526 alias _parent this; 527 this(Handle h) { 528 _parent = .SVGPathSeg(h); 529 } 530 void x()(float x) { 531 Object_Call_float__void(this._parent, "x", x); 532 } 533 float x()() { 534 return Object_Getter__float(this._parent, "x"); 535 } 536 void y()(float y) { 537 Object_Call_float__void(this._parent, "y", y); 538 } 539 float y()() { 540 return Object_Getter__float(this._parent, "y"); 541 } 542 } 543 544