| 446 | } |
| 447 | |
| 448 | void PiuSVGImage_scale(xsMachine* the) |
| 449 | { |
| 450 | PiuSVGImage* self = PIU(SVGImage, xsThis); |
| 451 | xsIntegerValue c = xsToInteger(xsArgc); |
| 452 | (*self)->sx = (c > 0) ? xsToNumber(xsArg(0)) : 1; |
| 453 | (*self)->sy = (c > 1) ? xsToNumber(xsArg(1)) : (*self)->sx; |
| 454 | (*self)->transforming = 1; |
| 455 | PiuSVGImageInvalidate(self, NULL); |
| 456 | } |
| 457 | |
| 458 | void PiuSVGImage_get_s(xsMachine* the) |
| 459 | { |
nothing calls this directly
no test coverage detected