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

Syntax

VOID v_fillarea( handle, count, pxy)
WORD handle, count;
WORD *pxy;

Function      v_fillarea() outputs a filled polygon.

Opcode        9

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle. count specifies
              the number of vertices in the polygon to output. pxy should
              point to an array of coordinate pairs with the first WORD
              being the first X point, the second WORD being the first Y
              point and so on.

Binding       WORD i;

              contrl[0] = 9;
              contrl[1] = count;
              contrl[3] = 0;
              contrl[6] = handle;

              for(i = 0;i < count*2;i++)
               ptsin[i] = pxy[i];

              vdi();

Comments      This function will automatically connect the first point
              with the last point.

See Also      v_pline(), v_contourfill()

Group         VDI Output