| 379 | } |
| 380 | |
| 381 | void PiuViewDrawContent(PiuView* self, PiuViewDrawContentProc proc, void* it, PiuCoordinate x, PiuCoordinate y, PiuDimension sw, PiuDimension sh) |
| 382 | { |
| 383 | Poco poco = (*self)->poco; |
| 384 | x += poco->xOrigin; |
| 385 | y += poco->yOrigin; |
| 386 | #ifdef piuGPU |
| 387 | (*proc)(it, self, x, y, sw, sh); |
| 388 | #else |
| 389 | { |
| 390 | PIUQueueCommand(DrawContentCommand); |
| 391 | command->proc = proc; |
| 392 | command->content = it; |
| 393 | command->x = x; |
| 394 | command->y = y; |
| 395 | command->sw = sw; |
| 396 | command->sh = sh; |
| 397 | } |
| 398 | #endif |
| 399 | } |
| 400 | |
| 401 | void PiuViewDrawString(PiuView* self, xsSlot* string, xsIntegerValue offset, xsIntegerValue length, PiuFont* font, PiuCoordinate x, PiuCoordinate y, PiuDimension w, PiuDimension sw) |
| 402 | { |
no outgoing calls
no test coverage detected