User Tools

Site Tools


jvs:cigal:manual:chapter6:r_swrite

CIGAL Reference Manual, Chapter 6 (RealTime): r_swrite

r_swrite -- Write a block of data to the screen

usage: r_swrite opflg eflag ltime Data BoxRect Opflag StereoFlg

Copy a block of image data from a variable's data buffer directly into the screen's video memory. The amount of data to be copied and where it is to appear on the screen are both determined by the size of the rectangle specified by BOXRECT.

OPFLAG can be used to specify the transfer mode as:

        0 - REPLACE with new value (default)
        1 - OR new value with old
        2 - XOR new value with old
        3 - AND new value with old
        4 - ADD new value to old

Note: If the DATA variable is specified to auto-increment (e.g. buf++) its pointer is incremented by the size of the entire write (i.e., the entire BOXRECT rectangle).

See Also:
CIGAL Home, CIGAL Manual, RealTime List, Manual Help

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