User Tools

Site Tools


jvs:cigal:manual:chapter6:r_bmove

CIGAL Reference Manual, Chapter 6 (RealTime): r_bmove

r_bmove -- Move a screen rectangle by an X-Y offset

usage: r_bmove opflg eflag ltime Point Box Nsteps DeltaT

R_BMOVE is a REALTIME operator. It moves a rectangular region of the screen image by X and Y offsets specified by POINT (a short integer array with 2 elements, which are interpreted as deltaX and deltaY). The size and position of the starting region are specified by the BOX argument (a short integer array specifying 4 values: left, top, right, bottom). Regions no longer occupied by the rectangle are filled with the current background color (see R_COLOR(6)). The values within the BOX array are updated to reflect the new position of the rectangle.

If NSTEPS is specified, the rectangle can be moved to many different positions with a single R_BMOVE operation. NSTEPS specifies the number of steps in the motion and DELTAT is the time interval (in 20 um clock ticks) between each step. If the POINT argument is autoindexed (i.e., point++) a new POINT (deltax, deltay) pair will be used for each step, allowing nonuniform motion.

See Also:
R_BPUT, R_BSET, R_BDRAW, R_MOVEPT

CIGAL Home, CIGAL Manual, RealTime List, Manual Help

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