| 168 | } |
| 169 | |
| 170 | void PiuPort_drawContent(xsMachine* the) |
| 171 | { |
| 172 | PiuPort* self = PIU(Port, xsThis); |
| 173 | PiuView* view = (*self)->view; |
| 174 | PiuRectangleRecord bounds; |
| 175 | if (!view) xsUnknownError("out of sequence"); |
| 176 | bounds.x = xsToPiuCoordinate(xsArg(0)); |
| 177 | bounds.y = xsToPiuCoordinate(xsArg(1)); |
| 178 | bounds.width = xsToPiuDimension(xsArg(2)); |
| 179 | bounds.height = xsToPiuDimension(xsArg(3)); |
| 180 | if ((*self)->skin) |
| 181 | PiuSkinDraw((*self)->skin, view, &bounds, (*self)->variant, (*self)->state, piuCenter, piuMiddle); |
| 182 | } |
| 183 | |
| 184 | void PiuPort_drawLabel(xsMachine* the) |
| 185 | { |
nothing calls this directly
no test coverage detected