•  Back 
  •  Font selection 
  •  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-File8.20.9  fnts_get_no_styles                                         TOS

 Name:         »Font selector get number of styles« - Obtain number of 
               styles of a font family.

 Opcode:       184 (sub-opcode 0)

 Syntax:       int16_t fnts_get_no_styles ( FNT_DIALOG *fnt_dialog, 
               int32_t id );

 Description:  The call fnts_get_no_styles obtains the number of 
               styles of a font. The following apply:

                Parameter   Meaning

                fnt_dialog  Pointer to management structure
                id          ID of a font of the family

               Hint: The parameter id is the ID of a font of this 
               family, that may have been returned by fnts_evnt for 
               instance.

 Return value: This function returns the number of styles belonging to 
               the family.

 Availability: The presence of this call should be checked for using 
               appl_getinfo (Opcode 7).

 Group:        Font selection

 See Also:     Binding   fnts_get_info   fnts_get_name 
               xFSL interface