•  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-Filevm_pagesize()
v_meta_extents()
vm_coords()                                                             VDI

Syntax

VOID vm_coords( handle, xmin, ymin, xmax, ymax )
WORD handle, xmin, ymin, xmax, ymax;

Function      vm_coords() allows the use of variable coordinate systems
              with metafiles.

Opcode        5

Sub-Opcodes   99, 1

Availability  Supported by all metafile drivers.

Parameters    handle specifies a valid workstation handle.
              xmin and ymin specify the coordinate pair which provides
              an anchor for the upper-left point of the coordinate system.
              xmax and ymax specify the coordinate pair which provides
              an anchor for the lower-right point of the coordinate system.

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

              intin[0] = 1;
              intin[1] = xmin;
              intin[2] = ymin;
              intin[3] = xmax;
              intin[4] = ymax;

              vdi();

Comments      Use of this function allows the use of practically any
              coordinate system with a limit of ( -32768, -32768 ), (
              32767, 32767 ). Metafiles default to a coordinate space of (
              0, 32767 ), ( 32767, 0 ).

See Also      vm_pagesize(), v_meta_extents()

Group         VDI Metafile Escapes