User Tools

Site Tools


jvs:cigal:manual:chapter6:r_picture

CIGAL Reference Manual, Chapter 6 (RealTime): r_picture

r_picture -- Transfer a picture to the screen

usage: r_picture opflg eflag ltime PictData [Flag Pos]

If PICTDATA is a character string, it is taken to be the name of a picture file (PICT, TIFF, or PCX formats). If PICTDATA is an image list, it should contain the picture data, the filename, or both (see ADDLIST(2)). The POS argument indicates where on the screen to put the picture.

The FLAG argument is a bitflag with the following meanings:

        1 - center the picture (otherwise POS marks upper left corner)
              If POS is a rectangle (XDIM == 4), center in the box
                  If POS is a point (XDIM == 2), center at that point
                  If POS is empty or omitted, center on the screen
        2 - just ensure that the data is in memory; if not, read it from
            the disk file. This only works if PICTDATA is an image list.
        4 - scale the image to fit the POS rectangle (if possible)

FLAG defaults to 0 if POS is specified, or 1 otherwise.

See Also:
ADDLIST(2)

CIGAL Home, CIGAL Manual, RealTime List, Manual Help

jvs/cigal/manual/chapter6/r_picture.txt · Last modified: 2023/02/23 18:43 (external edit)