•  Back 
  •  VDI Output 
  •  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_rfbox()
v_bar()
vsl_type()
vsl_color()
vsl_udsty()
vsl_ends()
v_rbox()                                                                VDI

Syntax

VOID v_rbox( handle, pxy )
WORD handle;
WORD *pxy;

Function      v_rbox() outputs a rounded box (not filled).

Opcode        11

Sub-Opcode    8

Availability  Supported by all drivers. This function composes one of the
              10 VDI GDP's (Generalized Drawing Primitives). Although all
              current drivers support all GDP's, their availability is
              not guaranteed and may vary. To check for a particular GDP
              refer to the table returned by v_opnvwk() or v_opnwk().

Parameters    handle specifies a valid workstation handle. pxy points to
              an array of 4 WORDs containing the VDI format rectangle of
              the rounded box to output.

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

              ptsin[0] = pxy[0];
              ptsin[1] = pxy[1];
              ptsin[2] = pxy[2];
              ptsin[3] = pxy[3];

              vdi();

Caveats       There is no way to define to size of the 'roundness' of the
              corners.

See Also      vsl_type(), vsl_color(), vsl_udsty(), vsl_ends()

Group         VDI Output