DCL:GRPH1:SWPACK: Machine-Dependent Routines:Explanation of Subroutines: Graphics Routines
Draws image data.
NumRu::DCL.swiopn(iwx,iwy,imw,imh)
NumRu::DCL.swidat(image)
call swicls
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)
- (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.