•  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_interior()
vsf_style()
vsf_color()
vsf_perimeter()
vsf_udpat()
v_bar()                                                                 VDI

Syntax

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

Function      v_bar() outputs a filled rectangle to the specified
              workstation.

Opcode        11

Sub-Opcode    1

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. pxy points to an array
              of four WORDs specifying a VDI format rectangle to output.

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

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

              vdi();

Comments      This function, as opposed to vr_recfl(), does take the
              setting of vsf_perimeter() into consideration.

See Also      vsf_interior(), vsf_style(), vsf_color(), vsf_perimeter(),
              vsf_udpat()

Group         VDI Output