| 143 | } |
| 144 | |
| 145 | void PiuLabelMeasureHorizontally(void* it) |
| 146 | { |
| 147 | PiuLabel* self = it; |
| 148 | PiuAlignment horizontal = (*self)->coordinates.horizontal; |
| 149 | if (!(horizontal & piuWidth)) { |
| 150 | if ((*self)->string && (*self)->computedStyle) |
| 151 | (*self)->coordinates.width = PiuStyleGetWidth((*self)->computedStyle, (*self)->string); |
| 152 | else |
| 153 | (*self)->coordinates.width = 0; |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | void PiuLabelMeasureVertically(void* it) |
| 158 | { |
nothing calls this directly
no test coverage detected