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

Syntax

VOID v_arc( handle, x, y, radius, startangle, endangle )
WORD handle, x, y, radius, startangle, endangle;

Function      v_arc() outputs an arc to the specified workstation.

Opcode        11

Sub-Opcode    2

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 is a valid workstation handle. x and y specify the
              center of an arc with a radius of radius and starting and
              ending angles of startangle and endangle specified in tenths
              of degrees as follows:

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

              intin[0] = startangle;
              intin[1] = endangle;

              ptsin[0] = x;
              ptsin[1] = y;
              ptsin[2] = ptsin[3] = ptsin[4] = ptsin[5] = 0;
              ptsin[6] = radius;
              ptsin[7] = 0;

              vdi();

See Also      vsl_color()

Group         VDI Output