•  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.9  v_write_meta                                              TOS

 Name:         »Write metafile item« - Write an object to a metafile.

 Opcode:       5 (Escape 99)

 Syntax:       void v_write_meta ( int16_t handle, int16_t num_intin, 
               int16_t *a_intin, int16_t num_ptsin, int16_t *a_ptsin 
               );

 Description:  The call v_write_meta permits the marking of a 
               parameter written to a metafile with an opcode as a 
               user-defined graphic object. The following apply:

                Parameter             Meaning

                handle                Workstation identifier
                num_intin             Number of values in intin array 
                                      (0 - 127)
                num_ptsin             Number of values in ptsin 
                                      array(0 - 127)
                a_intin[0]            Sub-opcode (user-defined)
                a_intin[1]
                :
                :
                a_intin[num_intin-1]  User-defined information
                a_ptsin[0]
                :
                :
                a_ptsin[num_ptsin-1]  User-defined information

               Note: Sub-opcodes 0 to 100 are reserved; some have been 
               pre-defined:

                a_intin  Meaning 
                10       Start group 
                11       End group 
                49       Set no line style 
                50       Set attribute shadow on 
                51       Set attribute shadow off 
                80       Start draw area type primitive 
                81       End draw area type primitive 

 Return value: The function does not return a result.

 Availability: Supported by all metafile drivers.

 Group:        Metafile functions

 See Also:     Binding   GDOS   v_meta_extents   Metafile format 
               sub-opcodes