ScrRectShift Function (ROM Call 0x18C)

graph.h

void ScrRectShift (const SCR_RECT *rect, const SCR_RECT *clip, short NumCols, short Attr);

Shifts a rectangular area left or right.

ScrRectShift shifts a rectangular area which is an intersection of two rectangular areas given using two SCR_RECT structures rect and clip left by NumRows pixels (or right if NumRows < 0). The attribute Attr determines what happens with pixels in a vacant space produced after shifting. For more info, see ScrRectScroll command.


Uses: BitmapGet, BitmapPut, ScrRectFill, memmove, TIOS_abs
Used by: WinScrollH