COPY(3G) —
NAME
VI_Copy − copy an area
SYNOPSIS
VI_Copy(sx,sy,tx,ty,wd,ht,merge)
int sx,sy;/∗ source top-left ∗/
int tx,ty;/∗ target top-left ∗/
int wd,ht;/∗ rectangle dimensions ∗/
int merge;/∗ merge mode ∗/
DESCRIPTION
VI_Copy duplicates the rectangle at sx,sy with the dimensions wd,ht to the point tx,ty. The copied bits are merged with the target area using the specified merge mode, not the merge mode set by merge(3G). See merge(3G) for a description of merge modes.
Both the source and destination rectangles must be completely on the screen. The current setting of the clipping window is ignored.
NOTE
VI_Copy applies only to the IBM Academic Information Systems experimental display.
VI_Copy cannot copy an area onto itself with a mode change, e.g. for highlighting. A fast way to highlight is to use VI_Merge with XOR mode and VI_Tile.
SEE ALSO
merge (3G)
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — 30 Sep 1985