•  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-Filevsf_color()
vsf_style()
vsf_interior()
vsf_udpat()
vsf_perimeter()
v_pieslice()                                                            VDI

Syntax

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

Function      v_pieslice() outputs a filled pie segment.

Opcode        11

Sub-Opcode    3

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. x and y specify
              the center of a circlular segment of radius radius which is
              drawn between the angles of startangle and endangle
              (specified in tenths of degrees - legal values illustrated
              below) and connected to the center point.

index=1022
Binding contrl[0] = 11; contrl[1] = 4; contrl[3] = 2; contrl[5] = 3; contrl[6] = handle; ptsin[0] = x; ptsin[1] = y; ptsin[2] = ptsin[3] = ptsin[4] = ptsin[5] = 0 ptsin[6] = radius; ptsin[7] = 0; intin[0] = startangle; intin[1] = endangle; vdi(); See Also vsf_color(), vsf_style(), vsf_interior(), vsf_udpat(), vsf_perimeter() Group VDI Output