| 122 | } |
| 123 | |
| 124 | void PiuLabelDraw(void* it, PiuView* view, PiuRectangle area) |
| 125 | { |
| 126 | PiuLabel* self = it; |
| 127 | PiuContentDraw(it, view, area); |
| 128 | if ((*self)->string && (*self)->computedStyle) { |
| 129 | PiuRectangleRecord bounds; |
| 130 | PiuRectangleSet(&bounds, 0, 0, (*self)->bounds.width, (*self)->bounds.height); |
| 131 | //PiuViewPushClip(view, 0, 0, bounds.width, bounds.height); |
| 132 | PiuStyleDraw((*self)->computedStyle, (*self)->string, view, &bounds, ((*self)->flags & piuLabelEllipsis) ? 1 : 0, (*self)->state); |
| 133 | //PiuViewPopClip(view); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | void PiuLabelMark(xsMachine* the, void* it, xsMarkRoot markRoot) |
| 138 | { |
nothing calls this directly
no test coverage detected