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 (Macintosh version) - 30 Aug 2011