Handbook
Glossary
measure-height-metrics ( children sizes -- height ascent descent )
Vocabulary
ui
.
baseline-alignment
Inputs
children
an
object
sizes
an
object
Outputs
height
an
object
ascent
an
object
descent
an
object
Definition
USING:
kernel
math
ui.baseline-alignment.private
;
IN:
ui.baseline-alignment
:
measure-height-metrics
( children sizes -- height ascent descent )
(measure-metrics)
[
dup
]
3dip
[
combine-metrics
]
keep
[
[
+
nip
]
2keep
]
when
;