| 294 | } |
| 295 | |
| 296 | void PiuPort_fillColor(xsMachine* the) |
| 297 | { |
| 298 | PiuPort* self = PIU(Port, xsThis); |
| 299 | PiuView* view = (*self)->view; |
| 300 | PiuColorRecord color; |
| 301 | PiuCoordinate x, y; |
| 302 | PiuDimension w, h; |
| 303 | if (!view) xsUnknownError("out of sequence"); |
| 304 | PiuColorDictionary(the, &xsArg(0), &color); |
| 305 | x = xsToPiuCoordinate(xsArg(1)); |
| 306 | y = xsToPiuCoordinate(xsArg(2)); |
| 307 | w = xsToPiuDimension(xsArg(3)); |
| 308 | h = xsToPiuDimension(xsArg(4)); |
| 309 | PiuViewPushColor(view, &color); |
| 310 | PiuViewFillColor(view, x, y, w, h); |
| 311 | PiuViewPopColor(view); |
| 312 | } |
| 313 | |
| 314 | void PiuPort_fillTexture(xsMachine* the) |
| 315 | { |
nothing calls this directly
no test coverage detected