Registers an image identifier and image loading function with a translation in an image translation table.
register-image-translation image-id translation &key image-translation-table image-load-fn
The function register-image-translation
registers
image-id
and
image-load-fn
with the
translation
in the
image-translation-table
. When load-image is called with second argument
image-id
, the
image-load-fn
is called with
translation
as its second argument. If
image-load-fn
is nil
, the image translation table's default image loader is used; this converts an external image object or file to an image. If
translation
is nil
the identifier is deregistered. Returns the
image-id
and the
image-load-fn
. The default value of
image-translation-table
is *default-image-translation-table*.
*default-image-translation-table*
load-image
reset-image-translation-table
Drawing - Graphics Ports
CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015