1get_font_range_begin(3)         Allegro manual         get_font_range_begin(3)
2
3
4

NAME

6       get_font_range_begin  -  Returns  the  start  of a character range in a
7       font. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int get_font_range_begin(FONT *f, int range)
14

DESCRIPTION

16       This function allows you to find out the start of a specific  character
17       range for a font. You can pass -1 for the `range' parameter if you want
18       to know the start of the whole font range, or a number from 0  to  (but
19       not  including) get_font_ranges(f) to get the start of a specific char‐
20       acter range in the font. Example:
21
22          printf("The font has a character range of %d - %d\n",
23                 get_font_range_begin(font, -1),
24                 get_font_range_end(font, -1));
25

RETURN VALUE

27       Returns the first character in the font range, or -1 if  that  informa‐
28       tion is not available.
29
30

SEE ALSO

32       get_font_ranges(3), get_font_range_end(3), transpose_font(3)
33
34
35
36Allegro                          version 4.4.3         get_font_range_begin(3)
Impressum