•  Back 
  •  VDI Metafile Escapes 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filev_meta_extents()
vm_pagesize()                                                           VDI

Syntax

VOID vm_pagesize( handle, pwidth, pheight )
WORD handle, pwidth, pheight;

Function      vm_pagesize() specifys a metafile's source page size.

Opcode        5

Sub-Opcodes   99, 0

Availability  Supported by all metafile drivers.

Parameters    handle specifies a valid workstation handle.
              pwidth specifies the width of the page which the metafile
              was originally placed on in tenths of a millimeter.
              pheight specifies the height of the page which the metafile
              was originally placed on in tenths of a millimeter.

Binding       contrl[0] = 5;
              contrl[1] = 0;
              contrl[3] = 3;
              contrl[5] = 99;
              contrl[6] = handle;

              intin[0] = 0;
              intin[1] = pwidth;
              intin[2] = pheight;

              vdi();

Comments      A metafile originally designed on an 8.5" x 11" page would
              have a pwidth value of 2159 and a pheight value of 2794.

See Also      v_meta_extents()

Group         VDI Metafile Escapes