GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Image - data

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



For image FORMAT 0, each Image Data order contains the display points for one row of the display point array. Thus for an image with a DEPTH of N, there are N Image Data orders between the Begin and End Image orders. Each Image Data order contains data for WIDTH display points. Each display point is represented by a single bit. When the bit is one, the display point is "on"; when the bit is zero, the display point is "off".


 Fld
 len
 Content
                  
 Meaning
                                               
 1  X'92'  Image Data order code
 1  LEN  Length of following data
 LEN  PIXELDATA  The display points of the image


Example:


     91 06 0000 0009 0004
     92 02 FF80
     92 02 8080
     92 02 8080
     92 02 FF80
     93 02 0000

Draws an image, whose size is nine display points wide by four deep, at the current position. The image consists of a small square of "on" display points (which appear in the current color) surrounding an "off" center.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012