(rect: Rect, viewportRect: Rect)
| 364 | } |
| 365 | |
| 366 | function toFlowBlock(rect: Rect, viewportRect: Rect): FlowBlock { |
| 367 | return { |
| 368 | start: rect.y - viewportRect.y, |
| 369 | size: rect.height, |
| 370 | crossSize: rect.width, |
| 371 | }; |
| 372 | } |
| 373 | |
| 374 | function hasPositiveVerticalExtent(rect: Rect): boolean { |
| 375 | return rect.height > 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…