•  Back 
  •  VDI Inquire 
  •  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-Filevqm_attributes()
vqt_attributes()
vqf_attributes()
vql_attributes()                                                        VDI

Syntax

VOID vql_attributes( handle, attr )
WORD handle;
WORD *attr;

Function      vql_attributes() returns information regarding current
              settings which affects line drawing functions.

Opcode        35

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle. attr is an array
              of 6 WORDs which describe the current parameters for line
              drawing as follows:

              attr[x]    Meaning

                0        Line type (see vsl_type() ).

                1        Line color (see vsl_color() ).

                2        Writing mode (see vswr_mode() ).

                3        End style for start of lines (see vsl_ends() ).

                4        End style for end of lines (see vsl_ends() ).

                5        Current line width (see vsl_width() ).

Binding       contrl[0] = 35;
              contrl[1] = contrl[3] = 0;
              contrl[6] = handle;

              vdi();

              attr[0] = intout[0];
              attr[1] = intout[1];
              attr[2] = intout[2];
              attr[3] = intout[3];
              attr[4] = intout[4];
              attr[5] = intout[5];

See Also      vqm_attributes(), vqt_attributes(), vqf_attributes()

Group         VDI Inquire