| GPQXAF (wsid, csid, font, start, num, errind, prec, nomh, nahsf, lahsf, lnfac, lmnfac, lmxfac, proportional, top, bottom, nomaspect) | 
Note:
This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"
Purpose
Use GPQXAF to inquire the annotation text capabilities for the requested character set and font on the specified workstation.
This information consists of the highest text precision for this csid/ font that is supported by the specified workstation ( prec), the nominal character height in Device Coordinates (DC) (nomh), the number of supported annotation height scale factors (nahsf), a list indicating the exact supported height scale factors ( lahsf), and the number of character expansion factors (lnfac), minimum expansion (lmnfac) and maximum ( lmxfac) expansion factors corresponding to each height scale factor, whether the font is fixed or proportional (proportional), and ratios describing the character box ( top, bottom, and nomaspect)
If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the error indicator is 543 (the start value exceeds the extent of the available data), then only the total number (totnum) parameter is set. If the inquired information is unavailable, then the error indicator (errind) contains an error number indicating the reason, and the values returned in the output parameters are unpredictable.
Annotation text capabilities are defined in terms of the following character box description:
 
 
      <------ width ------> 
      
      ---------------------- <--- top line
      |                    |
      |                    |          
      | - - - - - - - - - -| <--- cap line
      |                    |   ^ 
      |                    |   | height
      |                    |   |
      |                    |   |  
      |                    |   v       
      |- - - - - - - - - - | <--- base line
      |                    |
      |                    |
      ---------------------- <--- bottom line
Height is defined as the distance between the base line and
the cap line.
Note:
The definition of height is different from that used by the Inquire Annotation Font Characteristics (GPQAFC) subroutine.
Parameters
Note:
The four output arrays must be large enough to hold the requested number of elements.
Note: This list has one entry for each annotation size supported. Its length is determined by the nahsf field except when that contains 0. In this case, there are two entries in this list. The first entry contains information for the minimum annotation height scale factor. The second contains information for the maximum.
Note: The length of this list is determined by the nahsf field except when that contains 0. In this case, there are two entries in this list. The first entry contains information for the minimum annotation height scale factor. The second contains information for the maximum.
Note: The length of this list is determined by the nahsf field except when that contains 0. In this case, there are two entries in this list. The first entry contains information for the minimum annotation height scale factor. The second contains information for the maximum.
Note: The expansion factor is computed as follows: expf = (W/H) / nomaspect where 'W' and 'H' are the width and the height for that font.
Note:
For devices which support all possible expansion factors, this parameter contains a very large positive number (e.g. 9.9 [default] 10 (30))
Note: The length of this list is determined by the nahsf field except when this contains 0. In this case, there are two entries in this list. The first entry contains information for the minimum annotation height scale factor. The second contains information for the maximum.
Note: The expansion factor is computed as follows: expf = (W/H) / nomaspect where 'W' and 'H' are the width and height for that font.
Error Codes
None
Related Subroutines
RCP code
201336591 ( X'0C00270F')