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

Syntax

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

Function      v_meta_extents() embeds placement information for
              a metafile.

Opcode        5

Sub-Opcode    98

Availability  Supported by all metafile drivers.

Parameters    handle specifies a valid workstation handle. xmin and ymin
              specify the upper left corner of the bounding box of the
              metafile. xmax and ymax specify the lower left corner.

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

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

              vdi();

Comments      Parameters sent to this call should be specified in whatever
              coordinate system the metafile is currently using.

See Also      vm_pagesize()

Group         VDI Metafile Escapes