Handbook
Glossary
fill-x-axis-by-aspect-ratio ( ratio f y -- x' y' )
Vocabulary
images
.
viewer
.
scaling
.
private
Inputs
ratio
an
object
f
an
object
y
an
object
Outputs
x'
an
object
y'
an
object
Definition
USING:
kernel
math
math.functions
;
IN:
images.viewer.scaling.private
:
fill-x-axis-by-aspect-ratio
( ratio f y -- x' y' )
nip
[
*
round
]
keep
;