1vga_addtiming(3)              Svgalib User Manual             vga_addtiming(3)
2
3
4

NAME

6       vga_guesstiming - calculate a timing line for the given resolution
7

SYNOPSIS

9       #include <vga.h>
10
11       int vga_guesstiming(int x, int y, int clue, int arg);
12
13

DESCRIPTION

15       Calculates  a  timing line for a x*y resolution, according to the value
16       of clue.
17
18

CALCULATION METHODS

20       If clue is 0, then the aspect ratio for the requested mode ( x:y ) must
21       be  4:3.  A  mode  with the same aspect ratio closest to the requested,
22       while still having a higher resolution is found, and then  scaled  down
23       to the requested mode.
24
25       If clue is 1, then the aspect ratio for the requested mode ( x:y ) must
26       be 4:3. A mode with the same aspect ratio  closest  to  the  requested,
27       while still having a lower resolution is found, and then scaled down to
28       the requested mode.
29
30

BUGS

32       No guarantee that a modeline will be created, or that a  created  mode‐
33       line will be usefull is given.
34
35

SEE ALSO

37       vga_addmode(3) vga_addtiming(3) addmodetest(6)
38
39

AUTHOR

41       This manual page was written by Matan Ziv-Av
42
43
44
45Svgalib (>= 1.4.0)               7 April 1999                 vga_addtiming(3)
Impressum