TILE(3G) —
NAME
VI_Tile − tile a rectangle
SYNOPSIS
VI_Tile(wd,ht,twd,tht,tile)
int wd,ht;/∗ dimensions of rectangle ∗/
int twd,tht;/∗ dimensions of tile ∗/
unsigned short ∗tile;/∗ first byte of pattern ∗/
DESCRIPTION
VI_Tile fills a rectangle of the specified dimensions with the specified pattern. The rectangle’s top left corner will be at the current point. The tile pattern must follow the rules for images as explained in image(3G), and can be of any size. The tile pattern is aligned to multiples of twd and tht, not to the bounds of the tiled rectangle, so that rectangular subareas of larger figures can be tiled without regard to their bounds, and the tile patterns will match. The current point is unchanged.
A full rectangle black or white fill can be most quickly drawn by requesting a one-by-one tile. Clearly, only all ON or all OFF may be drawn with this method, but any merge mode may be used.
NOTE
VI_Tile applies only to the IBM Academic Information Systems experimental display.
SEE ALSO
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — 30 Sep 1985