•  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.5  vm_pagesize                                               TOS

 Name:         »VDI page size« - Set the physical page size for 
               metafiles.

 Opcode:       5 (Escape 99, Opcode 0)

 Syntax:       void vm_pagesize ( int16_t handle, int16_t pgwidth, 
               int16_t pgheight );

 Description:  The call vm_pagesize sets the metafile's source page 
               size in 1/10 mm. The following apply:

                Parameter  Meaning

                handle     Workstation identifier
                pgwidth    Page width in 1/10 mm
                pgheight   Page height in 1/10 mm

               Note: As the width and height of a page may be set 
               separately, it is also possible to create graphics in 
               landscape format (width greater than the height).

 Return value: The function does not return a result.

 Availability: Supported by all metafile drivers.

 Group:        Metafile functions

 See Also:     Binding   v_write_meta   Metafile format   sub-opcodes