•  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-Filevsm_type()
vsm_height()
vsm_color()
v_pmarker()                                                             VDI

Syntax

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

Function      v_pmarker() outputs one or several markers.

Opcode        7

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation. count specifies the
              number of markers to plot. pxy points to a WORD array with
              (count * 2) elements containing the vertices of the markers
              to plot as in ( X1, Y1 ), ( X2, Y2 ), etc...

Binding       WORD i;

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

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

              vdi();

Comments      Single points may be plotted quickly with this function when
              the proper marker type is selected with vsm_type().

See Also      vsm_type(), vsm_height(), vsm_color()

Group         VDI Output