Handbook
Glossary
fill-in-by-aspect-ratio ( image-gadget fill -- fill' )
Vocabulary
images
.
viewer
.
scaling
.
private
Inputs
image-gadget
an
object
fill
an
object
Outputs
fill'
an
object
Definition
USING:
kernel
sequences
;
IN:
images.viewer.scaling.private
:
fill-in-by-aspect-ratio
( image-gadget fill -- fill' )
dup
first2
xor
[
fill-axis-by-aspect-ratio
]
[
nip
]
if
;