The function to draw an image is
draw-image
.
This must be called in the same process as the pane. Use
apply-in-pane-process
,
apply-in-pane-process-if-alive
or
execute-with-interface
if necessary.
CAPI User Guide (Unix version) - 30 Aug 2011