| 278 | } |
| 279 | |
| 280 | void PiuSVGImageInvalidate(void* it, PiuRectangle area) |
| 281 | { |
| 282 | PiuContent* self = it; |
| 283 | if ((*self)->flags & piuVisible) { |
| 284 | PiuContainer* container = (*self)->container; |
| 285 | if (container) { |
| 286 | PiuRectangleRecord bounds; |
| 287 | if ((*self)->flags & piuClip) |
| 288 | PiuRectangleSet(&bounds, (*self)->bounds.x, (*self)->bounds.y, (*self)->bounds.width, (*self)->bounds.height); |
| 289 | else { |
| 290 | PiuApplication* application = ((*self)->application); |
| 291 | PiuRectangleSet(&bounds, (*application)->bounds.x, (*application)->bounds.y, (*application)->bounds.width, (*application)->bounds.height); |
| 292 | } |
| 293 | (*(*container)->dispatch->invalidate)((*self)->container, &bounds); |
| 294 | } |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | void PiuSVGImageMark(xsMachine* the, void* it, xsMarkRoot markRoot) |
| 299 | { |
no test coverage detected