Handbook
Glossary
cached-image ( image -- image )
Vocabulary
ui
.
images
Inputs
image
an
object
Outputs
image
an
object
Definition
IN:
ui.images
GENERIC:
cached-image
( image -- image )
Methods
USING:
accessors
kernel
math
namespaces
opengl
sequences
splitting
ui.images
ui.images.private
;
M:
image-name
cached-image
path>>
gl-scale-factor
get-global
[
1.0
>
]
[
f
]
if*
[
"."
split1-last
"@2x."
glue
]
when
cached-image-path
;
USING:
images
ui.images
;
M:
image
cached-image
;