•  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.7  v_meta_extents                                            TOS

 Name:         »Update metafile extents« - Update the size information 
               for a metafile.

 Opcode:       5 (Escape 98)

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

 Description:  The call v_meta_extents updates the size information in 
               the header of a metafile. The following apply:

                Parameter  Meaning

                handle     Workstation identifier
                min_x      Minimum X-value, and
                min_y      Minimum Y-value of the smallest bounding 
                           box (the top left corner)
                max_x      Maximum X-value, and
                max_y      Maximum Y-value of the smallest bounding 
                           box (the bottom left corner)

               Notes: The size information can be used to obtain 
               quickly the minimum or maximum dimensions of all the 
               primitives stored in the metafile.

               The parameters sent to this call should be specified in 
               whatever coordinate system the metafile is using at the 
               time.

 Return value: The function does not return a result.

 Availability: Supported by all metafile drivers.

 Group:        Metafile functions

 See Also:     Binding   GDOS   vm_filename   v_write_meta   Metafile 
               format