The function to draw an image is
draw-image
.
This must be called in the same process as the pane. Use
capi:apply-in-pane-process
or
capi:execute-with-interface
if necessary.
When you are finished using an
image
object, call
free-image
.