•  Back 
  •  VDI structures 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.13.10  pxyarray                                                  TOS

pxyarray is used in VDI to depict various graphical objects based on 
several coordinate pairs (x,y). Examples for the use of a pxyarray are 
for the depiction of rectangles:

 pxyarray[0]  X-coordinate of the top left corner point 
 pxyarray[1]  Y-coordinate of the top left corner point 
 pxyarray[2]  X-coordinate of the bottom right corner point 
 pxyarray[3]  Y-coordinate of the bottom right corner point 

Or generally, for n point-pairs:

 pxyarray[0]        X-coordinate of the first point-pair 
 pxyarray[1]        Y-coordinate of the first point-pair 
 pxyarray[2]        X-coordinate of the second point-pair 
 pxyarray[3]        Y-coordinate of the second point-pair 
 : 
 : 
 : 
 pxyarray[2*n - 2]  X-coordinate of the n-th point-pair 
 pxyarray[2*n - 1]  Y-coordinate of the n-th point-pair 

See Also: About the VDI   VDI bindings