| 274 | } |
| 275 | |
| 276 | void PiuContentDraw(void* it, PiuView* view, PiuRectangle area) |
| 277 | { |
| 278 | PiuContent* self = it; |
| 279 | PiuSkin* skin = (*self)->skin; |
| 280 | if (skin) { |
| 281 | PiuRectangleRecord bounds; |
| 282 | PiuRectangleSet(&bounds, 0, 0, (*self)->bounds.width, (*self)->bounds.height); |
| 283 | if (bounds.width && bounds.height) |
| 284 | PiuSkinDraw(skin, view, &bounds, (*self)->variant, (*self)->state, (*self)->coordinates.horizontal, (*self)->coordinates.vertical); |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | void PiuContentFitHorizontally(void* it) |
| 289 | { |
no test coverage detected