•  Back 
  •  Metafile functions 
  •  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.8.3.8  Bindings for v_meta_extents                               TOS

 C:          void v_meta_extents ( int16_t handle, int16_t min_x, 
             int16_t min_y, int16_t max_x, int16_t max_y );

 Binding:

             void v_meta_extents (int16_t handle, int16_t min_x,
                                  int16_t min_y, int16_t max_x, int16_t max_y)
             {
                ptsin[0] = min_x;
                ptsin[1] = min_y;
                ptsin[2] = max_x;
                ptsin[3] = max_y;
 
                contrl[0] = 5;
                contrl[1] = 2;
                contrl[3] = 0;
                contrl[5] = 98;
                contrl[6] = handle;
 
                vdi ();
             }

 GEM-Arrays:

              Address    Element    Contents 
              contrl     contrl[0]  5     # Function opcode 
              contrl+2   contrl[1]  2     # Entry in ptsin 
              contrl+4   contrl[2]  0     # Entry in ptsout 
              contrl+6   contrl[3]  0     # Entry in intin 
              contrl+8   contrl[4]  0     # Entry in intout 
              contrl+10  contrl[5]  98    # Escape/Sub-opcode 
              contrl+12  contrl[6]  handle 
              ptsin      ptsin[0]   min_x 
              ptsin+2    ptsin[1]   min_y 
              ptsin+4    ptsin[2]   max_x 
              ptsin+6    ptsin[3]   max_y