(name: string)
| 365 | |
| 366 | /** The world width of a name in the scoped hierarchy, as NodeLabels draws it (about 38 texture pixels per character at 64 px). */ |
| 367 | export function hierarchyLabelWidth(name: string): number { |
| 368 | return Math.min(name.length, LABEL_MAX_CHARS) * LABEL_UNITS_PER_CHAR + LABEL_UNITS_PADDING; |
| 369 | } |
| 370 | |
| 371 | /* |
| 372 | * Der Ausschnitt als Hierarchie (Handtest K5). |
no outgoing calls
no test coverage detected