| 297 | } |
| 298 | |
| 299 | void PiuDie_set(xsMachine* the) |
| 300 | { |
| 301 | PiuDie* self = PIU(Die, xsThis); |
| 302 | PiuCoordinate x = xsToPiuCoordinate(xsArg(0)); |
| 303 | PiuCoordinate y = xsToPiuCoordinate(xsArg(1)); |
| 304 | PiuDimension width = xsToPiuDimension(xsArg(2)); |
| 305 | PiuDimension height = xsToPiuDimension(xsArg(3)); |
| 306 | if (!PiuRegionRectangle((*self)->work, x, y, width, height)) |
| 307 | xsErrorPrintf("region overflowed"); |
| 308 | xsResult = xsThis; |
| 309 | } |
| 310 | |
| 311 | void PiuDie_sub(xsMachine* the) |
| 312 | { |
nothing calls this directly
no test coverage detected