•  Back 
  •  Inquire functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.6.29  vqt_attributes                                             TOS

 Name:         »Inquire current graphic text attributes« - Obtain the 
               attributes for the writing of texts.

 Opcode:       38

 Syntax:       void vqt_attributes ( int16_t handle, int16_t *attrib 
               );

 Description:  The call vqt_attributes obtains the current text 
               attributes. The following apply:

                Parameter Meaning

                handle    Workstation identifier
                attrib[0] Font ID
                attrib[1] Text colour index
                attrib[2] Text rotation in 1/10 of a degree
                attrib[3] Horizontal alignment:
                           0 =     Flushed left
                           1 =     Centered
                           2 =     Flushed right
                attrib[4] Vertical alignment:
                           0 =     Baseline
                           1 =     Half line
                           2 =     Ascent line
                           3 =     Bottom line
                           4 =     Descent line
                           5 =     Top line
                attrib[5] Writing mode:
                          Some version of the ATARI-VDI wrongly return 
                          the writing mod as - 1
                attrib[6] Character width
                attrib[7] Character height
                attrib[8] Character cell width
                attrib[9] Character cell height

 Return value: The function does not return a result.

 Availability: Supported by all drivers.

 Group:        Inquire functions

 See Also:     Binding   vswr_mode   vs_color   vst_height   vst_point 
                 vst_rotation   vst_font   vst_color   vst_effects 
               vst_alignment