| 690 | } |
| 691 | |
| 692 | void PiuTextFitHorizontally(void* it) |
| 693 | { |
| 694 | PiuText* self = it; |
| 695 | if (((*self)->coordinates.horizontal & piuLeftRight) != piuLeftRight) |
| 696 | (*self)->bounds.width = (*self)->coordinates.width; |
| 697 | (*self)->textWidth = (*self)->bounds.width; |
| 698 | (*self)->textHeight = 0; |
| 699 | if (((*self)->textWidth) && ((*self)->flags & piuTextStyled)) |
| 700 | PiuTextFormat(self); |
| 701 | (*self)->flags &= ~(piuWidthChanged | piuContentsHorizontallyChanged); |
| 702 | if (!((*self)->coordinates.vertical & piuHeight)) { |
| 703 | PiuContentReflow(self, piuHeightChanged); |
| 704 | } |
| 705 | } |
| 706 | |
| 707 | void PiuTextFormat(PiuText* self) |
| 708 | { |
nothing calls this directly
no test coverage detected