| 31 | |
| 32 | public: |
| 33 | StaticLayout(u8string_view source, const TextPaint& paint, int32_t width) |
| 34 | : Paint(paint) |
| 35 | { |
| 36 | MaxWidth = wrapString(source, width, paint.fontStyle, &Buffer, &LineCount); |
| 37 | LineCount += 1; |
| 38 | LineHeight = FontGetLineHeight(paint.fontStyle); |
| 39 | } |
| 40 | |
| 41 | void Draw(RenderTarget& rt, const ScreenCoordsXY& coords) |
| 42 | { |
nothing calls this directly
no test coverage detected