| 399 | } |
| 400 | |
| 401 | PiuDimension PiuStyleGetWidth(PiuStyle* self, xsSlot* string) |
| 402 | { |
| 403 | PiuFont* font = (*self)->font; |
| 404 | return (*self)->margins.left + PiuFontGetWidth(font, string, 0, -1) + (*self)->margins.right; |
| 405 | } |
| 406 | |
| 407 | PiuDimension PiuStyleGetHeight(PiuStyle* self, xsSlot* string) |
| 408 | { |
no test coverage detected