| 498 | } |
| 499 | |
| 500 | void PiuSVGImage_translate(xsMachine* the) |
| 501 | { |
| 502 | PiuSVGImage* self = PIU(SVGImage, xsThis); |
| 503 | xsIntegerValue c = xsToInteger(xsArgc); |
| 504 | (*self)->tx = (c > 0) ? xsToNumber(xsArg(0)) : 0; |
| 505 | (*self)->ty = (c > 1) ? xsToNumber(xsArg(1)) : (*self)->tx; |
| 506 | (*self)->transforming = 1; |
| 507 | PiuSVGImageInvalidate(self, NULL); |
| 508 | } |
| 509 | |
| 510 | void PiuSVGImage_get_tx(xsMachine* the) |
| 511 | { |
nothing calls this directly
no test coverage detected