7.4.5 SWIOPN/SWIDAT/SWICLS

1.
Function
Draws image data.

2.
Call
CALL SWIOPN(IWX,IWY,IMW,IMH)
CALL SWIDAT(IMAGE,NLEN)
CALL SWICLS

3.
Explanation of Arguments
IWX,IWY (I) The coordinates of the upper left-hand corner of an image. (i)
IMW,IMH (I) The size of an image. (i)
IMAGE (I) The image data. (i)
NLEN (I) The length of the image data. (i)

4.
Notes
(a)
The position and size of the image are specified by image coordinates.
(b)
The image data specify the color index (palette index) with a 4-byte integer. 
(c)
SWIDAT can be called multiple number of times between SWIOPN and SWICLS. In other words, sectioned data can be specified.
(d)
The length of data that can be specified in a single call is arbitrary, but the data must be equal to the size of the image specified in SWIOPN  before SWICLS is called. The program will not run properly if the image data is smaller or larger.