| 329 | } |
| 330 | |
| 331 | void SpanLayout::Layout(Canvas* canvas, double max_width) |
| 332 | { |
| 333 | LayoutLines(canvas, max_width); |
| 334 | |
| 335 | switch (alignment) |
| 336 | { |
| 337 | case span_right: AlignRight(max_width); break; |
| 338 | case span_center: AlignCenter(max_width); break; |
| 339 | case span_justify: AlignJustify(max_width); break; |
| 340 | case span_left: |
| 341 | default: break; |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | void SpanLayout::SetPosition(const Point& pos) |
| 346 | { |
no outgoing calls
no test coverage detected