(text: string, font: string, options?: PrepareOptions)
| 686 | // Rich variant used by callers that need enough information to render the |
| 687 | // laid-out lines themselves. |
| 688 | export function prepareWithSegments(text: string, font: string, options?: PrepareOptions): PreparedTextWithSegments { |
| 689 | return prepareInternal(text, font, true, options) as PreparedTextWithSegments |
| 690 | } |
| 691 | |
| 692 | function getInternalPrepared(prepared: PreparedText): InternalPreparedText { |
| 693 | return prepared as InternalPreparedText |
no test coverage detected
searching dependent graphs…